From gustav at cactus.dk Fri Oct 1 04:32:46 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Oct 2004 11:32:46 +0200 Subject: [AccessD] date query In-Reply-To: <008701c4a736$51891f30$f3c581d5@pedro> References: <000c01c4a27d$9b424600$f9c581d5@pedro> <691989590.20040925091522@cactus.dk> <008701c4a736$51891f30$f3c581d5@pedro> Message-ID: <49180140.20041001113246@cactus.dk> Hi Pedro > Gustav, sometimes i don't trust myself > to show a query that isn't working. > Because i expect that the solution is simple, > i sometimes think "what do the other members > of the group will think of such an easy question". That's a bad excuse. No one is pointing fingers here - it's simply not the spirit of the list. Contrary, sometimes you (anyone) can be blind for the obvious fix which new eyes may catch in a few seconds. /gustav From ssharkins at bellsouth.net Fri Oct 1 06:33:27 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 1 Oct 2004 07:33:27 -0400 Subject: [AccessD] date query In-Reply-To: <49180140.20041001113246@cactus.dk> Message-ID: <20041001113328.RIJU1790.imf18aec.mail.bellsouth.net@SUSANONE> Contrary, sometimes you (anyone) can be blind for the obvious fix which new eyes may catch in a few seconds. =============My routine is to ask the question and bingo -- light goes on. There's something about phrasing the problem as a question that seems to trigger something in my brain. And if you could only see the number of SQL statements with a misplaced " or & -- you'd know Gustav speaks the truth. ;) Susan H. From bheygood at abestsystems.com Fri Oct 1 09:37:11 2004 From: bheygood at abestsystems.com (Bob Heygood) Date: Fri, 1 Oct 2004 07:37:11 -0700 Subject: [AccessD] Access - Advantage - Mediwin In-Reply-To: <49180140.20041001113246@cactus.dk> Message-ID: hello to the list, I created an app years ago that interfaced with the client's medical practice software. The software is Mediwin, which uses the Advantage db engine. After an upgrade to the Mediwin version, my ODBC calls fail for "Can't lock all records" message from Jet. Some pursuit of the ODBC help indicates that a network failure could also be an issue. And sure enough, they had the network guy in about the same time. Very odd that I can still link to the table of interest sometimes and even export to Excel, but can't open the table in datasheet view nor successfully run any of my code. Naturally, no one thought to let me know that the upgrade was happening. And I am concerned that the vendor of the Mediwin software is not being helpful because they would love to recreate most of my work themselves. And of course, the client is now 10 days behind in sending out correspondence that should have been done automatically from my program thru Word.... So, any insight/comments on ODBC, Advantage, Mediwin or a comforting word would be appreciated. best, bob accesspro at nospamcox.net From michael.mattys at adelphia.net Fri Oct 1 10:35:31 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 1 Oct 2004 11:35:31 -0400 Subject: [AccessD] Access - Advantage - Mediwin References: Message-ID: <060101c4a7cc$4a5555d0$6401a8c0@default> ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Friday, October 01, 2004 10:37 AM Subject: [AccessD] Access - Advantage - Mediwin > hello to the list, > I created an app years ago that interfaced with the client's medical > practice software. > The software is Mediwin, which uses the Advantage db engine. > After an upgrade to the Mediwin version, my ODBC calls fail for "Can't lock > all records" message from Jet. Some pursuit of the ODBC help indicates that > a network failure could also be an issue. And sure enough, they had the > network guy in about the same time. > Very odd that I can still link to the table of interest sometimes and even > export to Excel, but can't open the table in datasheet view nor successfully > run any of my code. Bob, I am working with another medical practice software called DME VI (formerly Dezine) whose creators have decided to make their own data definition files and ODBC drivers to prevent linking to their tables without paying first. I wouldn't be surprised if this has/will become a standard practice in the medical software industry. You may want to check if that's the wall you've run into. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From kwilliam at ashlandnet.com Fri Oct 1 10:28:20 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 11:28:20 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 From carbonnb at gmail.com Fri Oct 1 10:55:01 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 1 Oct 2004 11:55:01 -0400 Subject: [AccessD] Publishing Application In-Reply-To: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> References: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> Message-ID: On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way to > publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Jim.Hale at FleetPride.com Fri Oct 1 11:02:50 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 1 Oct 2004 11:02:50 -0500 Subject: [AccessD] Access - Advantage - Mediwin Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF76@corp-es01.fleetpride.com> I recall a similar problem several years with an ODBC driver that interfaced with a package that used Foxpro. When the package was updated the driver quite working. The solution was to get an updated ODBC driver. HTH Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, October 01, 2004 9:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access - Advantage - Mediwin hello to the list, I created an app years ago that interfaced with the client's medical practice software. The software is Mediwin, which uses the Advantage db engine. After an upgrade to the Mediwin version, my ODBC calls fail for "Can't lock all records" message from Jet. Some pursuit of the ODBC help indicates that a network failure could also be an issue. And sure enough, they had the network guy in about the same time. Very odd that I can still link to the table of interest sometimes and even export to Excel, but can't open the table in datasheet view nor successfully run any of my code. Naturally, no one thought to let me know that the upgrade was happening. And I am concerned that the vendor of the Mediwin software is not being helpful because they would love to recreate most of my work themselves. And of course, the client is now 10 days behind in sending out correspondence that should have been done automatically from my program thru Word.... So, any insight/comments on ODBC, Advantage, Mediwin or a comforting word would be appreciated. best, bob accesspro at nospamcox.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Fri Oct 1 11:06:12 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 1 Oct 2004 12:06:12 -0400 Subject: [AccessD] Publishing Application In-Reply-To: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> Message-ID: <000e01c4a7d0$92a8d1f0$060aa845@hargrove.internal> Yes. You need to include the Access Runtime files with your application. If you have a copy of Office Developer Edition, these files will automatically be included if you use the Package and Deployment Add-In. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 11:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Publishing Application Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Fri Oct 1 12:12:54 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 13:12:54 -0400 Subject: [AccessD] Publishing Application In-Reply-To: <000e01c4a7d0$92a8d1f0$060aa845@hargrove.internal> Message-ID: <000001c4a7d9$e3feb980$64aba8c0@ashlandnet.com> I guess...if you don't have Developer Edition....out of luck, huh? Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 01, 2004 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Yes. You need to include the Access Runtime files with your application. If you have a copy of Office Developer Edition, these files will automatically be included if you use the Package and Deployment Add-In. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 11:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Publishing Application Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Fri Oct 1 12:12:54 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 13:12:54 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <000101c4a7d9$e43755b0$64aba8c0@ashlandnet.com> Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 1 12:39:41 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 1 Oct 2004 13:39:41 -0400 Subject: [AccessD] Publishing Application Message-ID: It does do some .dll dancing. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 1 13:17:30 2004 From: john at winhaven.net (John Bartow) Date: Fri, 1 Oct 2004 13:17:30 -0500 Subject: [AccessD] Publishing Application In-Reply-To: <000101c4a7d9$e43755b0$64aba8c0@ashlandnet.com> Message-ID: Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 1 13:41:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Oct 2004 20:41:36 +0200 Subject: [AccessD] MsgBox, global setting for Title Message-ID: <2542110181.20041001204136@cactus.dk> Hi all Can you somehow set a global string for Title of MsgBox so you don't have to set it each and everywhere? I faintly recall this can be done ... but how? /gustav From kwilliam at ashlandnet.com Fri Oct 1 13:44:14 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 14:44:14 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <000001c4a7e6$a7273de0$64aba8c0@ashlandnet.com> Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 1 14:01:45 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 1 Oct 2004 15:01:45 -0400 Subject: [AccessD] MsgBox, global setting for Title Message-ID: In a function? MsgBox cstrMessage, vbInformation, cstrTitle Const cstrMessage As String = _ "You are not authorized to open this form." Const cstrTitle As String = _ "Restricted Form" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2004 2:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] MsgBox, global setting for Title Hi all Can you somehow set a global string for Title of MsgBox so you don't have to set it each and everywhere? I faintly recall this can be done ... but how? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 1 14:08:36 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 1 Oct 2004 15:08:36 -0400 Subject: [AccessD] Publishing Application Message-ID: So while we are on the subject, sort of, that last time I used a front end updater it was the Ted Avery version. Is there an up to date version for XP or another alternative out there? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 2:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Fri Oct 1 15:28:27 2004 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 1 Oct 2004 15:28:27 -0500 Subject: [AccessD] Publishing Application In-Reply-To: <000001c4a7e6$a7273de0$64aba8c0@ashlandnet.com> Message-ID: In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Oct 1 13:59:39 2004 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 1 Oct 2004 20:59:39 +0200 Subject: [AccessD] date query References: <20041001113328.RIJU1790.imf18aec.mail.bellsouth.net@SUSANONE> Message-ID: <000001c4a7fe$694d1e50$f4c581d5@pedro> Hello Gustav and Susan, i didn't want to offend anyone. Its not that i believe that people of the list will point fingers. Its more that i sometimes don't trust myself in this list, by showing examples. I know this is a bad excuse. I will to do better in the future. Greetings Pedro Janssen ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 01, 2004 1:33 PM Subject: RE: [AccessD] date query > > Contrary, sometimes you (anyone) can be blind for the obvious fix which new > eyes may catch in a few seconds. > > =============My routine is to ask the question and bingo -- light goes on. > There's something about phrasing the problem as a question that seems to > trigger something in my brain. And if you could only see the number of SQL > statements with a misplaced " or & -- you'd know Gustav speaks the truth. ;) > > > Susan H. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Oct 1 17:21:21 2004 From: john at winhaven.net (John Bartow) Date: Fri, 1 Oct 2004 17:21:21 -0500 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:39:09 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:39:09 -0700 Subject: [AccessD] Publishing Application Message-ID: It isn't the runtime folder that causes the problems using the PD wizard, it's the fact that it blindly updates dlls, whether or not it should. If you're developing on the same platform and against the same versions that exist on the target machines, you're OK, but it they're running Office 97 and you're installing runtime 2002, you can run into headaches unless you use one of the more intelligent installers. Charlotte Foust -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Friday, October 01, 2004 1:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:40:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:40:59 -0700 Subject: [AccessD] MsgBox, global setting for Title Message-ID: It picks up the AppTitle property as the default. So if your AppTitle isn't set, you get Microsoft Access as the msgbox title unless you override it with a title string argument. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 01, 2004 11:42 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MsgBox, global setting for Title Hi all Can you somehow set a global string for Title of MsgBox so you don't have to set it each and everywhere? I faintly recall this can be done ... but how? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:42:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:42:59 -0700 Subject: [AccessD] Publishing Application Message-ID: That is correct up through Office 2002. You have to have the developer *tools* in order to distribute a runtime. Otherwise, you have no license to do so. Charlotte Foust -----Original Message----- From: Keith Williamson [mailto:kwilliam at ashlandnet.com] Sent: Friday, October 01, 2004 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application I guess...if you don't have Developer Edition....out of luck, huh? Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 01, 2004 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Yes. You need to include the Access Runtime files with your application. If you have a copy of Office Developer Edition, these files will automatically be included if you use the Package and Deployment Add-In. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 11:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Publishing Application Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:45:02 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:45:02 -0700 Subject: [AccessD] Publishing Application Message-ID: The only time they run into problems is if they *don't* use a desktop shortcut to open the application. They need a shortcut that points to the runtime executable as well as to the database it should open. There is no actual "interference" between the runtime and an installed version, but you can't necessarily mix and match. Charlotte Foust -----Original Message----- From: Keith Williamson [mailto:kwilliam at ashlandnet.com] Sent: Friday, October 01, 2004 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Fri Oct 1 18:38:17 2004 From: greggs at msn.com (Gregg) Date: Fri, 1 Oct 2004 18:38:17 -0500 Subject: [AccessD] BE Compact, Backup, and Server Restart In-Reply-To: <40ADBB12.11214.50EE316@localhost> Message-ID: We have developed a VB program that will (1) compact an Access Database using Jet Comp, (2) optionally saves a copy, and (3) optionally restart the system. We put it in our customer's server task scheduler to restart the server, compact the BE, and save a copy. Anyone interested in using it... enjoy. We would love to have some feedback. http://highimpactsolutions.com/shareware/Default.htm Below are the technical details. This program is designed to run from a command line. The purpose is to compact an Access database using the JETCOMP.EXE command line arguments with the addition of -b:{fullpath to backup location} and -r for rebooting the PC. If the -dest: argument is not found the database will be compacted to the -src: location. C:\PROGRA~1\HISCOMP\HISCOMP.EXE -src:"c:\mydb.mdb" -v4 -r would compact a database to its original location and reboot the machine. For a list of command line arguments run C:\PROGRA~1\HISCOMP\JETCOMP.exe /? Gregg Steinbrenner High Impact Solutions 972-223-4559 From Developer at UltraDNT.com Fri Oct 1 19:55:59 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 1 Oct 2004 20:55:59 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <000901c4a81a$9550c0d0$0200a8c0@COA3> Is that a variation of "will it play in Peoria?" I have seen Access RT's from 2.0 forward on OS's from 95 on in all its variations, and it is damn-near flawless when there is no previous Office installation. *However* - if there is another Access version on the PC, or might be in the future, use a 3rd party install tool. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Fri Oct 1 22:03:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 1 Oct 2004 23:03:43 -0400 Subject: [AccessD] date query In-Reply-To: <000001c4a7fe$694d1e50$f4c581d5@pedro> Message-ID: <20041002030343.GPUD1789.imf25aec.mail.bellsouth.net@SUSANONE> Whatever you're comfortable with. :) Susan H. Hello Gustav and Susan, i didn't want to offend anyone. Its not that i believe that people of the list will point fingers. Its more that i sometimes don't trust myself in this list, by showing examples. I know this is a bad excuse. I will to do better in the future. From gustav at cactus.dk Sat Oct 2 04:53:32 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 11:53:32 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: References: Message-ID: <1586931456.20041002115332@cactus.dk> Hi Karen Thanks Karen. That's similar to what I'm using now. I was looking for an application wide built in setting. /gustav > In a function? > MsgBox cstrMessage, vbInformation, cstrTitle > Const cstrMessage As String = _ > "You are not authorized to open this form." > Const cstrTitle As String = _ > "Restricted Form" > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, October 01, 2004 2:42 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] MsgBox, global setting for Title > Hi all > Can you somehow set a global string for Title of MsgBox so you don't > have to set it each and everywhere? > I faintly recall this can be done ... but how? From gustav at cactus.dk Sat Oct 2 04:58:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 11:58:44 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: References: Message-ID: <827243435.20041002115844@cactus.dk> Hi Charlotte Thanks. The only problem is that it doesn't work ... In the debug window: ? Currentdb.Properties("AppTitle").Value MyTitle Still, the title of a messagebox: Msgbox "Test" is "Microsoft Access" and not "MyTitle". I have done a title bar refresh and even a relaunch with no luck. What am I missing? /gustav > It picks up the AppTitle property as the default. So if your AppTitle > isn't set, you get Microsoft Access as the msgbox title unless you > override it with a title string argument. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, October 01, 2004 11:42 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] MsgBox, global setting for Title > Hi all > Can you somehow set a global string for Title of MsgBox so you don't > have to set it each and everywhere? > I faintly recall this can be done ... but how? From gustav at cactus.dk Sat Oct 2 05:28:05 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 12:28:05 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: <827243435.20041002115844@cactus.dk> References: <827243435.20041002115844@cactus.dk> Message-ID: <639004247.20041002122805@cactus.dk> Hi Charlotte et all This property didn't exist if this is what you are referring to: CurrentProject.Properties("AppTitle") But adding it and setting its value to "MyTitle" doesn't make any difference to the default MsgBox title. /gustav > Hi Charlotte > Thanks. The only problem is that it doesn't work ... > In the debug window: > ? Currentdb.Properties("AppTitle").Value > MyTitle > Still, the title of a messagebox: > Msgbox "Test" > is "Microsoft Access" and not "MyTitle". > I have done a title bar refresh and even a relaunch with no luck. > What am I missing? > /gustav >> It picks up the AppTitle property as the default. So if your AppTitle >> isn't set, you get Microsoft Access as the msgbox title unless you >> override it with a title string argument. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Friday, October 01, 2004 11:42 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] MsgBox, global setting for Title >> Hi all >> Can you somehow set a global string for Title of MsgBox so you don't >> have to set it each and everywhere? >> I faintly recall this can be done ... but how? From gustav at cactus.dk Sat Oct 2 08:08:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 15:08:01 +0200 Subject: [AccessD] FTP class using WinINET API Message-ID: <17618599514.20041002150801@cactus.dk> Hi all For those interested in FTP transfer and classes in Access, go have a look at this month's open article in Smart Access (beware of line breaks in URL): http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod=Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C1922F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 Note: This link is valid this October only. /gustav From bchacc at san.rr.com Sat Oct 2 08:48:12 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 2 Oct 2004 06:48:12 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: <005801c4a886$75a81410$6601a8c0@HAL9002> Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From john at winhaven.net Sat Oct 2 11:21:44 2004 From: john at winhaven.net (John Bartow) Date: Sat, 2 Oct 2004 11:21:44 -0500 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <005801c4a886$75a81410$6601a8c0@HAL9002> Message-ID: Hi Rocky, It depends on a lot of things like version of Access, number of MDA, MDE, MDB, FE, BE, Active X, Add-ons, etc. I checked an small, basic A97 app with which the installation includes FE/BE, User manual/instructions(.pdf), A97 runtime, 3 MDA libraries, 2 ocx files, installation dialogs with custom graphics and options, license agreements, readme files, the scripts to install the necessary files/settings to export to text, excel, dbase, the MDAC version I want installed (which a moot point on most PCs now but better safe than sorry, adobe acrobat v6, special registry settings, self register ocx files, install some fonts/icons/shortcuts/program groups, create an uninstall file, and various other obscure things. I have compiled in a stand alone Wise/SageKey installation .exe that is useable in W95-WinXP and it is 43MB. It takes approx. 30 seconds to install if the Acrobat Reader v6 option isn't selected. The Acrobat file is an install file included within my install file and is over 15MB as is. Same with the MDAC file which is over 7MB. I chose to do it this way because I distribute the app on CD so the size just doesn't matter. If it was distributed via download I would approach it differently. Just out of curiosity I made a copy of this folder/script and stripped everything out except the FE/BE and runtime. The installation .exe was less then 10MB. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 8:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 2 12:40:30 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 02 Oct 2004 13:40:30 -0400 Subject: [AccessD] FTP class using WinINET API In-Reply-To: <17618599514.20041002150801@cactus.dk> Message-ID: <000f01c4a8a6$ed51b910$e8dafea9@ColbyM6805> How timely. I'm doing this export project to a mainframe and we have to ftp the text files to them. Thanks! John W. Colby www.ColbyConsulting.com From martyconnelly at shaw.ca Sat Oct 2 12:47:11 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 02 Oct 2004 10:47:11 -0700 Subject: [AccessD] FTP class using WinINET API References: <17618599514.20041002150801@cactus.dk> Message-ID: <415EE99F.5@shaw.ca> Interesting explanation of WinInet but just remember a lot of sites are switching to FTPS and SFTP, so you may have to hook in all the Crypto API stuff Gustav Brock wrote: >Hi all > >For those interested in FTP transfer and classes in Access, go have a >look at this month's open article in Smart Access (beware of line >breaks in URL): > >http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod=Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C1922F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 > >Note: This link is valid this October only. > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From dw-murphy at cox.net Sat Oct 2 12:56:50 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 2 Oct 2004 10:56:50 -0700 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <005801c4a886$75a81410$6601a8c0@HAL9002> Message-ID: <000001c4a8a9$31d26d30$8500a8c0@murphyf3vdfepi> Rocky, We are using Wise and Sagekey for our Access 2002 install. The installer file overhead is 40M, which includes all the MS runtime stuff. I user the Sagekey script that does not install Internet Explorer. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 6:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Oct 2 14:59:30 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 2 Oct 2004 12:59:30 -0700 Subject: [AccessD] Size of Installable with SageKey References: <000001c4a8a9$31d26d30$8500a8c0@murphyf3vdfepi> Message-ID: <00ca01c4a8ba$57193630$6601a8c0@HAL9002> Doug: Thanks. Is that a switchable option (the IE thing) or do you have to buy it like that? Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 10:56 AM Subject: RE: [AccessD] Size of Installable with SageKey > Rocky, > > We are using Wise and Sagekey for our Access 2002 install. The installer > file overhead is 40M, which includes all the MS runtime stuff. I user the > Sagekey script that does not install Internet Explorer. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable run-time > of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but > I know a lot of access stuff has to be dragged along. How big does the > installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Sat Oct 2 15:39:33 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 2 Oct 2004 13:39:33 -0700 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <00ca01c4a8ba$57193630$6601a8c0@HAL9002> Message-ID: <001c01c4a8bf$f051f760$8500a8c0@murphyf3vdfepi> The downloadable version of the scripts, the one we use, only requires IE4 which should be on any machine that our software is put on. This script does not install IE. If you use ADO library 2.6 you will need to use the CD version of the scripts and it does load IE which includes MDAC 2.6. I suspect the CD version of the scripts includes both packages. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Doug: Thanks. Is that a switchable option (the IE thing) or do you have to buy it like that? Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 10:56 AM Subject: RE: [AccessD] Size of Installable with SageKey > Rocky, > > We are using Wise and Sagekey for our Access 2002 install. The > installer file overhead is 40M, which includes all the MS runtime > stuff. I user the Sagekey script that does not install Internet > Explorer. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable run-time > of an access mde with the Wise/Sagekey combo? The mde is only about > 6MB but > I know a lot of access stuff has to be dragged along. How big does > the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Oct 2 19:20:31 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 2 Oct 2004 17:20:31 -0700 Subject: [AccessD] Size of Installable with SageKey References: <001c01c4a8bf$f051f760$8500a8c0@murphyf3vdfepi> Message-ID: <011301c4a8de$cb828070$6601a8c0@HAL9002> Doug: When you say it only requires IE4 does that mean that IE4 must be present on the target machine? What if it's not there? What if they have a later version? TIA Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 1:39 PM Subject: RE: [AccessD] Size of Installable with SageKey > The downloadable version of the scripts, the one we use, only requires IE4 > which should be on any machine that our software is put on. This script > does not install IE. If you use ADO library 2.6 you will need to use the CD > version of the scripts and it does load IE which includes MDAC 2.6. I > suspect the CD version of the scripts includes both packages. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, October 02, 2004 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > Thanks. Is that a switchable option (the IE thing) or do you have to buy it > like that? > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 10:56 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Rocky, > > > > We are using Wise and Sagekey for our Access 2002 install. The > > installer file overhead is 40M, which includes all the MS runtime > > stuff. I user the Sagekey script that does not install Internet > > Explorer. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > run-time > > of an access mde with the Wise/Sagekey combo? The mde is only about > > 6MB > but > > I know a lot of access stuff has to be dragged along. How big does > > the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Helmut.E.Kotsch at t-online.de Sun Oct 3 06:57:56 2004 From: Helmut.E.Kotsch at t-online.de (Helmut Kotsch) Date: Sun, 3 Oct 2004 13:57:56 +0200 Subject: AW: [AccessD] FTP class using WinINET API In-Reply-To: <17618599514.20041002150801@cactus.dk> Message-ID: Hi, has anyone been able to unpack the ZIP file? Is advertised as "410ZAMFIR.ZIP" downloaded as "410zamfir_SA04j1.zip". I get failure messages when trying to extract. Helmut Kotsch -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Gustav Brock Gesendet: Samstag, 2. Oktober 2004 15:08 An: Access Developers discussion and problem solving Betreff: [AccessD] FTP class using WinINET API Hi all For those interested in FTP transfer and classes in Access, go have a look at this month's open article in Smart Access (beware of line breaks in URL): http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod= Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C192 2F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 Note: This link is valid this October only. /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sun Oct 3 10:34:35 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 3 Oct 2004 11:34:35 -0400 Subject: [AccessD] way off topic -- Word question Message-ID: <20041003153456.XNRU1756.imf17aec.mail.bellsouth.net@SUSANONE> Does anyone have an expression that would print the word count in a header or footer? Susan H. From jimdettman at earthlink.net Sun Oct 3 11:31:04 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 3 Oct 2004 12:31:04 -0400 Subject: [AccessD] way off topic -- Word question In-Reply-To: <20041003153456.XNRU1756.imf17aec.mail.bellsouth.net@SUSANONE> Message-ID: Susan, Open the header/footer. Position to where you want it. Click Insert/Field. In the right hand column, select NumWords Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, October 03, 2004 11:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] way off topic -- Word question Does anyone have an expression that would print the word count in a header or footer? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Sun Oct 3 11:32:32 2004 From: conny at qad.se (Conny Johansson) Date: Sun, 3 Oct 2004 18:32:32 +0200 Subject: SV: [AccessD] way off topic -- Word question In-Reply-To: <20041003153456.XNRU1756.imf17aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041003163220.B2D2137E4B@smtp2-1-sn4.m-sp.skanova.net> {DOCPROPERTY Words \* MERGEFORMAT} If you don't use fields then write the text, select the text and hit CTRL + F9 to make it a field {} Conny Johansson -----Ursprungligt meddelande----- Fr?n: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] F?r Susan Harkins Skickat: den 3 oktober 2004 17:35 Till: 'Access Developers discussion and problem solving' ?mne: [AccessD] way off topic -- Word question Does anyone have an expression that would print the word count in a header or footer? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 0440-3, 2004-10-01 Tested on: 2004-10-03 18:32:31 avast! is copyright (c) 2000-2003 ALWIL Software. From ssharkins at bellsouth.net Sun Oct 3 11:34:30 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 3 Oct 2004 12:34:30 -0400 Subject: [AccessD] way off topic -- Word question In-Reply-To: Message-ID: <20041003163429.UAWW1786.imf19aec.mail.bellsouth.net@SUSANONE> Of for Pete's sakes... Thank you Jim. Susan H. Open the header/footer. Position to where you want it. Click Insert/Field. In the right hand column, select NumWords From jwcolby at colbyconsulting.com Sun Oct 3 12:09:51 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 03 Oct 2004 13:09:51 -0400 Subject: [AccessD] FTP class using WinINET API In-Reply-To: Message-ID: <001201c4a96b$d08d9130$e8dafea9@ColbyM6805> I did unzip it, yes. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Sunday, October 03, 2004 7:58 AM To: Access Developers discussion and problem solving Subject: AW: [AccessD] FTP class using WinINET API Hi, has anyone been able to unpack the ZIP file? Is advertised as "410ZAMFIR.ZIP" downloaded as "410zamfir_SA04j1.zip". I get failure messages when trying to extract. Helmut Kotsch -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Gustav Brock Gesendet: Samstag, 2. Oktober 2004 15:08 An: Access Developers discussion and problem solving Betreff: [AccessD] FTP class using WinINET API Hi all For those interested in FTP transfer and classes in Access, go have a look at this month's open article in Smart Access (beware of line breaks in URL): http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod= Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C192 2F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 Note: This link is valid this October only. /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Sun Oct 3 12:24:13 2004 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun, 3 Oct 2004 13:24:13 -0400 Subject: [AccessD] Access 97 Runtime on Windows NT Not Showing Bitmap Images in Reports Message-ID: <007d01c4a96d$d084f3c0$6501a8c0@tbig1> Recently, a client has complained that a custom app I developed for them has quit displaying bitmap images in reports. They are using an Access 97 Runtime on Windows NT. Anyone have any ideas on why this would happen? TIA, Myke From dw-murphy at cox.net Sun Oct 3 12:37:38 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 3 Oct 2004 10:37:38 -0700 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <011301c4a8de$cb828070$6601a8c0@HAL9002> Message-ID: <000601c4a96f$b0c8a520$8500a8c0@murphyf3vdfepi> Rocky, My understanding is that IE is present on all windows machines. The Access 2002 runtime will only work on Windows 98 and later operating systems. I belive that IE 4 or 5 came as part of Windows 98. We have had no issues with not installing IE with our package. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Doug: When you say it only requires IE4 does that mean that IE4 must be present on the target machine? What if it's not there? What if they have a later version? TIA Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 1:39 PM Subject: RE: [AccessD] Size of Installable with SageKey > The downloadable version of the scripts, the one we use, only requires > IE4 which should be on any machine that our software is put on. This > script does not install IE. If you use ADO library 2.6 you will need > to use the CD > version of the scripts and it does load IE which includes MDAC 2.6. I > suspect the CD version of the scripts includes both packages. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Saturday, October 02, 2004 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > Thanks. Is that a switchable option (the IE thing) or do you have to > buy it > like that? > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 10:56 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Rocky, > > > > We are using Wise and Sagekey for our Access 2002 install. The > > installer file overhead is 40M, which includes all the MS runtime > > stuff. I user the Sagekey script that does not install Internet > > Explorer. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > run-time > > of an access mde with the Wise/Sagekey combo? The mde is only about > > 6MB > but > > I know a lot of access stuff has to be dragged along. How big does > > the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Oct 3 12:46:13 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 3 Oct 2004 19:46:13 +0200 Subject: [AccessD] Access 97 Runtime on Windows NT Not Showing Bitmap Images in Reports In-Reply-To: <007d01c4a96d$d084f3c0$6501a8c0@tbig1> References: <007d01c4a96d$d084f3c0$6501a8c0@tbig1> Message-ID: <14134597578.20041003194613@cactus.dk> Hi Myke It could be a printer or screen driver problem, or perhaps the mdb file needs a compact. /gustav > Recently, a client has complained that a custom app I developed for them has > quit displaying bitmap images in reports. > They are using an Access 97 Runtime on Windows NT. From jwcolby at colbyconsulting.com Sun Oct 3 13:44:48 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 03 Oct 2004 14:44:48 -0400 Subject: [AccessD] Cross posted - Folding@home Message-ID: <001301c4a979$12b14180$e8dafea9@ColbyM6805> I just wanted to call everyone's attention to Folding at home. I know a lot of you know about this project, I did and got involved for awhile (through Google's team I think) but over time forgot about it. http://folding.stanford.edu/ Folding at home is a project by Stanford University which essentially builds a mega super computer created by using our home / office computers to form a huge network capable of thousands of times more processing power than even the largest dedicated super computers. http://folding.stanford.edu/stats.html Will take you directly to a page where you can see some statistics for the supercomputer as it exists at this instant in time. This system downloads an executable onto a computer which runs in the idle thread. This means that while the CPU utilized jumps to 100%, it is all idle time ad if your programs need CPU cycles folding at home will not interfere with your program in any way. I had 4 3ghz computers sitting in my home office doing nothing. They are now contributing to mankind's knowledgebase. John W. Colby www.ColbyConsulting.com From serbach at new.rr.com Sun Oct 3 14:55:04 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Sun, 3 Oct 2004 14:55:04 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers Message-ID: <20041003145504.1200913132.serbach@new.rr.com> Dear Group, I helped a friend get MS Office 2000 up and running on his PC yesterday after his PC vendor re-formatted the drive (virus infestation) and re-installed Windows XP Home w/SP2. This system also has a canned Access application that installs Access 2000 Runtime. I installed that AFTER I'd upgraded Office 2000 to SP3. That took a bit of trial and error. Whenever the Runtime install asked about overwriting existing DLLs I told it NO. Now when my friend runs the Access applications that he uses (his wife runs the Access Runtime app), his reports come out funny. That is, for all the text boxes that contain numerals (phone numbers, dates, currency, other numbers), the FORMATTING of the data (e.g., parentheses around negatives, dollar signs and decimals for currency, slashes for dates, hyphens and slashes for phone numbers) appear in the report preview, but there are NO NUMERALS! The dollar signs are at varying distances from the decimal points as if there are numbers there, but no numerals are visible. The fields on the reports are all VISIBLE. As an experiment, I tried changing the background color to yellow and the text color to red for one of the text box objects in design mode. But when I preview the report, the format symbols are red but the background is still white, not yellow. I change the font weight to Bold and I see bold dollar signs and decimal points. I add a shadow border around the text box, but that doesn't show up in preview mode. I change the text alignment to Left, and all the dollar signs line up on the left...but still no numbers. I've checked the query. All the numbers are there. Again, this is just for fields that have numerals in them. The names of the individuals are there in the report preview, just no numbers or dates or phone numbers (except for the formatting symbols). What does this sound like to you? Thanks, Steve Erbach Neenah, WI From serbach at new.rr.com Mon Oct 4 05:12:20 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 05:12:20 -0500 Subject: [AccessD] Cross posted - Folding@home In-Reply-To: <001301c4a979$12b14180$e8dafea9@ColbyM6805> References: <001301c4a979$12b14180$e8dafea9@ColbyM6805> Message-ID: <20041004051220.976313251.serbach@new.rr.com> John, >> http://folding.stanford.edu/ << Sounds similar to the seti at home project. Steve Erbach Neenah, WI From serbach at new.rr.com Mon Oct 4 05:14:57 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 05:14:57 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041003145504.1200913132.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> Message-ID: <20041004051457.1242222750.serbach@new.rr.com> Dear Group, Some additional info on this: I suspect that it has something to do with the fact that Office 2000 Premium (w/Access) and Access Runtime 2000 have been installed and un-installed and re-installed on this system. Moreover, anything on a report has numbers on it, even a street address, will appear without the numbers. Page x of y, a long-format date, etc. Steve Erbach Neenah, WI From gustav at cactus.dk Mon Oct 4 07:58:10 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Oct 2004 14:58:10 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041004051457.1242222750.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> Message-ID: <4821994175.20041004145810@cactus.dk> Hi Steven Did you carefully look up the archive on this? I faintly recall a similar situation. /gustav > Dear Group, > Some additional info on this: I suspect that it has something to do with the fact that Office 2000 Premium (w/Access) and Access Runtime 2000 have been installed and un-installed and re-installed > on this system. > Moreover, anything on a report has numbers on it, even a street address, will appear without the numbers. Page x of y, a long-format date, etc. > Steve Erbach > Neenah, WI From jimdettman at earthlink.net Mon Oct 4 08:01:48 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 4 Oct 2004 09:01:48 -0400 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041003145504.1200913132.serbach@new.rr.com> Message-ID: Steve, First thing I check is the regional settings in Windows. If all look OK, change one of them, then change it back. There was an old Windows bug related to this. Might still be in XP. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Sunday, October 03, 2004 3:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Report number format visible but not numbers Dear Group, I helped a friend get MS Office 2000 up and running on his PC yesterday after his PC vendor re-formatted the drive (virus infestation) and re-installed Windows XP Home w/SP2. This system also has a canned Access application that installs Access 2000 Runtime. I installed that AFTER I'd upgraded Office 2000 to SP3. That took a bit of trial and error. Whenever the Runtime install asked about overwriting existing DLLs I told it NO. Now when my friend runs the Access applications that he uses (his wife runs the Access Runtime app), his reports come out funny. That is, for all the text boxes that contain numerals (phone numbers, dates, currency, other numbers), the FORMATTING of the data (e.g., parentheses around negatives, dollar signs and decimals for currency, slashes for dates, hyphens and slashes for phone numbers) appear in the report preview, but there are NO NUMERALS! The dollar signs are at varying distances from the decimal points as if there are numbers there, but no numerals are visible. The fields on the reports are all VISIBLE. As an experiment, I tried changing the background color to yellow and the text color to red for one of the text box objects in design mode. But when I preview the report, the format symbols are red but the background is still white, not yellow. I change the font weight to Bold and I see bold dollar signs and decimal points. I add a shadow border around the text box, but that doesn't show up in preview mode. I change the text alignment to Left, and all the dollar signs line up on the left...but still no numbers. I've checked the query. All the numbers are there. Again, this is just for fields that have numerals in them. The names of the individuals are there in the report preview, just no numbers or dates or phone numbers (except for the formatting symbols). What does this sound like to you? Thanks, Steve Erbach Neenah, WI -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Oct 4 08:56:25 2004 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 4 Oct 2004 08:56:25 -0500 Subject: [AccessD] Publishing Application In-Reply-To: <000901c4a81a$9550c0d0$0200a8c0@COA3> Message-ID: I have to think the problems result from what type of use do the other versions of Access get on the PC with runtime installed. I have installed runtime on computers before and after Access 97 thru 02 were installed and never have had a problem. However, these clients are not using Access much (or if at all). So I probably am not qualified to argue either way on dll problems. Now, concerning Illinois. I can't vouch for how the Illini can handle such issues. But I know we, as Boilers, not Hoosiers, have very few problems. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Conklin (Developer at UltraDNT) Sent: Friday, October 01, 2004 7:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Is that a variation of "will it play in Peoria?" I have seen Access RT's from 2.0 forward on OS's from 95 on in all its variations, and it is damn-near flawless when there is no previous Office installation. *However* - if there is another Access version on the PC, or might be in the future, use a 3rd party install tool. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Oct 4 09:24:40 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Mon, 4 Oct 2004 10:24:40 -0400 Subject: [AccessD] Publishing Application Message-ID: "will it play in Peoria?" I used to resemble that remark:) Mark -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Friday, October 01, 2004 8:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Is that a variation of "will it play in Peoria?" I have seen Access RT's from 2.0 forward on OS's from 95 on in all its variations, and it is damn-near flawless when there is no previous Office installation. *However* - if there is another Access version on the PC, or might be in the future, use a 3rd party install tool. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Mon Oct 4 10:21:56 2004 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 4 Oct 2004 11:21:56 -0400 Subject: [AccessD] LDB File, Orphaned Logins Message-ID: <833956F5C117124A89417638FDB11290EBD2C7@goexchange.pghcorning.com> Hello all, I have a database that has been working for almost 2 years now with no trouble. It is split, with security. Both BE and FE share same MDW file. There have been no changes to this database for about a year. Recently the users are complaining about it becoming slow. I looked into some things, compressed and repair FE and BE. Still no luck. I noticed that even though everyone was out of the database that there were still LDB files (1 for BE and 1 for MDW) left on the server. I opened them in notepad and saw about 8 users still logged in, 5 of which were the same person. I tried to delete the LDB files, of which I got an error "cannot delete file due to a sharing violation". I have never had a corrupt database or LDB file, I'm hoping this isn't my first as this is a fairly large and complex database. Any help on how to clear these users out of the LDB File would be greatly appreciated. Thanks, Rich From hoopesg at hotmail.com Mon Oct 4 10:59:03 2004 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 04 Oct 2004 10:59:03 -0500 Subject: [AccessD] Clearing form for next entry Message-ID: I have a form set up to gather information about bank deposits. The user enters in all of one type of deposit, then needs to clear the form and start over for the next type of deposit. I hate to maker her close and repoen the form just to clear it out. I've got a procedure that archives all of the records to a history folder but I can't figure out how to keep the screen from showing #Deleted# in all of the fields once the table gets cleared out to accept the new deposit. I tried turning off the Echo but it didn't do a thing, and I've tried a Requery but no luck. For a couple of business-rule reasons I can't just put a new field in for "deposit type", we actually need to clear the table and process the data and give them a clean form for the next deposit. Can someone tell me where I'm screwing up? Thanks, Gina _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From cfoust at infostatsystems.com Mon Oct 4 11:03:17 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 09:03:17 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: No, I think Win98 still had IE 2.x or 3.x. Version 4 and later didn't come along until later. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:dw-murphy at cox.net] Sent: Sunday, October 03, 2004 10:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Size of Installable with SageKey Rocky, My understanding is that IE is present on all windows machines. The Access 2002 runtime will only work on Windows 98 and later operating systems. I belive that IE 4 or 5 came as part of Windows 98. We have had no issues with not installing IE with our package. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Doug: When you say it only requires IE4 does that mean that IE4 must be present on the target machine? What if it's not there? What if they have a later version? TIA Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 1:39 PM Subject: RE: [AccessD] Size of Installable with SageKey > The downloadable version of the scripts, the one we use, only requires > IE4 which should be on any machine that our software is put on. This > script does not install IE. If you use ADO library 2.6 you will need > to use the CD > version of the scripts and it does load IE which includes MDAC 2.6. I > suspect the CD version of the scripts includes both packages. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Saturday, October 02, 2004 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > Thanks. Is that a switchable option (the IE thing) or do you have to > buy it > like that? > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 10:56 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Rocky, > > > > We are using Wise and Sagekey for our Access 2002 install. The > > installer file overhead is 40M, which includes all the MS runtime > > stuff. I user the Sagekey script that does not install Internet > > Explorer. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > run-time > > of an access mde with the Wise/Sagekey combo? The mde is only about > > 6MB > but > > I know a lot of access stuff has to be dragged along. How big does > > the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 4 11:09:24 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 09:09:24 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: Ours run about 60Mb, which includes graphics and help files, along with the runtime files. We include some custom controls and some custom libraries as well as test data that can be loaded. Everything fits nicely on a CD. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Saturday, October 02, 2004 6:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.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 Oct 4 11:26:12 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 04 Oct 2004 12:26:12 -0400 Subject: [AccessD] Clearing form for next entry In-Reply-To: Message-ID: <003c01c4aa2e$e11761c0$e8dafea9@ColbyM6805> Just put a me.requery in the afterdelete method. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gina Hoopes Sent: Monday, October 04, 2004 11:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Clearing form for next entry I have a form set up to gather information about bank deposits. The user enters in all of one type of deposit, then needs to clear the form and start over for the next type of deposit. I hate to maker her close and repoen the form just to clear it out. I've got a procedure that archives all of the records to a history folder but I can't figure out how to keep the screen from showing #Deleted# in all of the fields once the table gets cleared out to accept the new deposit. I tried turning off the Echo but it didn't do a thing, and I've tried a Requery but no luck. For a couple of business-rule reasons I can't just put a new field in for "deposit type", we actually need to clear the table and process the data and give them a clean form for the next deposit. Can someone tell me where I'm screwing up? Thanks, Gina _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 4 11:28:36 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 09:28:36 -0700 Subject: [AccessD] Clearing form for next entry References: Message-ID: <017701c4aa2f$330ea880$6601a8c0@HAL9002> Gina: If it's a bound form can't you just GoTo acNewRecord after the data in the form is saved? Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Gina Hoopes" To: Sent: Monday, October 04, 2004 8:59 AM Subject: [AccessD] Clearing form for next entry > I have a form set up to gather information about bank deposits. The user > enters in all of one type of deposit, then needs to clear the form and start > over for the next type of deposit. I hate to maker her close and repoen the > form just to clear it out. I've got a procedure that archives all of the > records to a history folder but I can't figure out how to keep the screen > from showing #Deleted# in all of the fields once the table gets cleared out > to accept the new deposit. I tried turning off the Echo but it didn't do a > thing, and I've tried a Requery but no luck. For a couple of business-rule > reasons I can't just put a new field in for "deposit type", we actually need > to clear the table and process the data and give them a clean form for the > next deposit. Can someone tell me where I'm screwing up? > > Thanks, > Gina > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's FREE! > hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Oct 4 11:29:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Oct 2004 18:29:35 +0200 Subject: [AccessD] Clearing form for next entry In-Reply-To: References: Message-ID: <3234679676.20041004182935@cactus.dk> Hi Gina Try: With Me .Painting = False ' run your clean up code. .Requery .Painting = True End With /gustav > I have a form set up to gather information about bank deposits. The user > enters in all of one type of deposit, then needs to clear the form and start > over for the next type of deposit. I hate to maker her close and repoen the > form just to clear it out. I've got a procedure that archives all of the > records to a history folder but I can't figure out how to keep the screen > from showing #Deleted# in all of the fields once the table gets cleared out > to accept the new deposit. I tried turning off the Echo but it didn't do a > thing, and I've tried a Requery but no luck. For a couple of business-rule > reasons I can't just put a new field in for "deposit type", we actually need > to clear the table and process the data and give them a clean form for the > next deposit. Can someone tell me where I'm screwing up? From hoopesg at hotmail.com Mon Oct 4 11:45:47 2004 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 04 Oct 2004 11:45:47 -0500 Subject: [AccessD] Clearing form for next entry Message-ID: Perfect! Thanks, Gustav! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 04, 2004 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clearing form for next entry Hi Gina Try: With Me .Painting = False ' run your clean up code. .Requery .Painting = True End With /gustav > I have a form set up to gather information about bank deposits. The > user enters in all of one type of deposit, then needs to clear the > form and start over for the next type of deposit. I hate to maker her > close and repoen the form just to clear it out. I've got a procedure > that archives all of the records to a history folder but I can't > figure out how to keep the screen from showing #Deleted# in all of the > fields once the table gets cleared out to accept the new deposit. I > tried turning off the Echo but it didn't do a thing, and I've tried a > Requery but no luck. For a couple of business-rule reasons I can't > just put a new field in for "deposit type", we actually need to clear > the table and process the data and give them a clean form for the next deposit. Can someone tell me where I'm screwing up? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Thanks, Gina _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From serbach at new.rr.com Mon Oct 4 12:10:06 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 12:10:06 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <4821994175.20041004145810@cactus.dk> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> Message-ID: <20041004121006.1004197457.serbach@new.rr.com> Gustav, Well, I've asked a few questinos of the archives, but I get messages dealing with page numbering and text box length. I tried "invisible number" and got a lot of messages with the word "invisible" in them. How careful should I be? Steve Erbach Neenah, WI > ------------Original Message------------ > From: Gustav Brock > To: "Access Developers discussion and problem solving" > Date: Mon, Oct-4-2004 8:10 AM > Subject: Re: [AccessD] A2K: Report number format visible but not numbers > > Hi Steven > > Did you carefully look up the archive on this? > I faintly recall a similar situation. > > /gustav > > From serbach at new.rr.com Mon Oct 4 12:11:09 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 12:11:09 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: References: <20041003145504.1200913132.serbach@new.rr.com> Message-ID: <20041004121109.1122793450.serbach@new.rr.com> Jim, I did look at the Regional Settings but I didn't change any of them. Worth a shot. Thanks. I'll pass it along to my friend. Steve Erbach Neenah, WI From Rich_Lavsa at pghcorning.com Mon Oct 4 12:53:17 2004 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 4 Oct 2004 13:53:17 -0400 Subject: [AccessD] LDB File, Orphaned Logins (Resolved) Message-ID: <833956F5C117124A89417638FDB11290EBD2C9@goexchange.pghcorning.com> Well I walked over to the network administrator and ask if he could reboot the server for me, as I remembered reading somewhere some time ago (can't remember where) that sometimes you may need to reboot the machine to delete the LDB file. In doing so, he opened his Active Directory User Interface and went to the server in question. He looked to see who was logged in, then he went into Sessions, there he could see every file that everyone is using. At the top of the list were all my users (including the one with 5 sessions running against the same LDB and MDW file). I ask him if he could manually close these files and said only if I know they weren't using them. I knew everyone was out of the system because of the problem so we did it. I ask a user to log in and out to give the database a chance to clean up its own LDB files and sure enough it did. And the speed is back to what it should be. I don't know if I stumbled upon anything in looking at the sessions of a server but it might be worth noting for anyone out there that has an issue with Orphaned users in LDB file. Thanks for all who responded, Rich -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Monday, October 04, 2004 11:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] LDB File, Orphaned Logins Hello all, I have a database that has been working for almost 2 years now with no trouble. It is split, with security. Both BE and FE share same MDW file. There have been no changes to this database for about a year. Recently the users are complaining about it becoming slow. I looked into some things, compressed and repair FE and BE. Still no luck. I noticed that even though everyone was out of the database that there were still LDB files (1 for BE and 1 for MDW) left on the server. I opened them in notepad and saw about 8 users still logged in, 5 of which were the same person. I tried to delete the LDB files, of which I got an error "cannot delete file due to a sharing violation". I have never had a corrupt database or LDB file, I'm hoping this isn't my first as this is a fairly large and complex database. Any help on how to clear these users out of the LDB File would be greatly appreciated. Thanks, Rich -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Christian.Brock at hoffman.army.mil Mon Oct 4 11:43:54 2004 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, HRC-Alexandria) Date: Mon, 4 Oct 2004 12:43:54 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: With Access 97, Wise InstallBuilder 8.1, using Sagekey's script for Access 97, I have one application who's files add up to 5.09MB that is turned into a 10.6 MB installation file. Christian Brock -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Saturday, 02 October 2004 09:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Oct 4 13:33:55 2004 From: john at winhaven.net (John Bartow) Date: Mon, 4 Oct 2004 13:33:55 -0500 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: Message-ID: Hi Christian, Just an FYI. I recently upgraded my Wise InstallBuilder 8.1 to Wise Installation System 9 for a VERY reasonable price. Don't know if they're still offering it but its worth a check. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brock, Christian T, HRC-Alexandria Sent: Monday, October 04, 2004 11:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Size of Installable with SageKey With Access 97, Wise InstallBuilder 8.1, using Sagekey's script for Access 97, I have one application who's files add up to 5.09MB that is turned into a 10.6 MB installation file. Christian Brock -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Saturday, 02 October 2004 09:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 4 14:06:45 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 12:06:45 -0700 Subject: [AccessD] Size of Installable with SageKey References: Message-ID: <020301c4aa45$4af12700$6601a8c0@HAL9002> Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along with > the runtime files. We include some custom controls and some custom > libraries as well as test data that can be loaded. Everything fits > nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is only > about 6MB but I know a lot of access stuff has to be dragged along. How > big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Mon Oct 4 15:01:06 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 13:01:06 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: The Access XP runtime is big. It installs to about an uncompressed 20 Mb of files. Perhaps a quarter of our installer is the application files themselves, so say 15 Mb. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, October 04, 2004 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along > with the runtime files. We include some custom controls and some > custom libraries as well as test data that can be loaded. Everything > fits nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is > only about 6MB but I know a lot of access stuff has to be dragged > along. How big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Oct 4 15:03:48 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 13:03:48 -0700 Subject: [AccessD] MsgBox, global setting for Title Message-ID: I think I'm the one missing things! Somewhere along the way, probably in the switch from Access Basic to VBA, that seems to have changed. I think I would create a messagebox class and have it pass the app title as the default title to the actual function if I wanted to avoid having to supply it myself. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Saturday, October 02, 2004 3:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MsgBox, global setting for Title Hi Charlotte et all This property didn't exist if this is what you are referring to: CurrentProject.Properties("AppTitle") But adding it and setting its value to "MyTitle" doesn't make any difference to the default MsgBox title. /gustav > Hi Charlotte > Thanks. The only problem is that it doesn't work ... > In the debug window: > ? Currentdb.Properties("AppTitle").Value > MyTitle > Still, the title of a messagebox: > Msgbox "Test" > is "Microsoft Access" and not "MyTitle". > I have done a title bar refresh and even a relaunch with no luck. What > am I missing? > /gustav >> It picks up the AppTitle property as the default. So if your >> AppTitle isn't set, you get Microsoft Access as the msgbox title >> unless you override it with a title string argument. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Friday, October 01, 2004 11:42 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] MsgBox, global setting for Title >> Hi all >> Can you somehow set a global string for Title of MsgBox so you don't >> have to set it each and everywhere? >> I faintly recall this can be done ... but how? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Oct 4 16:18:22 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 4 Oct 2004 17:18:22 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: < -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 04, 2004 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along with > the runtime files. We include some custom controls and some custom > libraries as well as test data that can be loaded. Everything fits > nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is only > about 6MB but I know a lot of access stuff has to be dragged along. How > big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 4 16:44:25 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 14:44:25 -0700 Subject: [AccessD] Size of Installable with SageKey References: Message-ID: <032201c4aa5b$51c61b60$6601a8c0@HAL9002> Well, overhead of 20 ain't too bad. Our app is only about 3-4MB and there's no ocx files, MDAC, none of that stuff. Just real plain vanilla Access. Oh, yeah, DAO. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 1:01 PM Subject: RE: [AccessD] Size of Installable with SageKey > The Access XP runtime is big. It installs to about an uncompressed 20 > Mb of files. Perhaps a quarter of our installer is the application > files themselves, so say 15 Mb. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, October 04, 2004 12:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Charlotte: > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > program to people without Access. So it would have to be a run time. > And it would probably be available as a download from our website. > > Do you know of that 60MB how much is your stuff and how much is Access? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 04, 2004 9:09 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Ours run about 60Mb, which includes graphics and help files, along > > with the runtime files. We include some custom controls and some > > custom libraries as well as test data that can be loaded. Everything > > fits nicely on a CD. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > > run-time of an access mde with the Wise/Sagekey combo? The mde is > > only about 6MB but I know a lot of access stuff has to be dragged > > along. How big does the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 4 16:45:10 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 14:45:10 -0700 Subject: [AccessD] Size of Installable with SageKey References: Message-ID: <032801c4aa5b$6c93d4f0$6601a8c0@HAL9002> If it does then they're cured, and we move from Analysis to treatment. How are YOU sleeping these days? Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Scott Marcus" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 2:18 PM Subject: RE: [AccessD] Size of Installable with SageKey > < Analysis program to people without Access. > > Now that's a lot of people. VBG > Aer you hoping that the Analysis program puts them to sleep? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, October 04, 2004 3:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > Charlotte: > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > program to people without Access. So it would have to be a run time. > And it would probably be available as a download from our website. > > Do you know of that 60MB how much is your stuff and how much is Access? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 04, 2004 9:09 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Ours run about 60Mb, which includes graphics and help files, along > with > > the runtime files. We include some custom controls and some custom > > libraries as well as test data that can be loaded. Everything fits > > nicely on a CD. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > > run-time of an access mde with the Wise/Sagekey combo? The mde is > only > > about 6MB but I know a lot of access stuff has to be dragged along. > How > > big does the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 4 16:46:05 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 14:46:05 -0700 Subject: [AccessD] FOR JOE HECHT Fw: Returned mail: see transcript for details Message-ID: <034301c4aa5b$8d22f200$6601a8c0@HAL9002> Joe: I tried to send you a Sleep Doctor but got this back. Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Monday, October 04, 2004 2:28 PM Subject: Returned mail: see transcript for details > The original message was received at Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > from 24-25-217-158.san.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > (reason: 550 jmhla%@earthlink.net...User unknown) > > ----- Transcript of session follows ----- > ... while talking to mx5.earthlink.net.: > >>> RCPT To: > <<< 550 jmhla%@earthlink.net...User unknown > 550 5.1.1 ... User unknown > ---------------------------------------------------------------------------- ---- > Received: from HAL9002 (24-25-217-158.san.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id i94LS7uY003554 > for ; Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > Message-ID: <02d401c4aa59$0c274d10$6601a8c0 at HAL9002> > From: "Rocky Smolin - Beach Access Software" > To: > References: <200410042101.i94L1EPx009993 at lamx02.mgw.rr.com> > Subject: Re: Sleep disorder software > Date: Mon, 4 Oct 2004 14:28:09 -0700 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="----=_NextPart_000_02D0_01C4AA1E.5F66CD10" > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2800.1437 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From cfoust at infostatsystems.com Mon Oct 4 16:47:51 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 14:47:51 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: If they still can't sleep, someone can drop the installer on their heads! LOL Charlotte Foust -----Original Message----- From: Scott Marcus [mailto:marcus at tsstech.com] Sent: Monday, October 04, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Size of Installable with SageKey < -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 04, 2004 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along with > the runtime files. We include some custom controls and some custom > libraries as well as test data that can be loaded. Everything fits > nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is only > about 6MB but I know a lot of access stuff has to be dragged along. How > big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon Oct 4 17:43:08 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Mon, 4 Oct 2004 18:43:08 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: <20041004224308.CZLJ29837.fed1rmmtao12.cox.net@smtp.west.cox.net> Could be but the info I have indicates that V4 came out during the Windows 95 era and was part of Windows 98. > > From: "Charlotte Foust" > Date: 2004/10/04 Mon PM 12:03:17 EDT > To: "Access Developers discussion and problem solving" > > Subject: RE: [AccessD] Size of Installable with SageKey > > No, I think Win98 still had IE 2.x or 3.x. Version 4 and later didn't > come along until later. > > Charlotte Foust > > > -----Original Message----- > From: Doug Murphy [mailto:dw-murphy at cox.net] > Sent: Sunday, October 03, 2004 10:38 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Size of Installable with SageKey > > > Rocky, > > My understanding is that IE is present on all windows machines. The > Access 2002 runtime will only work on Windows 98 and later operating > systems. I belive that IE 4 or 5 came as part of Windows 98. We have > had no issues with not installing IE with our package. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, October 02, 2004 5:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > When you say it only requires IE4 does that mean that IE4 must be > present on the target machine? What if it's not there? What if they > have a later version? > > TIA > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 1:39 PM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > The downloadable version of the scripts, the one we use, only requires > > IE4 which should be on any machine that our software is put on. This > > script does not install IE. If you use ADO library 2.6 you will need > > to use the > CD > > version of the scripts and it does load IE which includes MDAC 2.6. I > > suspect the CD version of the scripts includes both packages. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 12:59 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > > > Doug: > > > > Thanks. Is that a switchable option (the IE thing) or do you have to > > buy > it > > like that? > > > > Rocky > > > > ----- Original Message ----- > > From: "Doug Murphy" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Saturday, October 02, 2004 10:56 AM > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > Rocky, > > > > > > We are using Wise and Sagekey for our Access 2002 install. The > > > installer file overhead is 40M, which includes all the MS runtime > > > stuff. I user the Sagekey script that does not install Internet > > > Explorer. > > > > > > Doug > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > Smolin - Beach Access Software > > > Sent: Saturday, October 02, 2004 6:48 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Size of Installable with SageKey > > > > > > > > > Dear List: > > > > > > Does anyone know what the overhead is when you make an installable > > run-time > > > of an access mde with the Wise/Sagekey combo? The mde is only about > > > 6MB > > but > > > I know a lot of access stuff has to be dragged along. How big does > > > the installable file end up being? > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Mon Oct 4 17:53:45 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Mon, 4 Oct 2004 18:53:45 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: <20041004225345.CQL24687.fed1rmmtao05.cox.net@smtp.west.cox.net> Rocky, I may have missed the message that said what version of Access you are using. If your using XP or 3003 I think your package is going to be 50 meg or larger. Doug > > From: "Rocky Smolin - Beach Access Software" > Date: 2004/10/04 Mon PM 05:44:25 EDT > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Size of Installable with SageKey > > Well, overhead of 20 ain't too bad. Our app is only about 3-4MB and there's > no ocx files, MDAC, none of that stuff. Just real plain vanilla Access. > Oh, yeah, DAO. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 04, 2004 1:01 PM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > The Access XP runtime is big. It installs to about an uncompressed 20 > > Mb of files. Perhaps a quarter of our installer is the application > > files themselves, so say 15 Mb. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Monday, October 04, 2004 12:07 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > > > Charlotte: > > > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > > program to people without Access. So it would have to be a run time. > > And it would probably be available as a download from our website. > > > > Do you know of that 60MB how much is your stuff and how much is Access? > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, October 04, 2004 9:09 AM > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > Ours run about 60Mb, which includes graphics and help files, along > > > with the runtime files. We include some custom controls and some > > > custom libraries as well as test data that can be loaded. Everything > > > fits nicely on a CD. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > > Sent: Saturday, October 02, 2004 6:48 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Size of Installable with SageKey > > > > > > > > > Dear List: > > > > > > Does anyone know what the overhead is when you make an installable > > > run-time of an access mde with the Wise/Sagekey combo? The mde is > > > only about 6MB but I know a lot of access stuff has to be dragged > > > along. How big does the installable file end up being? > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 4 20:40:48 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 18:40:48 -0700 Subject: [AccessD] Size of Installable with SageKey References: <20041004225345.CQL24687.fed1rmmtao05.cox.net@smtp.west.cox.net> Message-ID: <036601c4aa7c$5765ea20$6601a8c0@HAL9002> Doug: I'm using A2K. Rocky ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 3:53 PM Subject: Re: Re: [AccessD] Size of Installable with SageKey > Rocky, > > I may have missed the message that said what version of Access you are using. If your using XP or 3003 I think your package is going to be 50 meg or larger. > > Doug > > > > From: "Rocky Smolin - Beach Access Software" > > Date: 2004/10/04 Mon PM 05:44:25 EDT > > To: "Access Developers discussion and problem solving" > > > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > Well, overhead of 20 ain't too bad. Our app is only about 3-4MB and there's > > no ocx files, MDAC, none of that stuff. Just real plain vanilla Access. > > Oh, yeah, DAO. > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, October 04, 2004 1:01 PM > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > The Access XP runtime is big. It installs to about an uncompressed 20 > > > Mb of files. Perhaps a quarter of our installer is the application > > > files themselves, so say 15 Mb. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > > Sent: Monday, October 04, 2004 12:07 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > > > > > > Charlotte: > > > > > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > > > program to people without Access. So it would have to be a run time. > > > And it would probably be available as a download from our website. > > > > > > Do you know of that 60MB how much is your stuff and how much is Access? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, October 04, 2004 9:09 AM > > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > > > > Ours run about 60Mb, which includes graphics and help files, along > > > > with the runtime files. We include some custom controls and some > > > > custom libraries as well as test data that can be loaded. Everything > > > > fits nicely on a CD. > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > > > Sent: Saturday, October 02, 2004 6:48 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Size of Installable with SageKey > > > > > > > > > > > > Dear List: > > > > > > > > Does anyone know what the overhead is when you make an installable > > > > run-time of an access mde with the Wise/Sagekey combo? The mde is > > > > only about 6MB but I know a lot of access stuff has to be dragged > > > > along. How big does the installable file end up being? > > > > > > > > MTIA > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > http://www.e-z-mrp.com > > > > > > > > -- > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhla at earthlink.net Tue Oct 5 00:13:52 2004 From: jmhla at earthlink.net (Joe Hecht) Date: Mon, 4 Oct 2004 22:13:52 -0700 Subject: [AccessD] FOR JOE HECHT Fw: Returned mail: see transcript fordetails In-Reply-To: <034301c4aa5b$8d22f200$6601a8c0@HAL9002> Message-ID: <200410050513.i955DfL06830@databaseadvisors.com> Where did the % sign come from? The address is right except for %. Joe Hecht jmhla at earthlink.net 28g -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 04, 2004 2:46 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FOR JOE HECHT Fw: Returned mail: see transcript fordetails Joe: I tried to send you a Sleep Doctor but got this back. Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Monday, October 04, 2004 2:28 PM Subject: Returned mail: see transcript for details > The original message was received at Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > from 24-25-217-158.san.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > (reason: 550 jmhla%@earthlink.net...User unknown) > > ----- Transcript of session follows ----- > ... while talking to mx5.earthlink.net.: > >>> RCPT To: > <<< 550 jmhla%@earthlink.net...User unknown > 550 5.1.1 ... User unknown > ---------------------------------------------------------------------------- ---- > Received: from HAL9002 (24-25-217-158.san.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id i94LS7uY003554 > for ; Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > Message-ID: <02d401c4aa59$0c274d10$6601a8c0 at HAL9002> > From: "Rocky Smolin - Beach Access Software" > To: > References: <200410042101.i94L1EPx009993 at lamx02.mgw.rr.com> > Subject: Re: Sleep disorder software > Date: Mon, 4 Oct 2004 14:28:09 -0700 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="----=_NextPart_000_02D0_01C4AA1E.5F66CD10" > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2800.1437 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From gustav at cactus.dk Tue Oct 5 05:32:43 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Oct 2004 12:32:43 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: References: Message-ID: <7912699991.20041005123243@cactus.dk> Hi Charlotte OK, thanks. Then I guess it's time to bury this dog. I'll stick to my global variable ... /gustav > I think I'm the one missing things! Somewhere along the way, probably > in the switch from Access Basic to VBA, that seems to have changed. I > think I would create a messagebox class and have it pass the app title > as the default title to the actual function if I wanted to avoid having > to supply it myself. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Saturday, October 02, 2004 3:28 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MsgBox, global setting for Title > Hi Charlotte et all > This property didn't exist if this is what you are referring to: > CurrentProject.Properties("AppTitle") > But adding it and setting its value to "MyTitle" doesn't make any > difference to the default MsgBox title. > /gustav >> Hi Charlotte >> Thanks. The only problem is that it doesn't work ... >> In the debug window: >> ? Currentdb.Properties("AppTitle").Value >> MyTitle >> Still, the title of a messagebox: >> Msgbox "Test" >> is "Microsoft Access" and not "MyTitle". >> I have done a title bar refresh and even a relaunch with no luck. What >> am I missing? >> /gustav >>> It picks up the AppTitle property as the default. So if your >>> AppTitle isn't set, you get Microsoft Access as the msgbox title >>> unless you override it with a title string argument. >>> Charlotte Foust >>> -----Original Message----- >>> From: Gustav Brock [mailto:gustav at cactus.dk] >>> Sent: Friday, October 01, 2004 11:42 AM >>> To: AccessD at databaseadvisors.com >>> Subject: [AccessD] MsgBox, global setting for Title >>> Hi all >>> Can you somehow set a global string for Title of MsgBox so you don't >>> have to set it each and everywhere? >>> I faintly recall this can be done ... but how? From gustav at cactus.dk Tue Oct 5 05:40:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Oct 2004 12:40:50 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041004121006.1004197457.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> Message-ID: <4813187803.20041005124050@cactus.dk> Hi Steven Well, it's up to your fantasy! How about "dissappear"? However, I my recall incorrectly. /gustav > Gustav, > Well, I've asked a few questinos of the archives, but I get messages dealing with page numbering and text box length. I tried "invisible number" and got a lot of messages with the word "invisible" > in them. How careful should I be? > Steve Erbach > Neenah, WI >> ------------Original Message------------ >> From: Gustav Brock >> To: "Access Developers discussion and problem solving" >> Date: Mon, Oct-4-2004 8:10 AM >> Subject: Re: [AccessD] A2K: Report number format visible but not numbers >> >> Hi Steven >> >> Did you carefully look up the archive on this? >> I faintly recall a similar situation. >> >> /gustav From john at winhaven.net Tue Oct 5 08:25:44 2004 From: john at winhaven.net (John Bartow) Date: Tue, 5 Oct 2004 08:25:44 -0500 Subject: [AccessD] x-posted XP SP2 on CD Message-ID: For those that haven't installed it yet, you can get XP SP2 on CD: http://www.microsoft.com/windowsxp/downloads/updates/sp2/cdorder/en_us/defau lt.mspx?urlID=425822449 From paul.hartland at fsmail.net Tue Oct 5 09:41:50 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 5 Oct 2004 16:41:50 +0200 (CEST) Subject: [AccessD] Turning Custom MenuBar Options On/Off Message-ID: <26402479.1096987310101.JavaMail.www@wwinf3001> To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From cfoust at infostatsystems.com Tue Oct 5 10:17:30 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Oct 2004 08:17:30 -0700 Subject: [AccessD] Turning Custom MenuBar Options On/Off Message-ID: What do you mean by "turning the various options on/off"? Are you asking about disabling some of the items on the menus? If so, what are the conditions involved? Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, October 05, 2004 7:42 AM To: accessd Subject: [AccessD] Turning Custom MenuBar Options On/Off To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Oct 5 10:25:06 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 5 Oct 2004 11:25:06 -0400 Subject: [AccessD] Turning Custom MenuBar Options On/Off In-Reply-To: <916187228923D311A6FE00A0CC3FAA309C4AE1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB8BC@ADGSERVER> Paul, Here is some example code for you: With CommandBars("Wrap Reports/Utils") .Controls("Letters").Enabled = bTF .Controls("Reports").Enabled = bTF With .Controls("Utilities") .Controls("Certificate Default Values").Enabled = bTF .Controls("Conversion Log").Enabled = bTF .Controls("Coverages").Enabled = bTF End With end with The name of the command bar is "Wrap Reports/Utils". There is a sub menu named "Utilities". You could use something like: CommandBars("Wrap Reports/Utils").Controls("Utilities").Controls("Coverages").Enabled = true You should also be able to set visible instead of the enabled as shown here. The code is in a function that is passed a boolean. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, October 05, 2004 10:42 AM To: accessd Subject: [AccessD] Turning Custom MenuBar Options On/Off To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland From awithing at twcny.rr.com Tue Oct 5 15:00:19 2004 From: awithing at twcny.rr.com (augusta) Date: Tue, 5 Oct 2004 16:00:19 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200409111553.i8BFr8630653@databaseadvisors.com> Message-ID: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta From jwcolby at colbyconsulting.com Tue Oct 5 15:45:06 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 05 Oct 2004 16:45:06 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> Message-ID: <002101c4ab1c$32b0ad50$e8dafea9@ColbyM6805> Are you a programmer? In plain VB, in OnClick of the checkbox, check if the box is checked or unchecked. If checked, place the cursor in the text box and open a message box or some such. If unchecked, clear out the text box. You would want to also do things like disable the text box unless the check box is checked etc, or alternately if the text box has something entered, then check the check box. This is in fact a facet of normalization where you have the same information stored in more than one place. The check box stores the fact that contributions are restricted, but the simple fact that something is in the text box stores the fact that contributions are restricted. You don't need the check box at all, it is a convenience which raises ugly issues such as how to keep the two controls in sync. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JOHNWARDBELL at aol.com Tue Oct 5 15:59:25 2004 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Tue, 5 Oct 2004 16:59:25 EDT Subject: [AccessD] x-posted XP SP2 on CD Message-ID: <103.516a61e0.2e94652d@aol.com> does anyone known address of Office XP SP3 on a CD ? In this neck of the woods it will take over 5 hours to DL it. TIA johnb From dwaters at usinternet.com Tue Oct 5 16:10:38 2004 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 5 Oct 2004 16:10:38 -0500 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <19865371.1097009804340.JavaMail.root@sniper2.usinternet.com> Message-ID: <004f01c4ab1f$c3ca7de0$de1811d8@danwaters> However, it could be that someone or the system determines the requirement for the text box to be filled in, and then someone else fills in the text information. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 05, 2004 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] fill in x field if y field is checked Are you a programmer? In plain VB, in OnClick of the checkbox, check if the box is checked or unchecked. If checked, place the cursor in the text box and open a message box or some such. If unchecked, clear out the text box. You would want to also do things like disable the text box unless the check box is checked etc, or alternately if the text box has something entered, then check the check box. This is in fact a facet of normalization where you have the same information stored in more than one place. The check box stores the fact that contributions are restricted, but the simple fact that something is in the text box stores the fact that contributions are restricted. You don't need the check box at all, it is a convenience which raises ugly issues such as how to keep the two controls in sync. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Tue Oct 5 16:36:47 2004 From: awithing at twcny.rr.com (withington) Date: Tue, 05 Oct 2004 17:36:47 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <002101c4ab1c$32b0ad50$e8dafea9@ColbyM6805> References: <002101c4ab1c$32b0ad50$e8dafea9@ColbyM6805> Message-ID: <416313EF.1010003@twcny.rr.com> John W. Colby wrote: >Are you a programmer? > > no I am far from it. I wish that I were, but too many things to learn! However, I have deceided that I need to learn more about Access and it "power". So I think that I need a more detailed explaination? I think that the user would like to be able to check the box first >In plain VB, in OnClick of the checkbox, check if the box is checked or >unchecked. If checked, place the cursor in the text box and open a message >box or some such. If unchecked, clear out the text box. You would want to >also do things like disable the text box unless the check box is checked >etc, or alternately if the text box has something entered, then check the >check box. > >This is in fact a facet of normalization where you have the same information >stored in more than one place. The check box stores the fact that >contributions are restricted, but the simple fact that something is in the >text box stores the fact that contributions are restricted. You don't need >the check box at all, it is a convenience which raises ugly issues such as >how to keep the two controls in sync. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta >Sent: Tuesday, October 05, 2004 4:00 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] fill in x field if y field is checked > > >I need to know how to make a field required if another field is checked. For >example: If the contributions are restricted, then fill in the restricted >reason. > >Can anyone help - in plain English? > >Thanks Augusta > > > > > From jwcolby at colbyconsulting.com Tue Oct 5 16:56:06 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 05 Oct 2004 17:56:06 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <004f01c4ab1f$c3ca7de0$de1811d8@danwaters> Message-ID: <002301c4ab26$21df0f30$e8dafea9@ColbyM6805> That's true, but doesn't negate the fact that it is duplication of information. I stated that it is a convenience. The text box could be filled with a code to indicate that it needed to be filled in or something. Normalization is about storing info in one place so that multiple locations don't have to be kept in sync. This is a rather classic case where two places have to be kept in sync. If the check box is checked, then the text box has to be filled else the text box has to be cleared. Assuming that the check box is used somewhere (in queries etc) then if the text box is filled, the check box has to be filled. And so you chase your tail. I am not making a judgment as to whether it is a necessity, simply stating a fact that this is the case and if it is possible to get rid of the duplication, life is usually simpler. I also answered the original question about how to attempt to keep them in sync, and some issues perhaps not considered. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, October 05, 2004 5:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] fill in x field if y field is checked However, it could be that someone or the system determines the requirement for the text box to be filled in, and then someone else fills in the text information. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 05, 2004 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] fill in x field if y field is checked Are you a programmer? In plain VB, in OnClick of the checkbox, check if the box is checked or unchecked. If checked, place the cursor in the text box and open a message box or some such. If unchecked, clear out the text box. You would want to also do things like disable the text box unless the check box is checked etc, or alternately if the text box has something entered, then check the check box. This is in fact a facet of normalization where you have the same information stored in more than one place. The check box stores the fact that contributions are restricted, but the simple fact that something is in the text box stores the fact that contributions are restricted. You don't need the check box at all, it is a convenience which raises ugly issues such as how to keep the two controls in sync. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta From stuart at lexacorp.com.pg Tue Oct 5 17:08:49 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 06 Oct 2004 08:08:49 +1000 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> References: <200409111553.i8BFr8630653@databaseadvisors.com> Message-ID: <4163A811.475.18CCDCD6@lexacorp.com.pg> On 5 Oct 2004 at 16:00, augusta wrote: > I need to know how to make a field required if another field is checked. For > example: If the contributions are restricted, then fill in the restricted > reason. > > Can anyone help - in plain English? > It's called "validation" :-) In your from's Before_Update event procedure, you need to do something like: If Resricted = True and isnull(Reason) then Msgbox "You must give a reason for restricting contributions" Cancel = True Me.Restricted.SetFocus End if -- Stuart From paul.hartland at fsmail.net Wed Oct 6 03:01:12 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 6 Oct 2004 10:01:12 +0200 (CEST) Subject: [AccessD] Turning Custom MenuBar Options On/Off Message-ID: <16596521.1097049672382.JavaMail.www@wwinf3005> Yes sorry I mean the various menu options, the main one is when a person opens the application if a store code isn't in the table, then I want to disable everything except Select Store Code and Exit Application Paul Message date : Oct 05 2004, 04:18 PM >From : "Charlotte Foust" To : "Access Developers discussion and problem solving" Copy to : Subject : RE: [AccessD] Turning Custom MenuBar Options On/Off What do you mean by "turning the various options on/off"? Are you asking about disabling some of the items on the menus? If so, what are the conditions involved? Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, October 05, 2004 7:42 AM To: accessd Subject: [AccessD] Turning Custom MenuBar Options On/Off To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From davide at dalyn.co.nz Wed Oct 6 05:02:13 2004 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 06 Oct 2004 23:02:13 +1300 Subject: [AccessD] Graphic Does Not Show On Another Machine Message-ID: <6.1.2.0.0.20041006230132.01a3cb10@mail.dalyn.co.nz> A97 runtime. I have a similar problem with a WXP computer that is not showing JPG graphics in a report. The computer doesn't seem to have the C:\Program Files\Common Files\Microsoft Shared\Grphflt\MS.JPG file installed. Is it a simple matter of copying the file into the folder, or does some sort of installation need to take place? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/07/2004, you wrote: >I assume you are just storing the path name of the file. >and doing something like >Me.Picture="C:\image\myimage.jpg" > >This gets messy because the defaults are not explained by MS >They assume you have a full office install when running Access. > >There are a series of graphic filters that are installed by various MS >Products. >MS Access ODE installs a lot with a full install but not MS Access >Standard, MS Word also installs a lot of these filters. >These will affect what is displayed in an image or picture control. >Sometimes just changing the file extension from jpeg to jpg will allow >display. Just installing MS Word may allow you access to these filters >or a full install of the ODE >Most are found at least in WinXP in the following directory. >C:\Program Files\Common Files\Microsoft Shared\Grphflt > > > > In addition to these filters, use depends on OLE servers installed. > >See these urls for more info > > Forms: Displaying photos in a form >http://www.mvps.org/access/forms/frm0044.htm >Lebans using intel library >http://www.lebans.com/loadsavejpeg.htm >Lebans Image transparancy >http://www.lebans.com/image_faq.htm > function to allow for the Display of Jpeg and Gif files on systems that >do not have the Office Graphic Filters installed. > TIF and PNG formats are now supported via the Microsoft GDI+ DLL. The >GDI+ DLL is freely redistributable and available directly from MS here >http://www.lebans.com/loadjpeggif.htm > >JPEG File Interchange Format File >The JPEG graphics filter (Jpegim32.flt) supports version 6.0 of the JPEG >File Interchange Format (JFIF). You must have the JPEG filter installed to >insert a .jpg file into a Word document as a Microsoft Clip Gallery object >or a Photo Editor object. However, to insert a .jpg file directly into a >Word document, you do not need the JPEG filter. The filter supports cyan- >magenta-yellow-black (CMYK) JPEG files. > >The JPEG filter has the following limitation: >The filter does not support JPEG Tagged Interchange Format (JTIF) files. > >On Thu, 22 Jul 2004 09:04:16 -0500, Jantz, Mathias > wrote: > > >I have a database that stores pictures (.jpg) in a field of a table. > > > >On my machine, the picture works fine. > > > >On another's machine, it just show the name of the image (imageName.jpg) > >in both the form and the report. > > > >Could there be something that was not installed on that machine? > > > > > >Thanks > >Mathias From ssharkins at bellsouth.net Wed Oct 6 07:06:21 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 08:06:21 -0400 Subject: [AccessD] Error Handler Add-in Message-ID: <20041006120628.LJRO1790.imf18aec.mail.bellsouth.net@SUSANONE> Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing about it and I'd like to know if anybody likes it. Susan H. From bheid at appdevgrp.com Wed Oct 6 07:35:10 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 6 Oct 2004 08:35:10 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <916187228923D311A6FE00A0CC3FAA309C4D33@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB8C7@ADGSERVER> I don't use one, but I would like to. :-) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, October 06, 2004 8:06 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Handler Add-in Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing about it and I'd like to know if anybody likes it. Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 6 08:01:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 09:01:43 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB8C7@ADGSERVER> Message-ID: <20041006130145.HCSE1718.imf16aec.mail.bellsouth.net@SUSANONE> Well, I can't even find the thing in 2003 -- there use to be one in earlier versions -- it came with the developer version I think. It's easy to use -- so I'm curious if anyone actually uses it. It's one of the more frustrating things about 2003. I can't find anything. ;( So, if it doesn't even come with 2003 -- kind of a moot topic. Susan H. I don't use one, but I would like to. :-) Bobby Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing about it and I'd like to know if anybody likes it. From bchacc at san.rr.com Wed Oct 6 08:19:00 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 6 Oct 2004 06:19:00 -0700 Subject: [AccessD] Error Handler Add-in References: <20041006120628.LJRO1790.imf18aec.mail.bellsouth.net@SUSANONE> Message-ID: <006201c4aba7$0b52f250$6601a8c0@HAL9002> Colby has one on his web site that I've used. Rocky ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 06, 2004 5:06 AM Subject: [AccessD] Error Handler Add-in > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > about it and I'd like to know if anybody likes it. > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 6 08:32:23 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 09:32:23 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <006201c4aba7$0b52f250$6601a8c0@HAL9002> Message-ID: <20041006133224.SGNR1792.imf22aec.mail.bellsouth.net@SUSANONE> I need to use the one that comes with Access -- or at least use to. ;( Susan H. Colby has one on his web site that I've used. From billmorrill at comcast.net Wed Oct 6 09:19:51 2004 From: billmorrill at comcast.net (billmorrill at comcast.net) Date: Wed, 06 Oct 2004 14:19:51 +0000 Subject: [AccessD] Error Handler Add-in Message-ID: <100620041419.19850.4163FF07000CAFBD00004D8A22007354460404079D9D01030404070D@comcast.net> No Addin required if you do the following: I use Insert File on the VBE Menu. I created my own template with.txt extension and store it in My Documents folder. To use it I just do Insert File and pull in the template. In the template there is a Select Case statement to isolate the number. Also, there is a little note that says Code goes here. It works great and it's customized. Bill M. -------------- Original message -------------- > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > about it and I'd like to know if anybody likes it. > > Susan H. > -- > _______________________________________________ > 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 Oct 6 09:25:04 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 6 Oct 2004 15:25:04 +0100 Subject: [AccessD] Error Handler Add-in Message-ID: <20041006142501.B3863253349@smtp.nildram.co.uk> When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Date: 06/10/04 13:36 > > I need to use the one that comes with Access -- or at least use to. ;( > > Susan H. > > Colby has one on his web site that I've used. > > > -- > _______________________________________________ > 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 ssharkins at bellsouth.net Wed Oct 6 09:27:25 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 10:27:25 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <20041006142501.B3863253349@smtp.nildram.co.uk> Message-ID: <20041006142730.KBCK1756.imf17aec.mail.bellsouth.net@SUSANONE> Andy -- it may not have been included until 2000 -- I'm pretty sure it's in 2000 and XP. Susan H. When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. From JHewson at karta.com Wed Oct 6 09:31:34 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 6 Oct 2004 09:31:34 -0500 Subject: [AccessD] Error Handler Add-in Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BBF@karta-exc-int.Karta.com> I use 2000, I don't' see it. Where is it located? Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Wednesday, October 06, 2004 9:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Andy -- it may not have been included until 2000 -- I'm pretty sure it's in 2000 and XP. Susan H. When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Wed Oct 6 09:58:22 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Wed, 6 Oct 2004 10:58:22 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C02068BBF@karta-exc-int.Karta.com> Message-ID: <000e01c4abb4$ecb40420$060aa845@hargrove.internal> I found documentation for it at this link... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm l/derefode_help_codecomm.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Wednesday, October 06, 2004 10:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Handler Add-in I use 2000, I don't' see it. Where is it located? Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Wednesday, October 06, 2004 9:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Andy -- it may not have been included until 2000 -- I'm pretty sure it's in 2000 and XP. Susan H. When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Oct 6 09:57:19 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Wed, 6 Oct 2004 10:57:19 -0400 Subject: [AccessD] Error Handler Add-in Message-ID: <20041006145719.BSNN25647.fed1rmmtao03.cox.net@smtp.west.cox.net> Susan, I have the XP Developer Edition but use the error handler insert from MZ Tools. It also has some nice features to insert Module descriptive headers and procedure descriptive headers, along with many other handy features. Doug > > From: "Susan Harkins" > Date: 2004/10/06 Wed AM 09:01:43 EDT > To: "'Access Developers discussion and problem solving'" > > Subject: RE: [AccessD] Error Handler Add-in > > Well, I can't even find the thing in 2003 -- there use to be one in earlier > versions -- it came with the developer version I think. It's easy to use -- > so I'm curious if anyone actually uses it. > > It's one of the more frustrating things about 2003. I can't find anything. > ;( So, if it doesn't even come with 2003 -- kind of a moot topic. > > Susan H. > > I don't use one, but I would like to. :-) > > Bobby > > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > about it and I'd like to know if anybody likes it. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cyx5 at cdc.gov Wed Oct 6 12:09:51 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 6 Oct 2004 13:09:51 -0400 Subject: [AccessD] Another User Edited this Record (XP) Message-ID: Trickery needed. I have a form based on the table tblTrackingSheetWIP. Due to questionable database design, this form opens up another form, where the tasknumber=tasknumber, that is based off of the same table. User makes changes to second form. Closes second form and returns to route form. Tries to change data on the original form and gets the Another User Has Edited this Record.... Save your changes, etc. I have tried everything to get this record to save - closing the original form, DoCmd.RunCommand acCmdSaveRecord, refresh, the works. For now, I am closing the first form after I open the second, and it looks like I will have to just return to a prior form and make the user reselect the record to open up the first form. Any ideas on a workaround so I can open the first form gracefully? Am I making sense? Karen Nicholson National Laboratory Xerox Global Services From CMackin at quiznos.com Wed Oct 6 12:20:18 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Wed, 6 Oct 2004 11:20:18 -0600 Subject: [AccessD] Another User Edited this Record (XP) Message-ID: Yikes, making a subform might be areally good idea or a tabbed form, but with the existing structure make sure that you have: DoCmd.RunCommand acCmdSaveRecord when you open the second form (right before the DOcmd.OpenForm line) and when you close the second form have the same thing. Additionally make sure you open Form #2 in teh acDialog mode so the use is unable to go from Form 1 to 2 freely, make sure they open form 2, use it a close it. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nicholson, Karen Sent: Wednesday, October 06, 2004 11:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Another User Edited this Record (XP) Trickery needed. I have a form based on the table tblTrackingSheetWIP. Due to questionable database design, this form opens up another form, where the tasknumber=tasknumber, that is based off of the same table. User makes changes to second form. Closes second form and returns to route form. Tries to change data on the original form and gets the Another User Has Edited this Record.... Save your changes, etc. I have tried everything to get this record to save - closing the original form, DoCmd.RunCommand acCmdSaveRecord, refresh, the works. For now, I am closing the first form after I open the second, and it looks like I will have to just return to a prior form and make the user reselect the record to open up the first form. Any ideas on a workaround so I can open the first form gracefully? Am I making sense? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 6 12:55:40 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 6 Oct 2004 19:55:40 +0200 Subject: [AccessD] Another User Edited this Record (XP) In-Reply-To: References: Message-ID: <16539519686.20041006195540@cactus.dk> Hi Karen You need to requery form1 when form2 has created changes. /gustav > Trickery needed. I have a form based on the table tblTrackingSheetWIP. > Due to questionable database design, this form opens up another form, > where the tasknumber=tasknumber, that is based off of the same table. > User makes changes to second form. Closes second form and returns to > route form. Tries to change data on the original form and gets the > Another User Has Edited this Record.... Save your changes, etc. I have > tried everything to get this record to save - closing the original form, > DoCmd.RunCommand acCmdSaveRecord, refresh, the works. > For now, I am closing the first form after I open the second, and it > looks like I will have to just return to a prior form and make the user > reselect the record to open up the first form. Any ideas on a > workaround so I can open the first form gracefully? Am I making sense? > Karen Nicholson > National Laboratory > Xerox Global Services From kost36 at otenet.gr Wed Oct 6 13:20:50 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 6 Oct 2004 21:20:50 +0300 Subject: [AccessD] Tranferring FOLDER names into a table References: <200409291635435.SM01212@hplaptop> Message-ID: <014001c4abd1$413c6c50$0100a8c0@KOST36> Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis From dwaters at usinternet.com Wed Oct 6 13:47:51 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Oct 2004 13:47:51 -0500 Subject: [AccessD] Tranferring FOLDER names into a table In-Reply-To: <24856930.1097087277563.JavaMail.root@sniper2.usinternet.com> Message-ID: <000401c4abd4$fbd25ae0$de1811d8@danwaters> Kostas, Try looking at FileSystemObjects. You'll need to set a reference to scrrun.dll (Microsoft Scripting Runtime). The help file for this is called script56.chm - you may need to search for it. HTH Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Wednesday, October 06, 2004 1:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Tranferring FOLDER names into a table Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Oct 6 13:57:28 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 6 Oct 2004 14:57:28 -0400 Subject: [AccessD] Tranferring FOLDER names into a table In-Reply-To: <916187228923D311A6FE00A0CC3FAA309C4E50@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB8D1@ADGSERVER> Have you looked into the DIR$ function? It will get you the folders in a given directory. You can use Dir$ or the api Findfirstfile, findnextfile, and FindClose to recursively find all of the folders. Search Google for recurse folders vb. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Wednesday, October 06, 2004 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Tranferring FOLDER names into a table Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Oct 6 14:24:49 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 6 Oct 2004 15:24:49 -0400 Subject: [AccessD] Tranferring FOLDER names into a table Message-ID: Kostas, Save the following line as a .bat file. When run from your target directory, it will create a text file for you that you can import directly into Access. DIR /B /S >C:/DIRLIST.TXT -----Original Message----- From: Kostas Konstantinidis [mailto:kost36 at otenet.gr] Sent: Wednesday, October 06, 2004 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Tranferring FOLDER names into a table Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis -- _______________________________________________ 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 Oct 6 16:44:23 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 Oct 2004 07:44:23 +1000 Subject: [AccessD] Error Handler Add-in In-Reply-To: <000e01c4abb4$ecb40420$060aa845@hargrove.internal> References: <9C382E065F54AE48BC3AA7925DCBB01C02068BBF@karta-exc-int.Karta.com> Message-ID: <4164F3D7.18752.38A6C7E@lexacorp.com.pg> On 6 Oct 2004 at 10:58, Mike & Doris Manning wrote: > I found documentation for it at this link... > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm > l/derefode_help_codecomm.asp > A number of tools designed to aid in rapid application development in the Microsoft? Visual Basic? Editor are provided with Microsoft? Office XP Developer I suspect it is ONLY available with Office XP Developer Edition. -- Stuart From fhtapia at gmail.com Wed Oct 6 17:03:31 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 6 Oct 2004 15:03:31 -0700 Subject: [AccessD] Error Handler Add-in In-Reply-To: <20041006145719.BSNN25647.fed1rmmtao03.cox.net@smtp.west.cox.net> References: <20041006145719.BSNN25647.fed1rmmtao03.cox.net@smtp.west.cox.net> Message-ID: I second the use of MzTools there's one for VB and VBA, that I use in both cases... very efficient and lightweight IMNSHO On Wed, 6 Oct 2004 10:57:19 -0400, dw-murphy at cox.net wrote: > Susan, > > I have the XP Developer Edition but use the error handler insert from MZ Tools. It also has some nice features to insert Module descriptive headers and procedure descriptive headers, along with many other handy features. > > Doug > > > > From: "Susan Harkins" > > Date: 2004/10/06 Wed AM 09:01:43 EDT > > To: "'Access Developers discussion and problem solving'" > > > > Subject: RE: [AccessD] Error Handler Add-in > > > > > > Well, I can't even find the thing in 2003 -- there use to be one in earlier > > versions -- it came with the developer version I think. It's easy to use -- > > so I'm curious if anyone actually uses it. > > > > It's one of the more frustrating things about 2003. I can't find anything. > > ;( So, if it doesn't even come with 2003 -- kind of a moot topic. > > > > Susan H. > > > > I don't use one, but I would like to. :-) > > > > Bobby > > > > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > > about it and I'd like to know if anybody likes it. > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco Pc This! pc news with out the jargon From ssharkins at bellsouth.net Wed Oct 6 17:04:01 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 18:04:01 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <4164F3D7.18752.38A6C7E@lexacorp.com.pg> Message-ID: <20041006220402.HSSF1791.imf21aec.mail.bellsouth.net@SUSANONE> Yes, as far as I know, it's only available in the developer edition, and since there isn't a developer edition for 2003, I suspect it's just disappeared. I haven't been able to find it as a regular feature. Susan H. I suspect it is ONLY available with Office XP Developer Edition. From lists at theopg.com Wed Oct 6 17:18:34 2004 From: lists at theopg.com (MarkH) Date: Wed, 6 Oct 2004 23:18:34 +0100 Subject: [AccessD] Another User Edited this Record (XP) In-Reply-To: Message-ID: <000301c4abf2$6bb42560$9139fc3e@netboxxp> You could unbind the second form and store its values hidden on the first form. When you open the second form read the values in from the first and when you close the second write them back (to the first form). That way the record is only bound edited and updated in the first form so no write conflick... Hth mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: 06 October 2004 18:10 To: accessd at databaseadvisors.com Subject: [AccessD] Another User Edited this Record (XP) Trickery needed. I have a form based on the table tblTrackingSheetWIP. Due to questionable database design, this form opens up another form, where the tasknumber=tasknumber, that is based off of the same table. User makes changes to second form. Closes second form and returns to route form. Tries to change data on the original form and gets the Another User Has Edited this Record.... Save your changes, etc. I have tried everything to get this record to save - closing the original form, DoCmd.RunCommand acCmdSaveRecord, refresh, the works. For now, I am closing the first form after I open the second, and it looks like I will have to just return to a prior form and make the user reselect the record to open up the first form. Any ideas on a workaround so I can open the first form gracefully? Am I making sense? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 From cfoust at infostatsystems.com Wed Oct 6 17:28:33 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 6 Oct 2004 15:28:33 -0700 Subject: [AccessD] Error Handler Add-in Message-ID: Have you checked the VSTO to see if it's included in the Access extensions there? I don't have it on this machine, so I can't check here. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Wednesday, October 06, 2004 3:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Yes, as far as I know, it's only available in the developer edition, and since there isn't a developer edition for 2003, I suspect it's just disappeared. I haven't been able to find it as a regular feature. Susan H. I suspect it is ONLY available with Office XP Developer Edition. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Oct 7 05:33:34 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 7 Oct 2004 06:33:34 -0400 Subject: [AccessD] Another User Edited this Record (XP) Message-ID: I tried these scenarios. This is so dicey that I spoke with my manager yesterday and he has agreed that the fields on the second form should be in their own table. I have inherited a messy system, but my manager is really smart and is starting to allow me to make structural changes when warranted. So today I shall restructure... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, October 06, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another User Edited this Record (XP) Hi Karen You need to requery form1 when form2 has created changes. /gustav > Trickery needed. I have a form based on the table tblTrackingSheetWIP. > Due to questionable database design, this form opens up another form, > where the tasknumber=tasknumber, that is based off of the same table. > User makes changes to second form. Closes second form and returns to > route form. Tries to change data on the original form and gets the > Another User Has Edited this Record.... Save your changes, etc. I have > tried everything to get this record to save - closing the original form, > DoCmd.RunCommand acCmdSaveRecord, refresh, the works. > For now, I am closing the first form after I open the second, and it > looks like I will have to just return to a prior form and make the user > reselect the record to open up the first form. Any ideas on a > workaround so I can open the first form gracefully? Am I making sense? > Karen Nicholson > National Laboratory > Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Oct 7 06:21:46 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 7 Oct 2004 13:21:46 +0200 Subject: [AccessD] Security issue, opening SQL server port over internet Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADC8E@stekelbes.ithelps.local> Hi Group A new POS software supplier for a customer from me, asks to open up the SQL server port over the ADSL/Internet. He needs this to synchronise database between two sites. I however, have always understood that opening the SQL server port over the internet is a serious security issue and should be avoided. Due to the numerous security bugs I seen passing the catwalk I find this my personal opinion to. Next to that, the own SQL security system needs to be tuned/activated because by default everything is wide open. I am wondering what the opinion /experiance of the Access group is in this matter. I'm also wondering if the SQL server (I believe version 7) data is encypted when sending over the internet? I personaly would use a VPN connection and connect to to SQL server over that VPN. I know this has some speed drawbacks but its safe... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Paul.Rogers at SummitMedia.co.uk Thu Oct 7 08:36:10 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 7 Oct 2004 14:36:10 +0100 Subject: [AccessD] Emailing from an Access form Message-ID: Be grateful for the code for who an email is addressed to - who is to receive the email - when emailing details from an access form. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From Paul.Rogers at SummitMedia.co.uk Thu Oct 7 08:46:09 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 7 Oct 2004 14:46:09 +0100 Subject: [AccessD] Emailing from an Access form Message-ID: Sorry, folks, found the answer quicker than expected. cheers -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at summitmedia.co.uk] Sent: 07 October 2004 14:36 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Emailing from an Access form Be grateful for the code for who an email is addressed to - who is to receive the email - when emailing details from an access form. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From fhtapia at gmail.com Thu Oct 7 11:00:11 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 7 Oct 2004 09:00:11 -0700 Subject: [AccessD] Web like drop down Message-ID: This is just a brain storm Idea, but I have a set of text boxes where people are constantly keying in their data... I think it'd be neat to duplicate the idea like a web - dropdown (auto-fill) in Access but not necessarily w/ a combo box... anyone do anything like this before? -- -Francisco Pc This! pc news with out the jargon From JColby at dispec.com Thu Oct 7 11:18:24 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 7 Oct 2004 12:18:24 -0400 Subject: [AccessD] Web like drop down Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8F9@DISABILITYINS01> Yes, I did an OnKeyDown that looked up the characters entered and pulled matching data into a list box under the text box. The list box would expand (drop down) from 1 pixel tall to X pixels tall when the first key down happened, then contracted back up when the text box lost the focus. John W. Colby The DIS Database Guy -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, October 07, 2004 12:00 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web like drop down This is just a brain storm Idea, but I have a set of text boxes where people are constantly keying in their data... I think it'd be neat to duplicate the idea like a web - dropdown (auto-fill) in Access but not necessarily w/ a combo box... anyone do anything like this before? -- -Francisco Pc This! pc news with out the jargon -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Oct 7 11:30:57 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 7 Oct 2004 12:30:57 -0400 Subject: [AccessD] Web like drop down Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8FD@DISABILITYINS01> And of course, using a class with WithEvents. John W. Colby The DIS Database Guy -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Thursday, October 07, 2004 12:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Yes, I did an OnKeyDown that looked up the characters entered and pulled matching data into a list box under the text box. The list box would expand (drop down) from 1 pixel tall to X pixels tall when the first key down happened, then contracted back up when the text box lost the focus. John W. Colby The DIS Database Guy -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, October 07, 2004 12:00 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web like drop down This is just a brain storm Idea, but I have a set of text boxes where people are constantly keying in their data... I think it'd be neat to duplicate the idea like a web - dropdown (auto-fill) in Access but not necessarily w/ a combo box... anyone do anything like this before? -- -Francisco Pc This! pc news with out the jargon -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 7 13:32:38 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 07 Oct 2004 14:32:38 -0400 Subject: [AccessD] Good deal Message-ID: <000201c4ac9c$095a3940$e8dafea9@ColbyM6805> The laptop I bought for 1500 minus $250 rebate is now available for $1300 minus an additional $150 mail in rebate. This is a NICE machine folks. Emachines Athlon64 3000+ ghz, 512m ram, 60m hard drive, built-in 54mbit wireless, etc. http://www.bestbuy.com/site/olspage.jsp?type=product&id=1069301995506&skuId= 6249703 John W. Colby www.ColbyConsulting.com From JHewson at karta.com Thu Oct 7 13:36:47 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 7 Oct 2004 13:36:47 -0500 Subject: [AccessD] Chart Problem Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BCF@karta-exc-int.Karta.com> Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. From forefront at ig.com.br Thu Oct 7 06:33:02 2004 From: forefront at ig.com.br (Forefront) Date: Thu, 07 Oct 2004 08:33:02 -0300 Subject: [AccessD] Error Handler Add-in In-Reply-To: <20041006220402.HSSF1791.imf21aec.mail.bellsouth.net@SUSANONE> References: <20041006220402.HSSF1791.imf21aec.mail.bellsouth.net@SUSANONE> Message-ID: <4165296E.20509@ig.com.br> I use MZTools and it has lots of good stuff, including a customizable Error Handling. ;-) -- ************************************************ * Forefront em Inform?tica e Consultoria Ltda. * * Carlos Alberto Alves * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * Phone Direct: 55-21-9169-1596 * * mailto:forefront at ig.com.br * ************************************************ From fhtapia at gmail.com Thu Oct 7 18:15:04 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 7 Oct 2004 16:15:04 -0700 Subject: [AccessD] Web like drop down In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF8FD@DISABILITYINS01> References: <05C61C52D7CAD211A7830008C7DF6F10CBF8FD@DISABILITYINS01> Message-ID: the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy > > > > > -----Original Message----- > From: Colby, John [mailto:JColby at dispec.com] > Sent: Thursday, October 07, 2004 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Web like drop down > > Yes, I did an OnKeyDown that looked up the characters entered and pulled > matching data into a list box under the text box. The list box would expand > (drop down) from 1 pixel tall to X pixels tall when the first key down > happened, then contracted back up when the text box lost the focus. > > John W. Colby > The DIS Database Guy > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Thursday, October 07, 2004 12:00 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Web like drop down > > This is just a brain storm Idea, but I have a set of text boxes where > people are constantly keying in their data... I think it'd be neat to > duplicate the idea like a web - dropdown (auto-fill) in Access but not > necessarily w/ a combo box... > > anyone do anything like this before? > > -- > -Francisco > Pc This! pc news with out the > jargon > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco Pc This! pc news with out the jargon From jwcolby at colbyconsulting.com Thu Oct 7 20:43:45 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 07 Oct 2004 21:43:45 -0400 Subject: [AccessD] Web like drop down In-Reply-To: Message-ID: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> Francisco, I built a used a class to contain the code used for this thing. As you might know, a list control has a height property which can be expressed in pixels or screen units anyway. I used a list which has its own query. That query then looks for a "like" a text box. As the user types in the text box, each keystroke causes a requery of the list such that the list box "narrows down" the selected items in the list. IOW, suppose the text box allows you to select last names. As you type C, the list box drops down and displays all names beginning with C. Now you type an O and the list requeries to display all names starting with CO. L narrows it down to COL etc. The user can then use the mouse to select one of the objects in the list if desired. The list expands on the first keystroke and collapses back up when the focus leaves the list. Typically a third control will contain the index or PK of the object currently highlighted in the list or the first item in the list if none is highlighted. That control is then used to do some thing such as filter another control a subform etc. The class contains event handlers for the text box as well as the list (withevents) so that all of the functionality is contained in the class. You just init the class, pass in a pointer to the three controls, plus the height you want the list to drop down to etc. I used this to build sets of these filters to select for example a single type of screw for the screw company's app. The first set would select head style, the next the thread style, the next the pitch etc. The objective was to tunnel down to a specific screw or even set of screws. Is this functionality what you are referring to? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, October 07, 2004 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web like drop down the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy From jwcolby at colbyconsulting.com Thu Oct 7 23:19:15 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 08 Oct 2004 00:19:15 -0400 Subject: [AccessD] Web like drop down In-Reply-To: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> Message-ID: <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> Boy, that was just about unintelligible! 8-( I suppose I really should reread my posts before pressing send! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 07, 2004 9:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Francisco, I built a used a class to contain the code used for this thing. As you might know, a list control has a height property which can be expressed in pixels or screen units anyway. I used a list which has its own query. That query then looks for a "like" a text box. As the user types in the text box, each keystroke causes a requery of the list such that the list box "narrows down" the selected items in the list. IOW, suppose the text box allows you to select last names. As you type C, the list box drops down and displays all names beginning with C. Now you type an O and the list requeries to display all names starting with CO. L narrows it down to COL etc. The user can then use the mouse to select one of the objects in the list if desired. The list expands on the first keystroke and collapses back up when the focus leaves the list. Typically a third control will contain the index or PK of the object currently highlighted in the list or the first item in the list if none is highlighted. That control is then used to do some thing such as filter another control a subform etc. The class contains event handlers for the text box as well as the list (withevents) so that all of the functionality is contained in the class. You just init the class, pass in a pointer to the three controls, plus the height you want the list to drop down to etc. I used this to build sets of these filters to select for example a single type of screw for the screw company's app. The first set would select head style, the next the thread style, the next the pitch etc. The objective was to tunnel down to a specific screw or even set of screws. Is this functionality what you are referring to? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, October 07, 2004 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web like drop down the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Fri Oct 8 01:06:04 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 7 Oct 2004 23:06:04 -0700 Subject: [AccessD] Web like drop down In-Reply-To: <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> References: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> Message-ID: I'll have to keep searching through my examples, but it was a text box like when you visit a website, and you subclassed the textbox so that you could simply type into the textbox and it would behave like one in a webform, allowing you to just pick from the random list... It was an IE type feature IIRC... I'll just keep looking and re-post when I find it :) it's another bell and whistle but nothing that's gonna be a show stopper for my current task. On Fri, 08 Oct 2004 00:19:15 -0400, John W. Colby wrote: > Boy, that was just about unintelligible! > > 8-( > > I suppose I really should reread my posts before pressing send! > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, October 07, 2004 9:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Web like drop down > > Francisco, > > I built a used a class to contain the code used for this thing. As you > might know, a list control has a height property which can be expressed in > pixels or screen units anyway. I used a list which has its own query. That > query then looks for a "like" a text box. As the user types in the text > box, each keystroke causes a requery of the list such that the list box > "narrows down" the selected items in the list. IOW, suppose the text box > allows you to select last names. As you type C, the list box drops down and > displays all names beginning with C. Now you type an O and the list > requeries to display all names starting with CO. L narrows it down to COL > etc. The user can then use the mouse to select one of the objects in the > list if desired. > > The list expands on the first keystroke and collapses back up when the focus > leaves the list. > > Typically a third control will contain the index or PK of the object > currently highlighted in the list or the first item in the list if none is > highlighted. That control is then used to do some thing such as filter > another control a subform etc. > > The class contains event handlers for the text box as well as the list > (withevents) so that all of the functionality is contained in the class. You > just init the class, pass in a pointer to the three controls, plus the > height you want the list to drop down to etc. > > I used this to build sets of these filters to select for example a single > type of screw for the screw company's app. The first set would select head > style, the next the thread style, the next the pitch etc. The objective was > to tunnel down to a specific screw or even set of screws. > > Is this functionality what you are referring to? > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Thursday, October 07, 2004 7:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Web like drop down > > the code I had was off of some website.. I think they were APIs can't > remember, John did you simply add to the combo box or extend the textbox > capabilities. > > On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > > And of course, using a class with WithEvents. > > > > John W. Colby > > The DIS Database Guy > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco Pc This! pc news with out the jargon From accessd667 at yahoo.com Fri Oct 8 01:37:39 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 7 Oct 2004 23:37:39 -0700 (PDT) Subject: [AccessD] OT Send mail using Word 2000 Message-ID: <20041008063739.10586.qmail@web61109.mail.yahoo.com> Hi group, i'm going nuts. I need to send mail using Word. However I cannot find out how to add a recipient!??! Sending mail is easy: me.sendmail But hten you have to manually add the recipient info, subject etc. Any ideas? TIA Sander --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! From Jim.Hale at FleetPride.com Fri Oct 8 08:46:09 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Oct 2004 08:46:09 -0500 Subject: [AccessD] Web like drop down Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF97@corp-es01.fleetpride.com> Maybe you should run for president! (hey its Friday) Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 07, 2004 11:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Boy, that was just about unintelligible! 8-( I suppose I really should reread my posts before pressing send! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 07, 2004 9:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Francisco, I built a used a class to contain the code used for this thing. As you might know, a list control has a height property which can be expressed in pixels or screen units anyway. I used a list which has its own query. That query then looks for a "like" a text box. As the user types in the text box, each keystroke causes a requery of the list such that the list box "narrows down" the selected items in the list. IOW, suppose the text box allows you to select last names. As you type C, the list box drops down and displays all names beginning with C. Now you type an O and the list requeries to display all names starting with CO. L narrows it down to COL etc. The user can then use the mouse to select one of the objects in the list if desired. The list expands on the first keystroke and collapses back up when the focus leaves the list. Typically a third control will contain the index or PK of the object currently highlighted in the list or the first item in the list if none is highlighted. That control is then used to do some thing such as filter another control a subform etc. The class contains event handlers for the text box as well as the list (withevents) so that all of the functionality is contained in the class. You just init the class, pass in a pointer to the three controls, plus the height you want the list to drop down to etc. I used this to build sets of these filters to select for example a single type of screw for the screw company's app. The first set would select head style, the next the thread style, the next the pitch etc. The objective was to tunnel down to a specific screw or even set of screws. Is this functionality what you are referring to? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, October 07, 2004 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web like drop down the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Alun.Garraway at otto.de Fri Oct 8 09:33:12 2004 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 8 Oct 2004 16:33:12 +0200 Subject: [AccessD] check if ADO command was successful? Message-ID: Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun From JHewson at karta.com Fri Oct 8 09:57:55 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 8 Oct 2004 09:57:55 -0500 Subject: [AccessD] Chart Problem Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BD3@karta-exc-int.Karta.com> I figured it out. I created a bar chart, then changed the "type" of the chart. The pie chart is correct. Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Thursday, October 07, 2004 1:37 PM To: AccessD Subject: [AccessD] Chart Problem Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. From DWUTKA at marlow.com Fri Oct 8 09:57:25 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Oct 2004 09:57:25 -0500 Subject: [AccessD] check if ADO command was successful? Message-ID: <123701F54509D9119A4F00D0B747349016CFE0@main2.marlow.com> Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 8 10:06:33 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 8 Oct 2004 11:06:33 -0400 Subject: [AccessD] check if ADO command was successful? In-Reply-To: Message-ID: <002f01c4ad48$665a9700$0200a8c0@COA3> After execution, check cmd.ActiveConnection.Errors.Count; if greater than 0, there were error(s). Of course, you should cmd.ActiveConnection.Errors.Clear just before execute, and don't use that connection for anything else, to be 100% sure it's your command that caused any error. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Friday, October 08, 2004 10:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Fri Oct 8 10:09:20 2004 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 8 Oct 2004 17:09:20 +0200 Subject: [AccessD] check if ADO command was successful? Message-ID: COOL! thanks Drew works like a charm :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Oct 8 10:41:28 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Oct 2004 10:41:28 -0500 Subject: [AccessD] check if ADO command was successful? Message-ID: <123701F54509D9119A4F00D0B747349016CFE5@main2.marlow.com> You're quite welcome. Glad to help. As an FYI, that same method can be used with a connection object's Execute method. (I actually had to look it up, to make sure it was there for the Command object) Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] check if ADO command was successful? COOL! thanks Drew works like a charm :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 8 11:07:06 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 8 Oct 2004 12:07:06 -0400 Subject: [AccessD] check if ADO command was successful? In-Reply-To: <123701F54509D9119A4F00D0B747349016CFE5@main2.marlow.com> Message-ID: <003001c4ad50$db960f10$0200a8c0@COA3> Guess I'm not cool, but my method works too -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 11:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? You're quite welcome. Glad to help. As an FYI, that same method can be used with a connection object's Execute method. (I actually had to look it up, to make sure it was there for the Command object) Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] check if ADO command was successful? COOL! thanks Drew works like a charm :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at OUTBAKTech.com Fri Oct 8 11:21:58 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Fri, 8 Oct 2004 11:21:58 -0500 Subject: [AccessD] Memo field / Text Box issue Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326CA@outbaksrv1.outbaktech.com> I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B From Oleg_123 at xuppa.com Fri Oct 8 12:01:25 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Fri, 8 Oct 2004 13:01:25 -0400 (EDT) Subject: [AccessD] VB6 grid question In-Reply-To: <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> References: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> Message-ID: <50467.68.161.124.132.1097254885.squirrel@heck.xuppa.com> Hey I have a form in VB6 that is taking data from Oracle table and shows it in Grid The column headers in grid show as they are on the table, what should I do ro show them differently in the grid ? thank you Oleg ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From stuart at lexacorp.com.pg Fri Oct 8 17:12:36 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 09 Oct 2004 08:12:36 +1000 Subject: [AccessD] check if ADO command was successful? In-Reply-To: <123701F54509D9119A4F00D0B747349016CFE0@main2.marlow.com> Message-ID: <41679D74.24841.3635AD8@lexacorp.com.pg> On 8 Oct 2004 at 9:57, DWUTKA at marlow.com wrote: > Dim intRecordsAffected As Long -- Stuart From DWUTKA at marlow.com Fri Oct 8 17:25:23 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Oct 2004 17:25:23 -0500 Subject: [AccessD] check if ADO command was successful? Message-ID: <123701F54509D9119A4F00D0B747349016CFF1@main2.marlow.com> Well, that's what I would dimension it as! ;p Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, October 08, 2004 5:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] check if ADO command was successful? On 8 Oct 2004 at 9:57, DWUTKA at marlow.com wrote: > Dim intRecordsAffected As Long -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From thewaddles at sbcglobal.net Sun Oct 10 00:31:25 2004 From: thewaddles at sbcglobal.net (Kevin Waddle) Date: Sat, 9 Oct 2004 22:31:25 -0700 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> Message-ID: <200410100531.i9A5V5L06142@databaseadvisors.com> Augusta, Please excuse the length of this reply...it took much longer to explain than it would to accomplish. You can solve the Check Box problem and you data normalization problem in the manner listed below. If you have a TextBox to hold the reason for restriction there is nothing to prevent User1 from entering "Because he's broke" and User2 entering "He gots no money". The same reason but not way to determine how many customers are broke from this data. You need a ComboBox listing all the reasons Example: 1. Create a table named tblRestrictions 1.1. Add two fields to the table; RestrictionID as an AutoNumber and ReasonForRestriction as a Text field 1.2. Close the table and enter into the table all the reasons that contributions could be restricted. Your first reason should be something like N/A or No 2. Open your main table in design mode and add a field in your main table named ContibutionsRestricted 2.1. From the Data Type as dropdown select LookUp Wizard 2.2. A dialog box will appear; Select "I want the lookup column to lookup the values in a table or query" 2.3. Click Next, then select tblRestrictions from the list. 2.4. Click Next, then select ReasonForRestriction from the list and click the > button 2.5. Click Next, then the dialog will allow you to sort the ReasonForRestriction by the AutoNumber or text 2.6. Click Next, then the dialog will show you the data selected and a checkbox titled "Hide Key Column (Recommended)" leave this checked 2.7. Click Next, then the dialog will ask you for a name for your new field 2.8. Click Finish 3. You will be back at the Design View with a Popup saying "The table must be saved before relationships can be created, Save Now?" Yes / No, Click Yes 4. Your new field, ContibutionsRestricted, shows in your table with a data type of Number. You have just created a One-to-Many relationship between the RestrictionID field in the table tblRestrictions (One Side) and the ContibutionsRestricted field (Many Side) in the main table. What is actually stored in the main table is the number that corresponds to the ReasonForRestriction from the table tblRestrictions. If you add this field to a form it will be a ComboBox from which you can select your reasons. In your form design you can set the "Default Value" property to 1 so that any new customers will default to N/A Hope this helps, Kevin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004 From ssharkins at bellsouth.net Sun Oct 10 10:05:46 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 10 Oct 2004 11:05:46 -0400 Subject: [AccessD] inner workings of operators Message-ID: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. From jwcolby at colbyconsulting.com Sun Oct 10 10:22:43 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 10 Oct 2004 11:22:43 -0400 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <000c01c4aedd$011475a0$e8dafea9@ColbyM6805> Me too John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, October 10, 2004 11:06 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Oct 10 10:43:33 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Oct 2004 17:43:33 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <000c01c4aedd$011475a0$e8dafea9@ColbyM6805> References: <000c01c4aedd$011475a0$e8dafea9@ColbyM6805> Message-ID: <7719690433.20041010174333@cactus.dk> Hi John > Me too Ehh ... why? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows of > such documentation, I'd be grateful for a link. From starkey at wanadoo.nl Sun Oct 10 10:50:16 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 10 Oct 2004 17:50:16 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041010154642.A1E6E97FB@smtp5.wanadoo.nl> First of all this might differ from engine to engine though I have found something where methods are mentioned on how things might be interpreted, interesting but maybe not yet enough information but hey it's Sunday;-) (I'll give it another try lateron:-)) Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: zondag 10 oktober 2004 17:06 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0441-2, 08-10-2004 Getest op: 10-10-2004 17:50:16 avast! auteursrecht (c) 2000-2004 ALWIL Software. From starkey at wanadoo.nl Sun Oct 10 10:57:44 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 10 Oct 2004 17:57:44 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041010155410.EEBE29411@smtp5.wanadoo.nl> LOL... I was so much looking for this stuff I forgot to insert the link!!!! Sorry:-) http://www.lextek.com/manuals/profiler/LANG_Intro.html Just as an example though... -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: zondag 10 oktober 2004 17:06 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0441-2, 08-10-2004 Getest op: 10-10-2004 17:57:44 avast! auteursrecht (c) 2000-2004 ALWIL Software. From starkey at wanadoo.nl Sun Oct 10 11:34:38 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 10 Oct 2004 18:34:38 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041010163104.090359ABF@smtp5.wanadoo.nl> Ok just some more info on Operators Logical http://www.utexas.edu/math/Matlab/Manual/Logical.html http://www.physiol.ox.ac.uk/Computing/Online_Documentation/JavaScript/ops.ht m SQL Oracle IN statement: www.dbspecialists.com/presentations/tunesql.doc Pfff hard to find indeed...! Seems like subsets of data are used in the background for evaluation resulting in a set that meets the conditions:-) Ohwell must be someone able to find more... Gustav?:-) Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: zondag 10 oktober 2004 17:06 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0441-2, 08-10-2004 Getest op: 10-10-2004 18:34:37 avast! auteursrecht (c) 2000-2004 ALWIL Software. From gustav at cactus.dk Sun Oct 10 12:03:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Oct 2004 19:03:36 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010163104.090359ABF@smtp5.wanadoo.nl> References: <20041010163104.090359ABF@smtp5.wanadoo.nl> Message-ID: <12624493239.20041010190336@cactus.dk> Hi Eric > Ohwell must be someone able to find more... Gustav?:-) I would be happy to do so - if I only knew what to look for? I mean - I know what In and Or mean but can't see how I can influence a lot on how they work "behind the scenes", neither do I care that much. Am I missing something? I'm not about to build my own search engine - but would that be a purpose? Could be nice with a quick search in memo fields. Hasn't Drew worked with this? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows of > such documentation, I'd be grateful for a link. From ssharkins at bellsouth.net Sun Oct 10 14:06:13 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 10 Oct 2004 15:06:13 -0400 Subject: [AccessD] inner workings of operators In-Reply-To: <7719690433.20041010174333@cactus.dk> Message-ID: <20041010190634.GWRX1786.imf19aec.mail.bellsouth.net@SUSANONE> Knowing how it works behind the scenes can often help you write more efficient code. Also, can help you decide which choices will perform better. With today's system, it hardly matters anymore unless you're dealing with zads of records, but it's still the kind of stuff developers want to know. Susan H. Hi John > Me too Ehh ... why? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows > of such documentation, I'd be grateful for a link. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sun Oct 10 16:27:07 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 10 Oct 2004 21:27:07 +0000 Subject: [AccessD] Bush Kerry Debate Message-ID: Is it true George Bush wore a radio receiver strapped to his back during the last debate with Kerry. Just watch it on the news here. they showed a close up of his back and the outline of a rectangle under the back of his jacket and a wire running up to his ear. Martin From andy at minstersystems.co.uk Sun Oct 10 16:46:13 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 10 Oct 2004 22:46:13 +0100 Subject: [AccessD] Bush Kerry Debate In-Reply-To: Message-ID: <000501c4af12$906448e0$b274d0d5@minster33c3r25> I'd hazard a guess that was meant for the OT list Martin. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 10 October 2004 22:27 > To: Access Developers discussion and problem solving > Subject: [AccessD] Bush Kerry Debate > > > Is it true George Bush wore a radio receiver strapped to his > back during > the last debate with Kerry. Just watch it on the news here. > they showed a > close up of his back and the outline of a rectangle under the > back of his > jacket and a wire running up to his ear. > > Martin > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From ssharkins at bellsouth.net Sun Oct 10 17:03:24 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 10 Oct 2004 18:03:24 -0400 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010155410.EEBE29411@smtp5.wanadoo.nl> Message-ID: <20041010220323.JJHJ1786.imf19aec.mail.bellsouth.net@SUSANONE> Thanks Starkey -- I may find something in that. Susan H. LOL... I was so much looking for this stuff I forgot to insert the link!!!! Sorry:-) http://www.lextek.com/manuals/profiler/LANG_Intro.html Just as an example though... From michael at ddisolutions.com.au Mon Oct 11 01:40:48 2004 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 11 Oct 2004 16:40:48 +1000 Subject: [AccessD] VB6 grid question Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01011C19@ddi-01.DDI.local> Which grid are you using? A simple solution might be to alias your field names using either a view or query. I use a custom grid (Janus) as do most others, the standard ones are pretty ugly to work with... regards Michael M Hey I have a form in VB6 that is taking data from Oracle table and shows it in Grid The column headers in grid show as they are on the table, what should I do ro show them differently in the grid ? thank you Oleg ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Oct 11 02:55:42 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 Oct 2004 08:55:42 +0100 Subject: [AccessD] Bush Kerry Debate References: <000501c4af12$906448e0$b274d0d5@minster33c3r25> Message-ID: <001401c4af67$b502ac00$9111758f@aine> Opps Apologies all Martin ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 10, 2004 10:46 PM Subject: RE: [AccessD] Bush Kerry Debate > I'd hazard a guess that was meant for the OT list Martin. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >> Sent: 10 October 2004 22:27 >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Bush Kerry Debate >> >> >> Is it true George Bush wore a radio receiver strapped to his >> back during >> the last debate with Kerry. Just watch it on the news here. >> they showed a >> close up of his back and the outline of a rectangle under the >> back of his >> jacket and a wire running up to his ear. >> >> Martin >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From serbach at new.rr.com Mon Oct 11 03:11:17 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 11 Oct 2004 03:11:17 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <4813187803.20041005124050@cactus.dk> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> Message-ID: <20041011031117.1553474484.serbach@new.rr.com> Gustav and Jim, Things worked out all right after I reformatted the drive and re-installed Office 2000 Premium and the Access 2000 Runtime application. It looks like it was an unfortunate sequence of events resulting from 1) a serious virus infestation, and 2) the misunderstanding of the Runtime application by the people hired at first to re-format the drive. It now looks like an older version of the Runtime application was installed. That older version used Access 97 Runtime. Then, I think, Office 2000 Premium was installed and then the update to the Runtime app to convert it to Access Runtime 2000...I can't really say. I wasn't there. Anyway, the effect was that they experienced the wierd number disappearances in any Access report. That's fixed now and I'm tired of trying to figure out what happened. Do you ever get that way? Steve Erbach Neenah, WI From roz.clarke at donnslaw.co.uk Mon Oct 11 04:11:27 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 11 Oct 2004 10:11:27 +0100 Subject: [AccessD] Chart Problem Message-ID: <61F915314798D311A2F800A0C9C8318805CED5DD@dibble.observatory.donnslaw.co.uk> Hi Jim Did you manage to solve this one? I have to say I'm struggling to imagine a pie-chart based on 2 values - what do you want it to look like? Sorry I can't be more help Roz -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: 07 October 2004 19:37 To: AccessD Subject: [AccessD] Chart Problem Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Mon Oct 11 04:57:23 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Oct 2004 11:57:23 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041011031117.1553474484.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> <20041011031117.1553474484.serbach@new.rr.com> Message-ID: <15811050820.20041011115723@cactus.dk> Hi Steven > Anyway, the effect was that they experienced the wierd number > disappearances in any Access report. That's fixed now and I'm tired > of trying to figure out what happened. Do you ever get that way? It happens - and remember: Users lie! /gustav From serbach at new.rr.com Mon Oct 11 05:18:40 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 11 Oct 2004 05:18:40 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <15811050820.20041011115723@cactus.dk> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> <20041011031117.1553474484.serbach@new.rr.com> <15811050820.20041011115723@cactus.dk> Message-ID: <20041011051840.1309280929.serbach@new.rr.com> Gustav, >> It happens - and remember: Users lie! << In this case the user's report was entirely accurate: numerals did not appear in any form in the Access report previewer: dates, page numbers, phone numbers, as well as regular numbers. The formatting marks (dollar signs, commas, hyphens, parentheses, etc.) would all appear in their proper places. It just looked like the numbers were white-on-white. Steve Erbach Neenah, WI From gustav at cactus.dk Mon Oct 11 06:35:02 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Oct 2004 13:35:02 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041011051840.1309280929.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> <20041011031117.1553474484.serbach@new.rr.com> <15811050820.20041011115723@cactus.dk> <20041011051840.1309280929.serbach@new.rr.com> Message-ID: <5016909484.20041011133502@cactus.dk> Hi Steven >>> It happens - and remember: Users lie! << It relates to "what has happened" and "what did you do"? > In this case the user's report was entirely accurate: numerals did not appear in any form in the Access report previewer: dates, page numbers, phone numbers, as well as regular numbers. The > formatting marks (dollar signs, commas, hyphens, parentheses, etc.) would all appear in their proper places. It just looked like the numbers were white-on-white. /gustav From kost36 at otenet.gr Mon Oct 11 06:51:55 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 11 Oct 2004 14:51:55 +0300 Subject: [AccessD] How to get bold only the left string of a field... References: Message-ID: <00ca01c4af88$cb14fd60$0100a8c0@KOST36> Hi all, I use a query like Name:[first_name]&" "&[last_name]&", "&[job]..... bla bla Is it possible to get bold only the first_name? thank's kostas konstanitnidis From JHewson at karta.com Mon Oct 11 07:47:24 2004 From: JHewson at karta.com (Jim Hewson) Date: Mon, 11 Oct 2004 07:47:24 -0500 Subject: [AccessD] Memo field / Text Box issue Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BD9@karta-exc-int.Karta.com> December of last year Gustav gave us this link. http://www.lebans.com/Report.htm#MixBold I haven't tried it yet... but it looks promising. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Friday, October 08, 2004 11:22 AM To: AccessD Subject: [AccessD] Memo field / Text Box issue I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Mon Oct 11 07:53:55 2004 From: JHewson at karta.com (Jim Hewson) Date: Mon, 11 Oct 2004 07:53:55 -0500 Subject: [AccessD] Chart Problem Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BDA@karta-exc-int.Karta.com> Roz, I did figure it out, thank you. It's actually three values. The record ID is the third value that doesn't show. I was trying to create two pie charts. One pie chart shows the percentage of direct pay vs indirect pay (medical, dental, etc.); the other Company contributions vs employee contributions for benefits. Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, October 11, 2004 4:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Chart Problem Hi Jim Did you manage to solve this one? I have to say I'm struggling to imagine a pie-chart based on 2 values - what do you want it to look like? Sorry I can't be more help Roz -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: 07 October 2004 19:37 To: AccessD Subject: [AccessD] Chart Problem Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. From cfoust at infostatsystems.com Mon Oct 11 10:19:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Oct 2004 08:19:22 -0700 Subject: [AccessD] inner workings of operators Message-ID: Are you talking about the logical operators in SQL? Joe Celko's books get into that as I recall. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Sunday, October 10, 2004 8:06 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Mon Oct 11 12:16:45 2004 From: MPorter at acsalaska.com (Porter, Mark) Date: Mon, 11 Oct 2004 09:16:45 -0800 Subject: [AccessD] inner workings of operators Message-ID: <635B80FE6C7D5A409586A6A110D97D170E4E41@ACSANCHOR.corp.acsalaska.com> In the vein of optimization of SQL, I got a wealth of very specific information from this book and it might be worth a look; http://www.amazon.com/exec/obidos/tg/detail/-/159059164X/qid=1097514715/sr=8-4/ref=sr_8_xs_ap_i4_xgl14/102-7440773-1342551?v=glance&s=books&n=507846 And SQL performance does matter, even in today's systems. Your low use database you create for 20 users today could become a component of a web enabled database with global availability tomorrow. Mark > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Susan Harkins > Sent: Sunday, October 10, 2004 11:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] inner workings of operators > > > Knowing how it works behind the scenes can often help you write more > efficient code. Also, can help you decide which choices will > perform better. > With today's system, it hardly matters anymore unless you're > dealing with > zads of records, but it's still the kind of stuff developers > want to know. > > Susan H. > > > > Hi John > > > Me too > > Ehh ... why? > > /gustav > > > > I'm looking for technical explanation of how In and Or work > behind the > > scenes -- don't need a tutorial on how to use either operator, just > > interested in how the engine interprets and uses them. If > anyone knows > > of such documentation, I'd be grateful for a link. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS From Oleg_123 at xuppa.com Mon Oct 11 17:37:39 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 11 Oct 2004 18:37:39 -0400 (EDT) Subject: [AccessD] OT: Bush Kerry Debate In-Reply-To: <001401c4af67$b502ac00$9111758f@aine> References: <000501c4af12$906448e0$b274d0d5@minster33c3r25> <001401c4af67$b502ac00$9111758f@aine> Message-ID: <48883.216.223.34.13.1097534259.squirrel@heck.xuppa.com> how came I didn't see any messages as per debate ? do I have to regisster separately ? > Opps > > Apologies all > > > Martin > > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 10, 2004 10:46 PM > Subject: RE: [AccessD] Bush Kerry Debate > > >> I'd hazard a guess that was meant for the OT list Martin. >> >> -- Andy Lacey >> http://www.minstersystems.co.uk >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin >>> Reid Sent: 10 October 2004 22:27 >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Bush Kerry Debate >>> >>> >>> Is it true George Bush wore a radio receiver strapped to his >>> back during >>> the last debate with Kerry. Just watch it on the news here. >>> they showed a >>> close up of his back and the outline of a rectangle under the >>> back of his >>> jacket and a wire running up to his ear. >>> >>> Martin >>> -- >>> _______________________________________________ >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From Subscriptions at servicexp.com Mon Oct 11 17:59:01 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 11 Oct 2004 18:59:01 -0400 Subject: [AccessD] Ohms Calculations In-Reply-To: <48883.216.223.34.13.1097534259.squirrel@heck.xuppa.com> Message-ID: Has anyone already wrote out the calculations for the Ohms Laws in vb? i.e... P / E = I Square Root of (P / R) = I E / R = I etc... Thanks Robert Gracie From d.dick at uws.edu.au Mon Oct 11 18:22:50 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 12 Oct 2004 09:22:50 +1000 Subject: [AccessD] Memo field / Text Box issue In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C02068BD9@karta-exc-int.Karta.com> Message-ID: <200410112322.i9BNMuXH014427@cooper.uws.edu.au> Hi Jeff On forms that have text boxes that are too small, because of real estate issues, to display all the text they can hold, I give a "double click to add/edit data in this field" option. User double clicks and up pops my own hand rolled unbound 'zoom' box. Bigger than the Shift/F2 version (You can add extra features as required) I pass the relevant value to it when opened - allow edits to take place there and save changes once it's closed and refresh the 'calling' field on the 'calling' form HTH Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Monday, 11 October 2004 10:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Memo field / Text Box issue December of last year Gustav gave us this link. http://www.lebans.com/Report.htm#MixBold I haven't tried it yet... but it looks promising. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Friday, October 08, 2004 11:22 AM To: AccessD Subject: [AccessD] Memo field / Text Box issue I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Oct 11 21:16:31 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 12 Oct 2004 12:16:31 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328038549@starfleet.unknown.local> Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad From kost36 at otenet.gr Tue Oct 12 00:22:24 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 12 Oct 2004 08:22:24 +0300 Subject: [AccessD] Memo field / Text Box issue References: <9C382E065F54AE48BC3AA7925DCBB01C02068BD9@karta-exc-int.Karta.com> Message-ID: <001b01c4b01b$82a69fa0$0100a8c0@KOST36> Jim, fixed thank's kostas konstantinidis ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Monday, October 11, 2004 3:47 PM Subject: RE: [AccessD] Memo field / Text Box issue > > December of last year Gustav gave us this link. > http://www.lebans.com/Report.htm#MixBold > I haven't tried it yet... but it looks promising. > HTH > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows > Sent: Friday, October 08, 2004 11:22 AM > To: AccessD > Subject: [AccessD] Memo field / Text Box issue > > > I have a field in a table which is a Memo Field. > On the form, I am using a text box to hold the data. > The field shows 300+ characters in the table, but when I view it in a form > (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 > characters. > When I send the data to an MS Word document, everything is there. > When I close the document and the form, then reopen the form, the data > still will not appear in the Zoom Viewer. > But if I check the table itself, all of the data is there. > > Any ideas on why I cannot view ALL of the data in the field??? > > TIA > > Jeff B > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Oct 12 01:34:05 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 12 Oct 2004 07:34:05 +0100 Subject: [AccessD] OT: Bush Kerry Debate In-Reply-To: <48883.216.223.34.13.1097534259.squirrel@heck.xuppa.com> Message-ID: <000901c4b025$78fc0f80$b274d0d5@minster33c3r25> Oleg Such topics are banned from this list. We do, however, have a separate list for those who want to discuss politics, religion, life, the meaning of the universe etc. It's called the OT (off-topic) list. You can subscribe to that. See instructions on the web site. Go to http://www.databaseadvisors.com/lists/whatandhow.htm -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oleg_123 at xuppa.com > Sent: 11 October 2004 23:38 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Bush Kerry Debate > > > how came I didn't see any messages as per debate ? do I have > to regisster separately ? > > > Opps > > > > Apologies all > > > > > > Martin > > > > > > ----- Original Message ----- > > From: "Andy Lacey" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Sunday, October 10, 2004 10:46 PM > > Subject: RE: [AccessD] Bush Kerry Debate > > > > > >> I'd hazard a guess that was meant for the OT list Martin. > >> > >> -- Andy Lacey > >> http://www.minstersystems.co.uk > >> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > >>> Reid Sent: 10 October 2004 22:27 > >>> To: Access Developers discussion and problem solving > >>> Subject: [AccessD] Bush Kerry Debate > >>> > >>> > >>> Is it true George Bush wore a radio receiver strapped to his back > >>> during the last debate with Kerry. Just watch it on the news here. > >>> they showed a > >>> close up of his back and the outline of a rectangle under the > >>> back of his > >>> jacket and a wire running up to his ear. > >>> > >>> Martin > >>> -- > >>> _______________________________________________ > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >>> > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > Make Money and Find Love at Finally.com > http://www.finally.com/?link=webmail > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Tue Oct 12 03:26:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Oct 2004 10:26:26 +0200 Subject: [AccessD] Ohms Calculations In-Reply-To: References: Message-ID: <956281682.20041012102626@cactus.dk> Hi Robert Use Sqr(P / R) or (P / R)^(1 / 2) /gustav > Has anyone already wrote out the calculations for the Ohms Laws in vb? > i.e... > P / E = I > Square Root of (P / R) = I > E / R = I > etc... > Thanks > Robert Gracie From cyx5 at cdc.gov Tue Oct 12 05:27:35 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 12 Oct 2004 06:27:35 -0400 Subject: [AccessD] Memo field / Text Box issue Message-ID: Care to share your bigger than shift-f2 function? Sounds interesting. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, October 11, 2004 7:23 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Memo field / Text Box issue Hi Jeff On forms that have text boxes that are too small, because of real estate issues, to display all the text they can hold, I give a "double click to add/edit data in this field" option. User double clicks and up pops my own hand rolled unbound 'zoom' box. Bigger than the Shift/F2 version (You can add extra features as required) I pass the relevant value to it when opened - allow edits to take place there and save changes once it's closed and refresh the 'calling' field on the 'calling' form HTH Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Monday, 11 October 2004 10:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Memo field / Text Box issue December of last year Gustav gave us this link. http://www.lebans.com/Report.htm#MixBold I haven't tried it yet... but it looks promising. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Friday, October 08, 2004 11:22 AM To: AccessD Subject: [AccessD] Memo field / Text Box issue I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joconnell at indy.rr.com Tue Oct 12 08:59:51 2004 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Tue, 12 Oct 2004 08:59:51 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <085e01c4b063$d0bcc6e0$6701a8c0@joe> Vlad, Is there a reason that the form cannot be bound to the table/query/SQL that is used to populate the recordset? Joe O'Connell -----Original Message----- From: ACTEBS To: access group Date: Monday, October 11, 2004 9:23 PM Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 12 10:20:57 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Oct 2004 08:20:57 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 10:23:51 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 11:23:51 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012152353.GSTH2413.imf21aec.mail.bellsouth.net@SUSANONE> I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust From roz.clarke at donnslaw.co.uk Tue Oct 12 10:37:29 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 12 Oct 2004 16:37:29 +0100 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <61F915314798D311A2F800A0C9C8318805CED5FD@dibble.observatory.donnslaw.co.uk> At the risk of being contentious... if you want to look at the recordset as if it was bound, and for it to behave as if it was bound... why not bind it? ;) Roz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 12 October 2004 16:21 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From actebs at actebs.com.au Tue Oct 12 10:48:28 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 01:48:28 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD50558332803854C@starfleet.unknown.local> **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Oct 12 10:50:43 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 11:50:43 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF91F@DISABILITYINS01> Uh oh, here we go... John W. Colby The DIS Database Guy -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, October 12, 2004 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form At the risk of being contentious... if you want to look at the recordset as if it was bound, and for it to behave as if it was bound... why not bind it? ;) Roz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 12 October 2004 16:21 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Oct 12 10:59:49 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Oct 2004 08:59:49 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: If you set the recordset property, you still have a bound form. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, October 12, 2004 8:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Oct 12 11:06:09 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 02:06:09 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328041BBE@starfleet.unknown.local> Susan, I'm not sure what you mean by the "forms recordset" property. The Help MS provides with this property is more to do with using it like: Set rst = me.recordset................ But that is assuming you have a bound form to a query or table. Is there another method you have in mind that I'm missing? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 13 October 2004 1:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 11:16:17 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 12:16:17 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012161622.KEEO2494.imf18aec.mail.bellsouth.net@SUSANONE> So the issue is updatability? Forcing a snapshot Recordset should solve that problem. Susan H. If you set the recordset property, you still have a bound form. From ssharkins at bellsouth.net Tue Oct 12 11:16:17 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 12:16:17 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012161629.KEGY2494.imf18aec.mail.bellsouth.net@SUSANONE> Oh... Oh... I see what they're after. I was confused -- forgive me. ;) Susan H. If you set the recordset property, you still have a bound form. From ssharkins at bellsouth.net Tue Oct 12 11:21:25 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 12:21:25 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BBE@starfleet.unknown.local> Message-ID: <20041012162126.KIYS2494.imf18aec.mail.bellsouth.net@SUSANONE> You create the recordset object, set the Form.Recordset property to equal the recordset... Form.Recordset = rst Works with controls too: Form.Control.Recordset = rst!field But then, I'm not sure I'm understanding the problem. So, you might want to just ignore me. And, I'm not positive it would even work. What exactly is the issue? There are lots of ways to populate a form without using a Recordset. Are you stuck with a Recordset object? Beyond that, what's the problem -- you don't want the form to update the underlying source? If that's the case, use a Snapshot Recordset object -- ADO's aren't updateable, I don't remember about DAO though. Susan H. Susan, I'm not sure what you mean by the "forms recordset" property. The Help MS provides with this property is more to do with using it like: Set rst = me.recordset................ But that is assuming you have a bound form to a query or table. Is there another method you have in mind that I'm missing? From jimdettman at earthlink.net Tue Oct 12 11:59:38 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 12 Oct 2004 12:59:38 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328038549@starfleet.unknown.local> Message-ID: Vlad, I've done this in other languages, but not in Access, but the technique would be similar. Basically, you'd be duplicating everything that Access does for a bound form. You'd have a form with a series of unbound text boxes to form the rows. Using the absolute position property, you'd keep track of which row is the "top" row in your current display. Initially, you'd paint the rows by looping through the recordset from that point forward by the number of rows on your form. In the past, I've maintained the current rows in an array, which made scrolling up/down faster as I would only need to fetch the new record, copy it to the array, then put the array on the screen. Rather then moving elements within the array, I'd simply keep track of which element was first on the screen. For example, the if there were 15 rows and the user had scrolled down 5 rows, element 6 would be the top row and element 5 would be the last row. I'd paint the screen by going 6 - 15, then 1 - 5. Updating was accomplished by having the use scroll a record to the middle of the screen (it was surrounded by a box to make it stand out), then pressing "U" for update. This applied for deletes as well. I also allowed the user to page up/down one screen at a time. In this way, your in total control of everything. However with A2K and up, the ability to bind a recordset in code to a forms recordsource has really taken away the last excuse for using an unbound form (putting work into a transaction). Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, October 11, 2004 10:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 12 12:12:28 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Oct 2004 10:12:28 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 9:06 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form Susan, I'm not sure what you mean by the "forms recordset" property. The Help MS provides with this property is more to do with using it like: Set rst = me.recordset................ But that is assuming you have a bound form to a query or table. Is there another method you have in mind that I'm missing? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 13 October 2004 1:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Oct 12 12:24:02 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 13:24:02 -0400 Subject: [AccessD] inner workings of operators Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF920@DISABILITYINS01> I just bought this book. http://www.amazon.com/exec/obidos/ASIN/0596005733/qid=1097601592/sr=2-1/ref= pd_ka_2_1/102-0324991-1214550 I have just started reading it but it is definitely educational. Let me know how much I don't know. ;-) It also has a good tutorial about indexes and how they actually work, btrees and all that, plus what happens in an index when you insert, delete and update the data (field) the index is on. John W. Colby The DIS Database Guy -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Monday, October 11, 2004 1:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] inner workings of operators In the vein of optimization of SQL, I got a wealth of very specific information from this book and it might be worth a look; http://www.amazon.com/exec/obidos/tg/detail/-/159059164X/qid=1097514715/sr=8 -4/ref=sr_8_xs_ap_i4_xgl14/102-7440773-1342551?v=glance&s=books&n=507846 And SQL performance does matter, even in today's systems. Your low use database you create for 20 users today could become a component of a web enabled database with global availability tomorrow. Mark > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Susan Harkins > Sent: Sunday, October 10, 2004 11:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] inner workings of operators > > > Knowing how it works behind the scenes can often help you write more > efficient code. Also, can help you decide which choices will > perform better. > With today's system, it hardly matters anymore unless you're > dealing with > zads of records, but it's still the kind of stuff developers > want to know. > > Susan H. > > > > Hi John > > > Me too > > Ehh ... why? > > /gustav > > > > I'm looking for technical explanation of how In and Or work > behind the > > scenes -- don't need a tutorial on how to use either operator, just > > interested in how the engine interprets and uses them. If > anyone knows > > of such documentation, I'd be grateful for a link. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > **************************************************************************** ******* This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 12:25:19 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 13:25:19 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012172521.GVDG2444.imf19aec.mail.bellsouth.net@SUSANONE> I'm probably missing something real obvious here, but this worked for me. I used AutoForm to create a quick form on Employees, then changed it to a Continuous form and deleted the RecordSource property. All the controls remained intact with their default Name and Control Source property settings. Then, I used the following code to populate the form: Private Sub Form_Load() Dim rst As ADODB.Recordset Set rst = New ADODB.Recordset rst.Open "Employees", CurrentProject.Connection, adOpenStatic Set Me.Recordset = rst End Sub Worked for me -- form is still continuous and it doesn't update the underlying source. It's strictly a browsing form. If you wanted to update, you could change the adOpenStatic setting. I didn't spend much time testing it either, so I may be missing something. Susan H. The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. From JColby at dispec.com Tue Oct 12 12:47:38 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 13:47:38 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF921@DISABILITYINS01> What you are missing is that Vlad is a glutton for punishment. John W. Colby The DIS Database Guy -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, October 12, 2004 1:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I'm probably missing something real obvious here, but this worked for me. I used AutoForm to create a quick form on Employees, then changed it to a Continuous form and deleted the RecordSource property. All the controls remained intact with their default Name and Control Source property settings. Then, I used the following code to populate the form: Private Sub Form_Load() Dim rst As ADODB.Recordset Set rst = New ADODB.Recordset rst.Open "Employees", CurrentProject.Connection, adOpenStatic Set Me.Recordset = rst End Sub Worked for me -- form is still continuous and it doesn't update the underlying source. It's strictly a browsing form. If you wanted to update, you could change the adOpenStatic setting. I didn't spend much time testing it either, so I may be missing something. Susan H. The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 13:35:02 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 14:35:02 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF921@DISABILITYINS01> Message-ID: <20041012183558.KBOV2383.imf24aec.mail.bellsouth.net@SUSANONE> So, is the solution that simple or did I miss something earlier? Susan H. Subject: RE: [AccessD] Recordset to a Continuous Form What you are missing is that Vlad is a glutton for punishment. From JColby at dispec.com Tue Oct 12 13:51:34 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 14:51:34 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF922@DISABILITYINS01> What you missed is that he specifically does NOT want to go the bound route, just for the pure joy of learning something new. Your solution is, in the end, a bound solution. If it were ME, I'd learn something useful like classes and withevents (though he might very well be a pro at that by now). ;-) John W. Colby The DIS Database Guy -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, October 12, 2004 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form So, is the solution that simple or did I miss something earlier? Susan H. Subject: RE: [AccessD] Recordset to a Continuous Form What you are missing is that Vlad is a glutton for punishment. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Tue Oct 12 16:53:02 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Tue, 12 Oct 2004 17:53:02 -0400 Subject: [AccessD] Ohms Calculations In-Reply-To: <956281682.20041012102626@cactus.dk> Message-ID: Thanks A Million!! Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, October 12, 2004 4:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ohms Calculations Hi Robert Use Sqr(P / R) or (P / R)^(1 / 2) /gustav > Has anyone already wrote out the calculations for the Ohms Laws in vb? > i.e... > P / E = I > Square Root of (P / R) = I > E / R = I > etc... > Thanks > Robert Gracie -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 20:46:10 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 11:46:10 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: <005401c4b0c6$6ade4020$6501a8c0@user> I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: -------------------------------------------------------------------------------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function -------------------------------------------------------------------------------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From d.dick at uws.edu.au Tue Oct 12 21:31:41 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Oct 2004 12:31:41 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <005401c4b0c6$6ade4020$6501a8c0@user> Message-ID: <200410130231.i9D2VnXH020887@cooper.uws.edu.au> Hi Kath Is this DAO? If it is I think you have to declare the db bit somewhere You have Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) But I cant see a dimension of the db paramter in you code (Is your code snipped?) If it's missing try db = currentdb or something like that -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ---------------------------------------------------------------------------- ---- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ---------------------------------------------------------------------------- ---- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Oct 12 21:50:28 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 12:50:28 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: <2025BB6F17FCB54791F23CD505583328041BBF@starfleet.unknown.local> Kath, Maybe like this: Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As DAO.Database '>>>>>>>>>I changed this Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE '>>>>>>>>>>>>>>Made a few changes here If rs.recordcount > 0 then Rs.movefirst Do Until rs.EOF With rs .Edit VarEmailto = .Fields("LoginEmail") .Update End With rs.movenext loop End if 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Rs.close Set rs = nothing Db.close Set db = nothing HTH. You will need to check over it as I did it off the top of my head, but you'll get the idea anyway... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ------------------------------------------------------------------------ -------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ------------------------------------------------------------------------ -------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ 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 Oct 12 22:00:23 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 13 Oct 2004 13:00:23 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <005401c4b0c6$6ade4020$6501a8c0@user> Message-ID: <416D26E7.19952.6509EBC@lexacorp.com.pg> On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart From dw-murphy at cox.net Tue Oct 12 22:04:01 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Tue, 12 Oct 2004 23:04:01 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: <20041013030401.GFKB24021.fed1rmmtao01.cox.net@smtp.west.cox.net> Hi Kath, You need to add your query parameters to the parameters collection. I am away from my references now so can't give a good example, but look in the Developers Handbook under recordsets based on queries. They give the code for doing this. It is DAO. Doug > > From: "ACTEBS" > Date: 2004/10/12 Tue PM 10:50:28 EDT > To: "Access Developers discussion and problem solving" > > Subject: RE: [AccessD] Help with syntax please....OpenRecordset > > Kath, > > Maybe like this: > > Dim strerrormsg, strsql, StrQueryName As String > Dim VarEmailto As Variant > Dim intrecno, IntWebLetterID As Integer > Dim db As DAO.Database '>>>>>>>>>I changed this > Dim rs As DAO.Recordset > > Set db = CurrentDb > > > StrQueryName = "QryWebLetter_ReadRecipientsEmail" > > Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open > recordset on saved query ERROR HERE > > '>>>>>>>>>>>>>>Made a few changes here > If rs.recordcount > 0 then > Rs.movefirst > Do Until rs.EOF > With rs > .Edit > VarEmailto = .Fields("LoginEmail") > .Update > End With > rs.movenext > loop > End if > > 'MsgBox ("Going to " & VarEmailto) > > 'Call Send_Email(VarEmailto, StrNamePDFFile) > > Rs.close > Set rs = nothing > Db.close > Set db = nothing > > HTH. You will need to check over it as I did it off the top of my head, > but you'll get the idea anyway... > > Vlad > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Wednesday, 13 October 2004 11:46 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Help with syntax please....OpenRecordset > > > I am trying to use a saved query for my recordset source....but keep > getting an error 'Too few parameters - expected 1' on the line 'Set rs = > ' After many hours, I can't fix it so would appreciate the help..... > > > Code: > > ------------------------------------------------------------------------ > -------- > > Public Function EmailWebLetterRecipients() > Dim strerrormsg, strsql, StrQueryName As String > Dim VarEmailto As Variant > Dim intrecno, IntWebLetterID As Integer > Dim db As Database > Dim rs As DAO.Recordset > Set db = CurrentDb > > > StrQueryName = "QryWebLetter_ReadRecipientsEmail" > > Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open > recordset on saved query ERROR HERE > > With rs > .MoveFirst > .Edit > > VarEmailto = .Fields("LoginEmail") > .Update > .close > End With > 'MsgBox ("Going to " & VarEmailto) > > 'Call Send_Email(VarEmailto, StrNamePDFFile) > > Normal_exit: > DoCmd.SetWarnings True > Exit Function > > Err_Handler: > MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, > strerrormsg, Err.Description), vbCritical, "Error Message" > Resume Normal_exit > End Function > > > ------------------------------------------------------------------------ > -------- > > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.net > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Tue Oct 12 22:05:11 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:05:11 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <200410130231.i9D2VnXH020887@cooper.uws.edu.au> Message-ID: <009801c4b0d1$74607b30$6501a8c0@user> Darren - thanks for you help offline.... It appears that the code will run when I replace this query with a simpler one - so I will play with that..... Kath ----- Original Message ----- From: Darren DICK To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 13, 2004 12:31 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset Hi Kath Is this DAO? If it is I think you have to declare the db bit somewhere You have Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) But I cant see a dimension of the db paramter in you code (Is your code snipped?) If it's missing try db = currentdb or something like that -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ---------------------------------------------------------------------------- ---- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ---------------------------------------------------------------------------- ---- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 22:08:17 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:08:17 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <2025BB6F17FCB54791F23CD505583328041BBF@starfleet.unknown.local> Message-ID: <00a001c4b0d1$e32988e0$6501a8c0@user> Thanks Vlad - I thought that was the problem too....but it seems that it just doesn't like my query even though the query runs fine in the normal access window. I may have to change it to an sql statement. Sigh - I had already tried that this morning but just couldn't get the syntax right .... I will have another go at the sql syntax and if I can't nail it post back. Thanks Kath ----- Original Message ----- From: ACTEBS To: Access Developers discussion and problem solving Sent: Wednesday, October 13, 2004 12:50 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset Kath, Maybe like this: Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As DAO.Database '>>>>>>>>>I changed this Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE '>>>>>>>>>>>>>>Made a few changes here If rs.recordcount > 0 then Rs.movefirst Do Until rs.EOF With rs .Edit VarEmailto = .Fields("LoginEmail") .Update End With rs.movenext loop End if 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Rs.close Set rs = nothing Db.close Set db = nothing HTH. You will need to check over it as I did it off the top of my head, but you'll get the idea anyway... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ------------------------------------------------------------------------ -------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ------------------------------------------------------------------------ -------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 22:28:42 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:28:42 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <416D26E7.19952.6509EBC@lexacorp.com.pg> Message-ID: <00bc01c4b0d4$bd165810$6501a8c0@user> Yes - there is a form parameter in the query so I'll have to think over that logic then as the query is used by multiple processes... The static function sounds a good solution. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Oct 12 22:44:36 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Oct 2004 13:44:36 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <416D26E7.19952.6509EBC@lexacorp.com.pg> Message-ID: <200410130344.i9D3iiXH003971@cooper.uws.edu.au> Hey Andrew I'm back from leave So...when's a good time to meet?? Talk soon Denz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 13 October 2004 1:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 22:50:15 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:50:15 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <416D26E7.19952.6509EBC@lexacorp.com.pg> Message-ID: <00e601c4b0d7$bfcc7000$6501a8c0@user> Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 12 23:27:38 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 13 Oct 2004 00:27:38 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <00e601c4b0d7$bfcc7000$6501a8c0@user> Message-ID: <000301c4b0dc$fb9fbce0$e8dafea9@ColbyM6805> BTW, the concept of the "static stored value" can be made even more useful if you use a collection to store the value, keyed on the name of the variable. In that way you can use a single function to set / retrieve a multitude of different stored values. Option Compare Database Option Explicit Private mcolFilter As Collection Private mblnFltrInitialized As Boolean Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr 'This sets up the collection if it isn't already initialized If mblnFltrInitialized = False Then Set mcolFilter = New Collection mblnFltrInitialized = True End If If IsMissing(lvarValue) Then 'This path is used to retrieve a value from the collection On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'This path is used to store a variable on the collection On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function One function can now be called with a "variable name" and a value to store a value into a "variable". fltr MyValue, "MyVarName" MyValue can be anything at all, string numeric etc. If the variable name already exists, then it is removed and replaced with the new value. This effectively stores the value passed in even if there was already a value in the collection keyed on that name. To retrieve a value, just call the function passing in the name of the "variable" you want the value of. If there is no such variable name a null will be returned. MyVar = fltr("MyVarName") I don't remember right off hand whether a control or form can be passed in to a variant though I believe it can. Thus you need to be careful that you either do not pass in pointers to objects or that you make sure you clean out the collection before terminating your program. If there are no objects, it doesn't matter, i.e. the collection and its values can be cleaned up by VB as the app closes. If there are pointers to objects in there however VB may not correctly clean up the collection and the program may hang instead of exiting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, October 12, 2004 11:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with syntax please....OpenRecordset Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 12 23:47:09 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 13 Oct 2004 00:47:09 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <000301c4b0dc$fb9fbce0$e8dafea9@ColbyM6805> Message-ID: <000401c4b0df$b29d37e0$e8dafea9@ColbyM6805> Oops, sorry, the call to set a value would be Fltr "MyVarName", MyVarValue John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, October 13, 2004 12:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset BTW, the concept of the "static stored value" can be made even more useful if you use a collection to store the value, keyed on the name of the variable. In that way you can use a single function to set / retrieve a multitude of different stored values. Option Compare Database Option Explicit Private mcolFilter As Collection Private mblnFltrInitialized As Boolean Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr 'This sets up the collection if it isn't already initialized If mblnFltrInitialized = False Then Set mcolFilter = New Collection mblnFltrInitialized = True End If If IsMissing(lvarValue) Then 'This path is used to retrieve a value from the collection On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'This path is used to store a variable on the collection On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function One function can now be called with a "variable name" and a value to store a value into a "variable". fltr MyValue, "MyVarName" MyValue can be anything at all, string numeric etc. If the variable name already exists, then it is removed and replaced with the new value. This effectively stores the value passed in even if there was already a value in the collection keyed on that name. To retrieve a value, just call the function passing in the name of the "variable" you want the value of. If there is no such variable name a null will be returned. MyVar = fltr("MyVarName") I don't remember right off hand whether a control or form can be passed in to a variant though I believe it can. Thus you need to be careful that you either do not pass in pointers to objects or that you make sure you clean out the collection before terminating your program. If there are no objects, it doesn't matter, i.e. the collection and its values can be cleaned up by VB as the app closes. If there are pointers to objects in there however VB may not correctly clean up the collection and the program may hang instead of exiting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, October 12, 2004 11:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with syntax please....OpenRecordset Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Oct 12 23:51:08 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Oct 2004 14:51:08 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <200410130344.i9D3iiXH003971@cooper.uws.edu.au> Message-ID: <200410130451.i9D4pGXH011829@cooper.uws.edu.au> Hey Andrew I'm back from leave So...when's a good time to meet?? Talk soon Denz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, 13 October 2004 1:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset Hey Andrew I'm back from leave So...when's a good time to meet?? Talk soon Denz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 13 October 2004 1:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Oct 13 06:11:28 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 21:11:28 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328038551@starfleet.unknown.local> Susan, You're a god. What was stuffing things up was that I was doing: Set Me.RecordSource = rst Instead of: Set Me.Recordset = rst Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 13 October 2004 3:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I'm probably missing something real obvious here, but this worked for me. I used AutoForm to create a quick form on Employees, then changed it to a Continuous form and deleted the RecordSource property. All the controls remained intact with their default Name and Control Source property settings. Then, I used the following code to populate the form: Private Sub Form_Load() Dim rst As ADODB.Recordset Set rst = New ADODB.Recordset rst.Open "Employees", CurrentProject.Connection, adOpenStatic Set Me.Recordset = rst End Sub Worked for me -- form is still continuous and it doesn't update the underlying source. It's strictly a browsing form. If you wanted to update, you could change the adOpenStatic setting. I didn't spend much time testing it either, so I may be missing something. Susan H. The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 13 08:25:15 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 13 Oct 2004 09:25:15 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328038551@starfleet.unknown.local> Message-ID: <20041013132549.YRXM2403.imf23aec.mail.bellsouth.net@SUSANONE> Glad to help. :) Susan H. Susan, You're a god. What was stuffing things up was that I was doing: Set Me.RecordSource = rst Instead of: Set Me.Recordset = rst From DWUTKA at marlow.com Wed Oct 13 09:06:45 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Oct 2004 09:06:45 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <123701F54509D9119A4F00D0B747349016D002@main2.marlow.com> Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 13 09:15:37 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Oct 2004 09:15:37 -0500 Subject: [AccessD] inner workings of operators Message-ID: <123701F54509D9119A4F00D0B747349016D005@main2.marlow.com> Yeah, the archives I host do use a homemade memo field search engine. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, October 10, 2004 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] inner workings of operators Hi Eric > Ohwell must be someone able to find more... Gustav?:-) I would be happy to do so - if I only knew what to look for? I mean - I know what In and Or mean but can't see how I can influence a lot on how they work "behind the scenes", neither do I care that much. Am I missing something? I'm not about to build my own search engine - but would that be a purpose? Could be nice with a quick search in memo fields. Hasn't Drew worked with this? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows of > such documentation, I'd be grateful for a link. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Wed Oct 13 09:22:35 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 13 Oct 2004 10:22:35 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF925@DISABILITYINS01> I was wondering when you would check in! ;-) John W. Colby The DIS Database Guy -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 13, 2004 10:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Oct 13 09:49:02 2004 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 14 Oct 2004 00:49:02 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328041BC0@starfleet.unknown.local> Drew, They just don't understand how our minds work do they?... ; ) I knew when I posted this that I would be ridiculed, but it's nice to have an understanding soul to the strange workings and motivations of the eccentric mind that we share isn't it Drew?... I liked Susan's solution as it only binds the form temporarily, while the user is viewing it. Once the form is shut down, the app remains totally unbound. One of the advantages of this approach too is that it gives you total flexibility to the path of the BE. No more refreshing the links when the app is started... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, 14 October 2004 12:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 13 09:53:49 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Oct 2004 09:53:49 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <123701F54509D9119A4F00D0B747349016D007@main2.marlow.com> Been having too much fun off list. Just getting over a cold right now, so my head is still spinning a bit. Drew -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Wednesday, October 13, 2004 9:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I was wondering when you would check in! ;-) John W. Colby The DIS Database Guy -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 13, 2004 10:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Wed Oct 13 10:04:34 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 13 Oct 2004 11:04:34 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF926@DISABILITYINS01> Hmmm.... You share Drew's eccentric mind? Is Vlad an alter ego? Or is Drew the alter ego? How many more of you are there in that eccentric mind? I believe this a first for the list, I can't recall ever seeing a split personality here before. John W. Colby The DIS Database Guy -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, October 13, 2004 10:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form Drew, They just don't understand how our minds work do they?... ; ) I knew when I posted this that I would be ridiculed, but it's nice to have an understanding soul to the strange workings and motivations of the eccentric mind that we share isn't it Drew?... I liked Susan's solution as it only binds the form temporarily, while the user is viewing it. Once the form is shut down, the app remains totally unbound. One of the advantages of this approach too is that it gives you total flexibility to the path of the BE. No more refreshing the links when the app is started... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, 14 October 2004 12:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 13 10:19:32 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Oct 2004 17:19:32 +0200 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC0@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC0@starfleet.unknown.local> Message-ID: <4630591338.20041013171932@cactus.dk> Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when the > app is started... Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... /gustav From ssharkins at bellsouth.net Wed Oct 13 10:36:09 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 13 Oct 2004 11:36:09 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <4630591338.20041013171932@cactus.dk> Message-ID: <20041013153612.BCXX2420.imf22aec.mail.bellsouth.net@SUSANONE> Well, you could have it both ways -- just create the right recordset. ;) I find myself using the Recordset property more and more. I have to ask though, why is bound a problem????????? AHAHAHAHAAHAHAHAHAHHHHHAAH Susan H. Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when > the app is started... From ssharkins at bellsouth.net Wed Oct 13 10:36:09 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 13 Oct 2004 11:36:09 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF926@DISABILITYINS01> Message-ID: <20041013153623.BDAE2420.imf22aec.mail.bellsouth.net@SUSANONE> You jarred Rabbit out of a sound sleep with that one... She generally likes to be the first, no matter what it is... Thanks JC, she's going to chatter at me all day now. :) Susan H. I believe this a first for the list, I can't recall ever seeing a split personality here before. From actebs at actebs.com.au Wed Oct 13 10:44:32 2004 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 14 Oct 2004 01:44:32 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328041BC1@starfleet.unknown.local> Hi Gustav, >>Yes, this is nice for a read-only application ... do these count for 90% of all frontends? With DAO it works like a normal bound app. I agree with ADO it is useless. I'm doing this with DAO so it serves it's purpose... >>Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... Only need to do this once. The app is loaded and the path automatically stored within a text box on the main menu. Only have to read this value when making a connection eg: Set dbs = Opendatabase(Forms!frmMainMenu!txtAppPath) It works quite well... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, 14 October 2004 1:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recordset to a Continuous Form Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when > the app is started... Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 13 10:45:27 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Oct 2004 08:45:27 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: LOL Not only a split personality, but one who talks to himself! ;-} Charlotte Foust -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Wednesday, October 13, 2004 8:05 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form Hmmm.... You share Drew's eccentric mind? Is Vlad an alter ego? Or is Drew the alter ego? How many more of you are there in that eccentric mind? I believe this a first for the list, I can't recall ever seeing a split personality here before. John W. Colby The DIS Database Guy -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, October 13, 2004 10:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form Drew, They just don't understand how our minds work do they?... ; ) I knew when I posted this that I would be ridiculed, but it's nice to have an understanding soul to the strange workings and motivations of the eccentric mind that we share isn't it Drew?... I liked Susan's solution as it only binds the form temporarily, while the user is viewing it. Once the form is shut down, the app remains totally unbound. One of the advantages of this approach too is that it gives you total flexibility to the path of the BE. No more refreshing the links when the app is started... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, 14 October 2004 12:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Oct 13 10:54:20 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 13 Oct 2004 10:54:20 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <100F91B31300334B89EC531C9DCB0865318D39@tccexch01.tappeconstruction.net> ROTFL! Gustav, I oughta send you a cleanup bill for the coffee I sprayed on my keyboard and monitor in a fit of hysterical laughter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, October 13, 2004 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recordset to a Continuous Form Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when > the app is started... Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... /gustav -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Mark.Mitsules at ngc.com Wed Oct 13 11:09:56 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 13 Oct 2004 12:09:56 -0400 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark From CMackin at quiznos.com Wed Oct 13 11:14:22 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Wed, 13 Oct 2004 10:14:22 -0600 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ 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 Oct 13 11:21:38 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 13 Oct 2004 11:21:38 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FFC4@corp-es01.fleetpride.com> Yeah, But we're left to figure out if we're talking to the FE or the BE of the split..... Jim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 13, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form LOL Not only a split personality, but one who talks to himself! ;-} Charlotte Foust *********************************************************************** 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 gustav at cactus.dk Wed Oct 13 11:23:27 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Oct 2004 18:23:27 +0200 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC1@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC1@starfleet.unknown.local> Message-ID: <17134426662.20041013182327@cactus.dk> Hi Vlad Hmmm ... it must be slower to open the database each time a form is to be opened - looks to me like throwing pebbles in front of you as you move along. I just can't see one practical benefit of this approach except for the eventual fun of it and in some very rare cases. > Set dbs = Opendatabase(Forms!frmMainMenu!txtAppPath) To speed this up, you could store dbs as a Static in Opendatabase! This must be the tip of the day ... Oh well, somebody please stop me! /gustav >>>Yes, this is nice for a read-only application ... do these count for > 90% of all frontends? > With DAO it works like a normal bound app. I agree with ADO it is > useless. I'm doing this with DAO so it serves it's purpose... >>>Yes, much more fun to deal with the links any time a form is to be > loaded. You could create a class for that ... > Only need to do this once. The app is loaded and the path automatically > stored within a text box on the main menu. Only have to read this value > when making a connection eg: > Set dbs = Opendatabase(Forms!frmMainMenu!txtAppPath) > It works quite well... > Vlad > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, 14 October 2004 1:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Recordset to a Continuous Form > Hi Vlad >> I liked Susan's solution as it only binds the form temporarily, while >> the user is viewing it. Once the form is shut down, the app remains >> totally unbound. > Yes, this is nice for a read-only application ... do these count for 90% > of all frontends? > And why bother with updating of records - users are sooo demanding! > Saves a lot of multi-user troubles as well. >> One of the advantages of this approach too is that it gives you total >> flexibility to the path of the BE. No more refreshing the links when >> the app is started... > Yes, much more fun to deal with the links any time a form is to be > loaded. You could create a class for that ... > /gustav From JColby at dispec.com Wed Oct 13 11:54:11 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 13 Oct 2004 12:54:11 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF927@DISABILITYINS01> >Yeah, But we're left to figure out if we're talking to the FE or the BE of the split..... ROTFLMAO! In the end, you're talking to both since the split is itself a fiction of the deranged mind. John W. Colby The DIS Database Guy -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, October 13, 2004 12:22 PM To: 'Accessd (E-mail) Subject: RE: [AccessD] Recordset to a Continuous Form Yeah, But we're left to figure out if we're talking to the FE or the BE of the split..... Jim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 13, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form LOL Not only a split personality, but one who talks to himself! ;-} Charlotte Foust *********************************************************************** 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 JHewson at karta.com Wed Oct 13 12:31:59 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 13 Oct 2004 12:31:59 -0500 Subject: [AccessD] Access News Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BF8@karta-exc-int.Karta.com> Below is from the FMS monthly e-newsletter. Thought the list would be interested. Jim H. MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff, Corporate Vice President of Access, Excel and Office Programmability, revealed the future direction for Access and their renewed commitment to the roots of making databases easy, along with SharePoint integration for web connectivity. With the largest Access development team since the early days of Access, Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power. By simplifying the development of database applications, information workers will be empowered to solve more database problems on their own. Meanwhile, the developer features will allow the continued creation of professional solutions. Overall, the investment Microsoft is making, the change in focus and simpler marketing message for Office, is quite tremendous and bodes well for the future of Access. At FMS we are extremely pleased to see this new focus. Rather than focusing on SQL Server or .NET, Microsoft is returning focus to Access' core strength: a rapid development environment for users that can be extended by experienced database developers and programmers. The new initiative will result in even more databases that can be created by information workers, and gives skilled Access users and developers more opportunities. While there are tradeoffs between Access and other, more advanced platforms, making it easier to create Access projects will allow organizations to build applications they could not cost-justify on more expensive platforms. We at FMS have always believed there are a wide range of business and organizational challenges that require database solutions. Some justify expensive and sophisticated solutions, while others are best satisfied with the rapid, cost effective solutions Access offers. From Jdemarco at hudsonhealthplan.org Wed Oct 13 12:47:16 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 13 Oct 2004 13:47:16 -0400 Subject: [AccessD] Access News Message-ID: <08F823FD83787D4BA0B99CA580AD3C74486888@TTNEXCHCL2.hshhp.com> Thanks Jim but I have to wonder if FMS attended the same keynote speech that I did. I was at this Advisor event and looked forward to the keynote entitled "The Future of Access". In it Richard McAniff demoed SharePoint and Access connectivity to SharePoint data but he did not once talk about the direction of Access, future features, SQL connectivity (ADPs that is) or anything other than a "rah-rah we support you developers" with no real details. OTOH, all the .NET sessions showed new features that are "just like Access" so one has to wonder what is the true direction. Also at Alison Balter's pre-conference session "M$ Access Development" she showed a few apps that connected to SQL data. One attendee noted that she was using mdbs and asked why she wasn't using an ADP. She neatly sidestepped the issue that has come up on this list in recent days and simply stated "MDB is the file format that M$ is standing behind and promoting the use of". Of course this is just me paraphrasing but you get the gist of what is being said here. I had lunch with some Access developers who noted the same lack of info on the future of Access at the keynote. I guess we should take comfort in the fact that the Access team is larger but to what end? Jim DeMarco Director Application Development Hudson Health Plan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, October 13, 2004 1:32 PM To: AccessD Subject: [AccessD] Access News Below is from the FMS monthly e-newsletter. Thought the list would be interested. Jim H. MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff, Corporate Vice President of Access, Excel and Office Programmability, revealed the future direction for Access and their renewed commitment to the roots of making databases easy, along with SharePoint integration for web connectivity. With the largest Access development team since the early days of Access, Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power. By simplifying the development of database applications, information workers will be empowered to solve more database problems on their own. Meanwhile, the developer features will allow the continued creation of professional solutions. Overall, the investment Microsoft is making, the change in focus and simpler marketing message for Office, is quite tremendous and bodes well for the future of Access. At FMS we are extremely pleased to see this new focus. Rather than focusing on SQL Server or .NET, Microsoft is returning focus to Access' core strength: a rapid development environment for users that can be extended by experienced database developers and programmers. The new initiative will result in even more databases that can be created by information workers, and gives skilled Access users and developers more opportunities. While there are tradeoffs between Access and other, more advanced platforms, making it easier to create Access projects will allow organizations to build applications they could not cost-justify on more expensive platforms. We at FMS have always believed there are a wide range of business and organizational challenges that require database solutions. Some justify expensive and sophisticated solutions, while others are best satisfied with the rapid, cost effective solutions Access offers. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Mark.Mitsules at ngc.com Wed Oct 13 12:59:22 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 13 Oct 2004 13:59:22 -0400 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: Chris, Thanks for the suggestion to verify that the problem lies with the report footer. I deleted the report footer and the blank page no longer prints. Now that we have confirmed that it is the report footer and I still need the functionality of the report footer "sum"...how can I prevent the report footer from printing? Mark -----Original Message----- From: Mackin, Christopher [mailto:CMackin at quiznos.com] Sent: Wednesday, October 13, 2004 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report Footer Causes Extra Page Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Wed Oct 13 13:24:42 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 13 Oct 2004 13:24:42 -0500 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BFA@karta-exc-int.Karta.com> Mark, Instead of referencing the footer with your header, use a Domain function. You can use the DSum() function using the underlying query for the total in the header. Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 12:59 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Report Footer Causes Extra Page Chris, Thanks for the suggestion to verify that the problem lies with the report footer. I deleted the report footer and the blank page no longer prints. Now that we have confirmed that it is the report footer and I still need the functionality of the report footer "sum"...how can I prevent the report footer from printing? Mark -----Original Message----- From: Mackin, Christopher [mailto:CMackin at quiznos.com] Sent: Wednesday, October 13, 2004 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report Footer Causes Extra Page Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 13 18:32:50 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Oct 2004 16:32:50 -0700 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: You can suppress it in the print event of the footer by setting PrintSection = False. Charlotte Foust -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, October 13, 2004 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Report Footer Causes Extra Page Chris, Thanks for the suggestion to verify that the problem lies with the report footer. I deleted the report footer and the blank page no longer prints. Now that we have confirmed that it is the report footer and I still need the functionality of the report footer "sum"...how can I prevent the report footer from printing? Mark -----Original Message----- From: Mackin, Christopher [mailto:CMackin at quiznos.com] Sent: Wednesday, October 13, 2004 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report Footer Causes Extra Page Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 13 18:37:31 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Oct 2004 16:37:31 -0700 Subject: [AccessD] Access News Message-ID: I thought the quote "Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power" was most telling. The rather weak "Meanwhile, the developer features will allow the continued creation of professional solutions" sounds like it should mean something, but I don't know what, since professional solutions aren't inherent in any tool but depend on the knowledge and experience of the developer. There really *aren't* any developer features in Access 2003, they're in the extension tools for Visual Studio. :-{ Charlotte Foust -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, October 13, 2004 10:32 AM To: AccessD Subject: [AccessD] Access News Below is from the FMS monthly e-newsletter. Thought the list would be interested. Jim H. MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff, Corporate Vice President of Access, Excel and Office Programmability, revealed the future direction for Access and their renewed commitment to the roots of making databases easy, along with SharePoint integration for web connectivity. With the largest Access development team since the early days of Access, Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power. By simplifying the development of database applications, information workers will be empowered to solve more database problems on their own. Meanwhile, the developer features will allow the continued creation of professional solutions. Overall, the investment Microsoft is making, the change in focus and simpler marketing message for Office, is quite tremendous and bodes well for the future of Access. At FMS we are extremely pleased to see this new focus. Rather than focusing on SQL Server or .NET, Microsoft is returning focus to Access' core strength: a rapid development environment for users that can be extended by experienced database developers and programmers. The new initiative will result in even more databases that can be created by information workers, and gives skilled Access users and developers more opportunities. While there are tradeoffs between Access and other, more advanced platforms, making it easier to create Access projects will allow organizations to build applications they could not cost-justify on more expensive platforms. We at FMS have always believed there are a wide range of business and organizational challenges that require database solutions. Some justify expensive and sophisticated solutions, while others are best satisfied with the rapid, cost effective solutions Access offers. From KP at sdsonline.net Wed Oct 13 20:15:21 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 14 Oct 2004 11:15:21 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <000301c4b0dc$fb9fbce0$e8dafea9@ColbyM6805> Message-ID: <003601c4b18b$471d9cb0$6501a8c0@user> That's interesting - will keep it in mind. I don't have a need for it at present. Kath ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 13, 2004 2:27 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset BTW, the concept of the "static stored value" can be made even more useful if you use a collection to store the value, keyed on the name of the variable. In that way you can use a single function to set / retrieve a multitude of different stored values. Option Compare Database Option Explicit Private mcolFilter As Collection Private mblnFltrInitialized As Boolean Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr 'This sets up the collection if it isn't already initialized If mblnFltrInitialized = False Then Set mcolFilter = New Collection mblnFltrInitialized = True End If If IsMissing(lvarValue) Then 'This path is used to retrieve a value from the collection On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'This path is used to store a variable on the collection On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function One function can now be called with a "variable name" and a value to store a value into a "variable". fltr MyValue, "MyVarName" MyValue can be anything at all, string numeric etc. If the variable name already exists, then it is removed and replaced with the new value. This effectively stores the value passed in even if there was already a value in the collection keyed on that name. To retrieve a value, just call the function passing in the name of the "variable" you want the value of. If there is no such variable name a null will be returned. MyVar = fltr("MyVarName") I don't remember right off hand whether a control or form can be passed in to a variant though I believe it can. Thus you need to be careful that you either do not pass in pointers to objects or that you make sure you clean out the collection before terminating your program. If there are no objects, it doesn't matter, i.e. the collection and its values can be cleaned up by VB as the app closes. If there are pointers to objects in there however VB may not correctly clean up the collection and the program may hang instead of exiting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, October 12, 2004 11:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with syntax please....OpenRecordset Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Oct 14 02:23:17 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 09:23:17 +0200 Subject: [AccessD] OT: EPL? Message-ID: <681171364.20041014092317@cactus.dk> Hi all Just got this from Programmer's Report on an upcoming language: "Unlike databases that use hoc SELECT-FROM-WHERE queries against a persistent data store, EPL employs a time-based persistent ON-WHEN-THEN query against asynchronous data flows and historical context data." http://www.adtmag.com/article.asp?id=10121 /gustav From gustav at cactus.dk Thu Oct 14 02:33:10 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 09:33:10 +0200 Subject: [AccessD] Access News In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74486888@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74486888@TTNEXCHCL2.hshhp.com> Message-ID: <1761764787.20041014093310@cactus.dk> Hi Jim > OTOH, all the .NET sessions showed new features that are "just like > Access" so one has to wonder what is the true direction. Also at > Alison Balter's pre-conference session "M$ Access Development" she > showed a few apps that connected to SQL data. One attendee noted > that she was using mdbs and asked why she wasn't using an ADP. She > neatly sidestepped the issue that has come up on this list in recent > days and simply stated "MDB is the file format that M$ is standing > behind and promoting the use of". Of course this is just me > paraphrasing but you get the gist of what is being said here. Well, after all wasn't the ADP concept a misunderstanding contradicting the original mission of Access "to be the key to access any source of data"? /gustav From Paul.Rogers at SummitMedia.co.uk Thu Oct 14 05:50:01 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 14 Oct 2004 11:50:01 +0100 Subject: [AccessD] Totalling numbers from a multiple entries in two fields Message-ID: tblMain has 7 ethnicity options in the one field [Roots]. Each of the options involves 10 or so different jobs [Work]. I have to find the numbers for each of the Roots options for each job [Work]. I tried with a number of queries which I pasted bodily into Word to make an instant report. But some strange results is the consequence. Be very pleased to hear how an expert would go about it. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From Jdemarco at hudsonhealthplan.org Thu Oct 14 07:25:25 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 14 Oct 2004 08:25:25 -0400 Subject: [AccessD] Access News Message-ID: <08F823FD83787D4BA0B99CA580AD3C74486892@TTNEXCHCL2.hshhp.com> I guess but I'm just thinking of all those who've invested in that format who seem to be losing support (thankfully I'm not in that group). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Thursday, October 14, 2004 3:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access News Hi Jim > OTOH, all the .NET sessions showed new features that are "just like > Access" so one has to wonder what is the true direction. Also at > Alison Balter's pre-conference session "M$ Access Development" she > showed a few apps that connected to SQL data. One attendee noted > that she was using mdbs and asked why she wasn't using an ADP. She > neatly sidestepped the issue that has come up on this list in recent > days and simply stated "MDB is the file format that M$ is standing > behind and promoting the use of". Of course this is just me > paraphrasing but you get the gist of what is being said here. Well, after all wasn't the ADP concept a misunderstanding contradicting the original mission of Access "to be the key to access any source of data"? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From starkey at wanadoo.nl Thu Oct 14 11:17:18 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Thu, 14 Oct 2004 18:17:18 +0200 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <00a001c4b0d1$e32988e0$6501a8c0@user> Message-ID: <20041014161339.C8BC95D216@smtp8.wanadoo.nl> Mmmzzz don't wanna be fuzzy but one remark about the codesample though just in case others wanna use it... To use a recordcount if I remember well, you should always do a rs.movelast and a rs.movefirst first to populate the recordset and get a reliable recordcount. Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Kath Pelletti Verzonden: woensdag 13 oktober 2004 05:08 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] Help with syntax please....OpenRecordset Thanks Vlad - I thought that was the problem too....but it seems that it just doesn't like my query even though the query runs fine in the normal access window. I may have to change it to an sql statement. Sigh - I had already tried that this morning but just couldn't get the syntax right .... I will have another go at the sql syntax and if I can't nail it post back. Thanks Kath ----- Original Message ----- From: ACTEBS To: Access Developers discussion and problem solving Sent: Wednesday, October 13, 2004 12:50 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset Kath, Maybe like this: Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As DAO.Database '>>>>>>>>>I changed this Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE '>>>>>>>>>>>>>>Made a few changes here If rs.recordcount > 0 then Rs.movefirst Do Until rs.EOF With rs .Edit VarEmailto = .Fields("LoginEmail") .Update End With rs.movenext loop End if 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Rs.close Set rs = nothing Db.close Set db = nothing HTH. You will need to check over it as I did it off the top of my head, but you'll get the idea anyway... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ------------------------------------------------------------------------ -------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ------------------------------------------------------------------------ -------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0442-2, 14-10-2004 Getest op: 14-10-2004 18:17:18 avast! auteursrecht (c) 2000-2004 ALWIL Software. From ssharkins at bellsouth.net Thu Oct 14 11:18:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 14 Oct 2004 12:18:43 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <20041014161339.C8BC95D216@smtp8.wanadoo.nl> Message-ID: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> Some recordsets support the RecordCount property, some don't. Those that do don't require the move through the records to get a count. Just refer to the RecordCount property. Just wrote an article on it for Inside Microsoft Access -- should be out this winter sometime. Susan H. Mmmzzz don't wanna be fuzzy but one remark about the codesample though just in case others wanna use it... To use a recordcount if I remember well, you should always do a rs.movelast and a rs.movefirst first to populate the recordset and get a reliable recordcount. From gustav at cactus.dk Thu Oct 14 12:04:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 19:04:26 +0200 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> References: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> Message-ID: <536040243.20041014190426@cactus.dk> Hi Susan Without having read your article I think this may be a concern only for ODBC attached tables. But I haven't studied it closely. /gustav > Some recordsets support the RecordCount property, some don't. Those that do > don't require the move through the records to get a count. Just refer to the > RecordCount property. Just wrote an article on it for Inside Microsoft > Access -- should be out this winter sometime. > Susan H. > Mmmzzz don't wanna be fuzzy but one remark about the codesample though just > in case others wanna use it... To use a recordcount if I remember well, you > should always do a rs.movelast and a rs.movefirst first to populate the > recordset and get a reliable recordcount. From gustav at cactus.dk Thu Oct 14 12:02:08 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 19:02:08 +0200 Subject: [AccessD] Query a text file without attach or import Message-ID: <14835902294.20041014190208@cactus.dk> Hi all Should you ever need it, you can query a text file directly without importing or attaching it first. The trich is to understand that Access regards the directory of the text file as a "database": SELECT [pics#txt].Field1, [pics#txt].Field2 FROM [pics#txt] IN '' [Text;DATABASE=c:\windows\temp;]; or: SELECT Field1, Field2 FROM [Text;DATABASE=c:\windows\temp;HDR=YES].[pics.txt]; I should note that - as to my testings - even if you specify HDR=NO, Access still reads the first line for the column names. These syntax are very handy when you need to read temporary text files where you do not wish to attach these at all. /gustav From cyx5 at cdc.gov Thu Oct 14 12:09:34 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 14 Oct 2004 13:09:34 -0400 Subject: [AccessD] Drab Gray Command Button Color Message-ID: I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services From cfoust at infostatsystems.com Thu Oct 14 12:19:06 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 10:19:06 -0700 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: It also depends on the type of recordset and the location (client or server). An ADO recordset may simply return a -1, meaning that yes, there are records. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, October 14, 2004 9:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset Some recordsets support the RecordCount property, some don't. Those that do don't require the move through the records to get a count. Just refer to the RecordCount property. Just wrote an article on it for Inside Microsoft Access -- should be out this winter sometime. Susan H. Mmmzzz don't wanna be fuzzy but one remark about the codesample though just in case others wanna use it... To use a recordcount if I remember well, you should always do a rs.movelast and a rs.movefirst first to populate the recordset and get a reliable recordcount. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Oct 14 12:24:29 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 14 Oct 2004 13:24:29 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <536040243.20041014190426@cactus.dk> Message-ID: <20041014172429.BTTH2420.imf22aec.mail.bellsouth.net@SUSANONE> The providers is a huge factor. ;) Susan H. Hi Susan Without having read your article I think this may be a concern only for ODBC attached tables. But I haven't studied it closely. From cfoust at infostatsystems.com Thu Oct 14 12:24:54 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 10:24:54 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: -2147483633 Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Thursday, October 14, 2004 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From liz at symphonyinfo.com Thu Oct 14 12:26:14 2004 From: liz at symphonyinfo.com (Liz Doering) Date: Thu, 14 Oct 2004 12:26:14 -0500 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 14 12:35:32 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 14 Oct 2004 13:35:32 -0400 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: <000001c4b214$35033830$0200a8c0@COA3> Try -2147483633 Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 1:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Oct 14 12:37:58 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 14 Oct 2004 13:37:58 -0400 Subject: [AccessD] Drab Gray Command Button Color Message-ID: Thank you thank you thank you. Perfect. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color -2147483633 Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Thursday, October 14, 2004 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Oct 14 12:46:54 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 14 Oct 2004 12:46:54 -0500 Subject: [AccessD] Drab Gray Command Button Color Message-ID: <100F91B31300334B89EC531C9DCB0865318D44@tccexch01.tappeconstruction.net> Well, that all depends. -2147483633 will give you the current 3D objects color setting in your Display properties, which is used for non-XP style command buttons, however the actual color displayed will vary from machine to machine if they changed their color theme (I've seen buttons rendered in everything from Light Blue to Hot Pink). 13160660 is the "classic" Windows button color (95-2000), which looks out of place on an XP screen. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Thu Oct 14 12:48:53 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 10:48:53 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 14 13:09:12 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 14 Oct 2004 14:09:12 -0400 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: <000301c4b218$e8a76420$0200a8c0@COA3> Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 14 13:31:48 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 11:31:48 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: It has the added benefit of keeping your buttons or whatever colored to match the current background settings of Windows. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 14 14:24:55 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 14 Oct 2004 15:24:55 -0400 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: <000401c4b223$7c855990$0200a8c0@COA3> Are you sayting if you copy/paste the numbers from Form bkgr to text box back color, it won't match the Windows background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 2:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color It has the added benefit of keeping your buttons or whatever colored to match the current background settings of Windows. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Oct 14 14:34:20 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 14 Oct 2004 20:34:20 +0100 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> Message-ID: <000a01c4b224$cdae5e60$b274d0d5@minster33c3r25> Are you sure Susan? Here's my findings with a table of 6 records Dim db As Database Dim rst As Recordset Set db = CurrentDb Set rst = db.OpenRecordset("CONTACTS", dbOpenTable) MsgBox rst.RecordCount Gives an answer of 6 But Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") MsgBox rst.RecordCount Gives an answer of 1. As does Set rst = db.OpenRecordset("CONTACTS", dbOpenDynaset) If you then do Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") If Not rst.EOF Then rst.MoveLast rst.MoveFirst MsgBox rst.RecordCount End If You get a reliable 6. (Note to folks, donn't do a Movelast without checking EOF. If the table's empty the Movelast collapses). So I reckon Dynaset recordtypes support RecordCount but do require the Movelast. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: 14 October 2004 17:19 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Help with syntax please....OpenRecordset > > > Some recordsets support the RecordCount property, some don't. > Those that do don't require the move through the records to > get a count. Just refer to the RecordCount property. Just > wrote an article on it for Inside Microsoft Access -- should > be out this winter sometime. > > Susan H. > > Mmmzzz don't wanna be fuzzy but one remark about the > codesample though just in case others wanna use it... To use > a recordcount if I remember well, you should always do a > rs.movelast and a rs.movefirst first to populate the > recordset and get a reliable recordcount. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Lambert.Heenan at AIG.com Thu Oct 14 14:31:57 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 14 Oct 2004 15:31:57 -0400 Subject: [AccessD] Drab Gray Command Button Color Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471AA55@xlivmbx21.aig.com> Exactly. -2147483633 is not an RGB color number, it tells Access to go use one of the System colors instead. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, October 14, 2004 2:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Drab Gray Command Button Color > > It has the added benefit of keeping your buttons or whatever colored to > match the current background settings of Windows. > > Charlotte Foust > > > -----Original Message----- > From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] > > Sent: Thursday, October 14, 2004 11:09 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Drab Gray Command Button Color > > > Actually, Copy/Paste it from the Form Bkgr is even better, why try to > remember those 10 digits? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, October 14, 2004 1:49 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Drab Gray Command Button Color > > > You don't need a sticky note. Just open any form in design view and > look at the color of the default background. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:liz at symphonyinfo.com] > Sent: Thursday, October 14, 2004 10:26 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Drab Gray Command Button Color > > > Karen, > > -2147483633 > > (yes, this is on a sticky note on the side of my computer) > > Liz > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Thursday, October 14, 2004 12:10 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Drab Gray Command Button Color > > I am trying to make a raised text box the same color as the gray command > buttons; I am so close with a background color of 13490391. Does anyone > have the exact color? (Jeapordy trivia question de jour). Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 earthlink.net Thu Oct 14 14:47:48 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Oct 2004 15:47:48 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <000a01c4b224$cdae5e60$b274d0d5@minster33c3r25> Message-ID: <> It's hit or miss depending on the size of the recordset. If JET thinks it's going to take too long to fully populate it, it finishes the job in the background. Code starts executing again while this is going on, so .Recordcount will be incorrect when this happens. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Thursday, October 14, 2004 3:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset Are you sure Susan? Here's my findings with a table of 6 records Dim db As Database Dim rst As Recordset Set db = CurrentDb Set rst = db.OpenRecordset("CONTACTS", dbOpenTable) MsgBox rst.RecordCount Gives an answer of 6 But Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") MsgBox rst.RecordCount Gives an answer of 1. As does Set rst = db.OpenRecordset("CONTACTS", dbOpenDynaset) If you then do Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") If Not rst.EOF Then rst.MoveLast rst.MoveFirst MsgBox rst.RecordCount End If You get a reliable 6. (Note to folks, donn't do a Movelast without checking EOF. If the table's empty the Movelast collapses). So I reckon Dynaset recordtypes support RecordCount but do require the Movelast. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: 14 October 2004 17:19 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Help with syntax please....OpenRecordset > > > Some recordsets support the RecordCount property, some don't. > Those that do don't require the move through the records to > get a count. Just refer to the RecordCount property. Just > wrote an article on it for Inside Microsoft Access -- should > be out this winter sometime. > > Susan H. > > Mmmzzz don't wanna be fuzzy but one remark about the > codesample though just in case others wanna use it... To use > a recordcount if I remember well, you should always do a > rs.movelast and a rs.movefirst first to populate the > recordset and get a reliable recordcount. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Thu Oct 14 15:06:11 2004 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 14 Oct 2004 15:06:11 -0500 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: Message-ID: > It's hit or miss depending on the size of the recordset. If JET thinks > it's going to take too long to fully populate it, it finishes the job in the > background. Code starts executing again while this is going on, so > .Recordcount will be incorrect when this happens. Why not use something along the lines of? Dim db As DAO.Database Dim rst As DAO.Recordset Dim mysql as string mysql = "SELECT" mysql = mysql & " Count(CONTACTS.CONTACTKEY) AS RecordCount" mysql = mysql & " FROM" mysql = mysql & " CONTACTS;" Set db = CurrentDb Set rst = db.OpenRecordset(mysql) MsgBox rst.Fields("RecordCount") ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================== From cfoust at infostatsystems.com Thu Oct 14 15:08:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 13:08:43 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: No, I'm saying that it adjusts to whatever the current Windows system setting is, the same way the default background of a form does. That's what that negative number indicates. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Are you sayting if you copy/paste the numbers from Form bkgr to text box back color, it won't match the Windows background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 2:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color It has the added benefit of keeping your buttons or whatever colored to match the current background settings of Windows. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 earthlink.net Thu Oct 14 15:27:46 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Oct 2004 16:27:46 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: Message-ID: Sure that would work as your explicitly forcing JET to count all the records. But it would be faster if it was: mysql = "SELECT" mysql = mysql & " Count(*) AS RecordCount" mysql = mysql & " FROM" mysql = mysql & " CONTACTS;" JET will just get the count from the primary key index if there is one. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, October 14, 2004 4:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help with syntax please....OpenRecordset > It's hit or miss depending on the size of the recordset. If JET thinks > it's going to take too long to fully populate it, it finishes the job in the > background. Code starts executing again while this is going on, so > .Recordcount will be incorrect when this happens. Why not use something along the lines of? Dim db As DAO.Database Dim rst As DAO.Recordset Dim mysql as string mysql = "SELECT" mysql = mysql & " Count(CONTACTS.CONTACTKEY) AS RecordCount" mysql = mysql & " FROM" mysql = mysql & " CONTACTS;" Set db = CurrentDb Set rst = db.OpenRecordset(mysql) MsgBox rst.Fields("RecordCount") ---------------------------------------------------------------------------- -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================ == -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Oct 14 16:15:28 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 14 Oct 2004 17:15:28 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <000a01c4b224$cdae5e60$b274d0d5@minster33c3r25> Message-ID: <20041014211533.FPCF2383.imf24aec.mail.bellsouth.net@SUSANONE> Send me your private email and I'll send you a copy of the article. Susan H. Are you sure Susan? Here's my findings with a table of 6 records From john at winhaven.net Thu Oct 14 17:00:37 2004 From: john at winhaven.net (John Bartow) Date: Thu, 14 Oct 2004 17:00:37 -0500 Subject: [AccessD] Net Op Message-ID: Anyone use Net Op for remote users? John B. From actebs at actebs.com.au Fri Oct 15 00:33:13 2004 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 15 Oct 2004 15:33:13 +1000 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad From gustav at cactus.dk Fri Oct 15 04:11:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Oct 2004 11:11:56 +0200 Subject: [AccessD] Filemaker ODBC Driver for Access In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Message-ID: <1157828677.20041015111156@cactus.dk> Hi Vlad Isn't an eval. version of FileMaker available? If so, perhaps it can export the data for you. /gustav > Guys, > Does anyone know where to get an ODBC driver for Filemaker Pro? I have a > client who is migrating from Filemaker Pro to Access (Government Dept) > and they would not know where to get the disk that was originally > installed on their PC. The task of extracting the data from his FmPro DB > into Access is part of an app I'm building for them. > I don't want to purchase one if I don't have to, but the only ones I can > find online are $100+. For one file and one import instance I can't see > that that is value for money... > Any help greatly appreciated... > Vlad From jmoss111 at bellsouth.net Fri Oct 15 06:46:52 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Fri, 15 Oct 2004 06:46:52 -0500 Subject: [AccessD] Filemaker ODBC Driver for Access In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Message-ID: Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Fri Oct 15 06:56:45 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Fri, 15 Oct 2004 06:56:45 -0500 Subject: [AccessD] Filemaker ODBC Driver for Access In-Reply-To: Message-ID: One last thing about DataJunction; if FileMaker isn't a listed supported file format, it will still probably handle the data because it has a "file sniffer" and can use the correct functionaly to read/write data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JMoss Sent: Friday, October 15, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Fri Oct 15 08:14:53 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 15 Oct 2004 09:14:53 -0400 Subject: [AccessD] Get user name Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738E4@doesefpeml02.eus.fldoe.int> This thread went around awhile back and I looked it up in the archives. I want to use the code that was suggested, but I don't know 1) how to call the function or 2) if it will work in our situation. Most of our users are on Windows2000 but a couple are still on NT. Does that make a difference. Do I need a login screen or can I just have the username entered into the table (backend on a network drive) when the user opens the form or enters a new record on the form. And finally how do I call the function in the form? I guess I could ask if anyone has a simple project log database already developed that they wouldn't mind sharing. Ours is really quite simple in that all we want to keep track of is what projects staff members are working on, requester, due dates, and a few other things. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From prodevmg at yahoo.com Fri Oct 15 08:40:30 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 15 Oct 2004 06:40:30 -0700 (PDT) Subject: [AccessD] Get user name In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE738E4@doesefpeml02.eus.fldoe.int> Message-ID: <20041015134030.88578.qmail@web20426.mail.yahoo.com> Have you tried Environ("Username") ? "Klos, Susan" wrote: This thread went around awhile back and I looked it up in the archives. I want to use the code that was suggested, but I don't know 1) how to call the function or 2) if it will work in our situation. Most of our users are on Windows2000 but a couple are still on NT. Does that make a difference. Do I need a login screen or can I just have the username entered into the table (backend on a network drive) when the user opens the form or enters a new record on the form. And finally how do I call the function in the form? I guess I could ask if anyone has a simple project log database already developed that they wouldn't mind sharing. Ours is really quite simple in that all we want to keep track of is what projects staff members are working on, requester, due dates, and a few other things. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! From Mark.Mitsules at ngc.com Fri Oct 15 09:00:36 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 15 Oct 2004 10:00:36 -0400 Subject: [AccessD] Get user name Message-ID: Susan, I'm sending you a simple db (A2K, 208KB) that includes an automatic login/exit form, modules for computer name and user name, and a usys table that stores this information along with a date/time stamp. Notes: 1. Requires a DAO reference. 2. Login info is tracked regardless of whether the user exits from the login form or not. I basically just use it as a scare tactic to keep honest people honest. Mark -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, October 15, 2004 9:15 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Get user name This thread went around awhile back and I looked it up in the archives. I want to use the code that was suggested, but I don't know 1) how to call the function or 2) if it will work in our situation. Most of our users are on Windows2000 but a couple are still on NT. Does that make a difference. Do I need a login screen or can I just have the username entered into the table (backend on a network drive) when the user opens the form or enters a new record on the form. And finally how do I call the function in the form? I guess I could ask if anyone has a simple project log database already developed that they wouldn't mind sharing. Ours is really quite simple in that all we want to keep track of is what projects staff members are working on, requester, due dates, and a few other things. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Oct 15 09:06:25 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 15 Oct 2004 10:06:25 -0400 Subject: [AccessD] Get user name In-Reply-To: Message-ID: <20041015140627.QRXV2444.imf19aec.mail.bellsouth.net@SUSANONE> Mark, what do you mean to keep people honest? Any way to relate the person logged to something actually done in the database? Susan H. Susan, I'm sending you a simple db (A2K, 208KB) that includes an automatic login/exit form, modules for computer name and user name, and a usys table that stores this information along with a date/time stamp. Notes: 1. Requires a DAO reference. 2. Login info is tracked regardless of whether the user exits from the login form or not. I basically just use it as a scare tactic to keep honest people honest. From CMackin at quiznos.com Fri Oct 15 09:10:15 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Fri, 15 Oct 2004 08:10:15 -0600 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: I have down some work with FileMkaer Proc in recent history, it is the absolute worst "database" product I have ever seen, we refered to it as the "My First Database" product line. You'll love it the first time you come across a "Date" field that contains string data or a "Number" field that contains string, no primary keys can be established in spite the ability to set fields to "unique". Anyway, you can download a free ODBC driveer from FileMaker Pro's website, one key to rememeber when setting up an ODBC connection with it is that you MUST have the FileMaker Pro file open while you are connecting to it, otherwise the connection fails. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, October 14, 2004 11:33 PM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Oct 15 09:42:38 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 15 Oct 2004 10:42:38 -0400 Subject: [AccessD] Get user name Message-ID: No...I didn't implement a transaction history. The login form just serves as a gentle reminder that users are not anonymous and that problems can be tracked down to the date/time and particular users who were logged in. An honest person therefore is more likely to approach me and let me know that they just accidentally deleted 10,000 records...rather than let me track down, confront and publicly implicate several potential suspects;) ...at least that's the plan;) ...it's been working so far;) Mark -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, October 15, 2004 10:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Get user name Mark, what do you mean to keep people honest? Any way to relate the person logged to something actually done in the database? Susan H. Susan, I'm sending you a simple db (A2K, 208KB) that includes an automatic login/exit form, modules for computer name and user name, and a usys table that stores this information along with a date/time stamp. Notes: 1. Requires a DAO reference. 2. Login info is tracked regardless of whether the user exits from the login form or not. I basically just use it as a scare tactic to keep honest people honest. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Oct 15 09:54:04 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 15 Oct 2004 10:54:04 -0400 Subject: [AccessD] Get user name In-Reply-To: Message-ID: <20041015145414.JDXY2494.imf18aec.mail.bellsouth.net@SUSANONE> I see. ;) Susan H. No...I didn't implement a transaction history. The login form just serves as a gentle reminder that users are not anonymous and that problems can be tracked down to the date/time and particular users who were logged in. An honest person therefore is more likely to approach me and let me know that they just accidentally deleted 10,000 records...rather than let me track down, confront and publicly implicate several potential suspects;) ...at least that's the plan;) ...it's been working so far;) From Susan.Klos at fldoe.org Fri Oct 15 10:01:34 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 15 Oct 2004 11:01:34 -0400 Subject: [AccessD] Get user name Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738E6@doesefpeml02.eus.fldoe.int> Lonnie, Thanks. That worked perfectly. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From roz.clarke at donnslaw.co.uk Fri Oct 15 10:15:07 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 15 Oct 2004 16:15:07 +0100 Subject: [AccessD] Totalling numbers from a multiple entries in two fi elds Message-ID: <61F915314798D311A2F800A0C9C8318805CED624@dibble.observatory.donnslaw.co.uk> Sorry Paul I am struggling to visualise your data. But I'll assume that there is an entity that tblMain describes for which both Roots and Work are attributes (such as a person)? To get the number of people of each ethnicity for each job, you need to add the fields to a totals query, grouping by firstly Work, then Roots, and then counting the unique identifier for each person. HTH Roz -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at summitmedia.co.uk] Sent: 14 October 2004 11:50 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Totalling numbers from a multiple entries in two fields tblMain has 7 ethnicity options in the one field [Roots]. Each of the options involves 10 or so different jobs [Work]. I have to find the numbers for each of the Roots options for each job [Work]. I tried with a number of queries which I pasted bodily into Word to make an instant report. But some strange results is the consequence. Be very pleased to hear how an expert would go about it. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From cfoust at infostatsystems.com Fri Oct 15 10:17:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 08:17:43 -0700 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: Good grief NO! FoxPro is at least a decent relational database. FileMaker is for idiots! Charlotte Foust -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Friday, October 15, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 15 10:19:13 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 08:19:13 -0700 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: Have them export the data from Filemaker and work with the export. The structure of FileMaker files is so bizarre and the data can be SO strange, that's the only way I ever found to move data to Access. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, October 14, 2004 10:33 PM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Oct 15 10:28:00 2004 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 16 Oct 2004 01:28:00 +1000 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <2025BB6F17FCB54791F23CD50558332803855E@starfleet.unknown.local> Chris, I think the department are moving away from Filemaker exactly because of the reasons you've stated. Also, they are having difficulty finding someone who knows much about it. They also claim it's a bit of a slug, but I can't comment as haven't seen the app in action. I went everywhere trying to find the odbc download on the filemaker site, nowhere to be found. You wouldn't happen to have the actual link to the download would you? Thanx Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mackin, Christopher Sent: Saturday, 16 October 2004 12:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access I have down some work with FileMkaer Proc in recent history, it is the absolute worst "database" product I have ever seen, we refered to it as the "My First Database" product line. You'll love it the first time you come across a "Date" field that contains string data or a "Number" field that contains string, no primary keys can be established in spite the ability to set fields to "unique". Anyway, you can download a free ODBC driveer from FileMaker Pro's website, one key to rememeber when setting up an ODBC connection with it is that you MUST have the FileMaker Pro file open while you are connecting to it, otherwise the connection fails. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, October 14, 2004 11:33 PM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 15 10:30:43 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 15 Oct 2004 11:30:43 -0400 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: Tell us what you really think, Charlotte! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 15, 2004 11:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Good grief NO! FoxPro is at least a decent relational database. FileMaker is for idiots! Charlotte Foust -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Friday, October 15, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom.bolton at donnslaw.co.uk Fri Oct 15 10:36:10 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Fri, 15 Oct 2004 16:36:10 +0100 Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... Message-ID: <61F915314798D311A2F800A0C9C83188064331E1@dibble.observatory.donnslaw.co.uk> Hi guys First post from a VB / ASP developer who's been left in charge of an Access mod... sorry to kick off by begging for help ;-) I am trying to programatically link to an SQL v7 table from my Access DB, the source table sits on a networked SQL Server box. I'm using ADOX etc. to bring the table in. Everything goes fine until I try and index the table with an SQL CREATE INDEX statement, executed using the DoCmd.RunSQL method. It just doesn't work - it fails silently. If I take the contents of the string variable from the immediate window and paste it into a query, it runs fine and indexes my table. It's driving me to distraction... any help would be greatly appreciated, many thanks in advance. Tom Bolton -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From donald.a.Mcgillivray at mail.sprint.com Fri Oct 15 11:16:51 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 15 Oct 2004 11:16:51 -0500 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <988E2AC88CCB54459286C4077DB662F501E25AE1@PDAWB03C.ad.sprint.com> Because it's Friday I'll second that!!! Thankfully I've never had to do anything with Filemaker, but my poor wife has to use it daily to run the box office at a small theatre. I don't know if the developer of the app was simply incompetent (as I suspect) or if it's the best that can be done within the limits of the program (gawd, I hope not!), but she (and she is NO kind of developer - barely considers herself a user!) has to perform MODS ON THE INTERFACE just to allow the thing to accommodate normal business realities (increase ticket prices, extensions of performance runs, scheduling the run of the next show, etc.) It's either that or pay the "developer" by the hour to do it. I mean, literally, stuff that could easily be handled by adding a few records to a table (in a well-designed db) require a virtual re-design of the db and interface. And this piece of crap is being used to manage the lifeblood of the org. I have looked under the hood of it a bit, and even tried my hand at designing something with Filemaker, to see if I might be of some help to her. Made me run away screaming. GAWD!!! Don't get me started. I gotta go. Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 15, 2004 8:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Good grief NO! FoxPro is at least a decent relational database. FileMaker is for idiots! Charlotte Foust -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Friday, October 15, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at mchsi.com Fri Oct 15 12:05:10 2004 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Fri, 15 Oct 2004 17:05:10 +0000 Subject: [AccessD] Get user name Message-ID: <101520041705.3631.4bd4@mchsi.com> Heh. Here's a story for a Friday... not entirely off topic... I once put a function into a backend .mdb that checked the logon name of the user, and if it wasn't me it put up a bright red screen with yellow letters that said something like, "Unauthorized Intrusion Detected. You have attempted to open a database for which you are not authorized. We know who you are and where you are sitting. Please remain calm and in your seat, security will be coming for you shortly." It was a slow day and I was bored (kind of like right now, actually!) and didn't expect anything to ever come of it, or anyone to ever see it besides me. Weeks passed and I forgot about it. Then one day one of the office busybody idiots who thought he knew something about databases came rushing over to me all upset because "they" were coming for him and he didn't know what he should do... my, that was fun, and I had some fun with him for awhile, too, before I "covered his tracks for him". and for weeks after I would periodically remind him that he owed me a favor too. As far as I know, he never poked his nose into any of my databases again :) Ron > I basically just use it as a scare tactic to keep honest > people honest. From gustav at cactus.dk Fri Oct 15 12:19:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Oct 2004 19:19:41 +0200 Subject: [AccessD] Get user name In-Reply-To: <101520041705.3631.4bd4@mchsi.com> References: <101520041705.3631.4bd4@mchsi.com> Message-ID: <8637093006.20041015191941@cactus.dk> Hi Ron Nice! But how did you expect to ever see that screen again? /gustav > Heh. Here's a story for a Friday... not entirely off topic... > I once put a function into a backend .mdb that checked the logon name of the > user, and if it wasn't me it put up a bright red screen with yellow letters > that said something like, "Unauthorized Intrusion Detected. You have attempted > to open a database for which you are not authorized. We know who you are and > where you are sitting. Please remain calm and in your seat, security will be > coming for you shortly." > It was a slow day and I was bored (kind of like right now, actually!) and > didn't expect anything to ever come of it, or anyone to ever see it besides me. > Weeks passed and I forgot about it. Then one day one of the office busybody > idiots who thought he knew something about databases came rushing over to me > all upset because "they" were coming for him and he didn't know what he should > do... my, that was fun, and I had some fun with him for awhile, too, before > I "covered his tracks for him". and for weeks after I would periodically > remind him that he owed me a favor too. As far as I know, he never poked his > nose into any of my databases again :) > Ron >> I basically just use it as a scare tactic to keep honest >> people honest. From cfoust at infostatsystems.com Fri Oct 15 13:02:15 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 11:02:15 -0700 Subject: [AccessD] Get user name Message-ID: ROTFLMAO! I did something like that once too. Charlotte Foust -----Original Message----- From: chizotz at mchsi.com [mailto:chizotz at mchsi.com] Sent: Friday, October 15, 2004 10:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Get user name Heh. Here's a story for a Friday... not entirely off topic... I once put a function into a backend .mdb that checked the logon name of the user, and if it wasn't me it put up a bright red screen with yellow letters that said something like, "Unauthorized Intrusion Detected. You have attempted to open a database for which you are not authorized. We know who you are and where you are sitting. Please remain calm and in your seat, security will be coming for you shortly." It was a slow day and I was bored (kind of like right now, actually!) and didn't expect anything to ever come of it, or anyone to ever see it besides me. Weeks passed and I forgot about it. Then one day one of the office busybody idiots who thought he knew something about databases came rushing over to me all upset because "they" were coming for him and he didn't know what he should do... my, that was fun, and I had some fun with him for awhile, too, before I "covered his tracks for him". and for weeks after I would periodically remind him that he owed me a favor too. As far as I know, he never poked his nose into any of my databases again :) Ron > I basically just use it as a scare tactic to keep honest people > honest. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 15 13:02:47 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 11:02:47 -0700 Subject: [AccessD] Get user name Message-ID: Log in as Admin, of course! Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 15, 2004 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Get user name Hi Ron Nice! But how did you expect to ever see that screen again? /gustav > Heh. Here's a story for a Friday... not entirely off topic... > I once put a function into a backend .mdb that checked the logon name > of the > user, and if it wasn't me it put up a bright red screen with yellow letters > that said something like, "Unauthorized Intrusion Detected. You have attempted > to open a database for which you are not authorized. We know who you are and > where you are sitting. Please remain calm and in your seat, security will be > coming for you shortly." > It was a slow day and I was bored (kind of like right now, actually!) > and > didn't expect anything to ever come of it, or anyone to ever see it besides me. > Weeks passed and I forgot about it. Then one day one of the office > busybody > idiots who thought he knew something about databases came rushing over to me > all upset because "they" were coming for him and he didn't know what he should > do... my, that was fun, and I had some fun with him for awhile, too, before > I "covered his tracks for him". and for weeks after I would periodically > remind him that he owed me a favor too. As far as I know, he never poked his > nose into any of my databases again :) > Ron >> I basically just use it as a scare tactic to keep honest people >> honest. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Fri Oct 15 13:38:18 2004 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 15 Oct 2004 14:38:18 -0400 Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... In-Reply-To: <61F915314798D311A2F800A0C9C83188064331E1@dibble.observatory.donnslaw.co.uk> Message-ID: <003901c4b2e6$23fa87a0$f0bffea9@fred> Hi Tom, Two thoughts: (1) Your permissions may be different in your two methods of executing the SQL depending on how SQL Server is set up. (2) I haven't tried to use DoCmd.RunSQL for indexing SQL Server. However, I've successfully used an ADO cmd for indexing. Unfortunately, I no longer have the code for an example. Hope this helps, Fred Hooper |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton |Sent: Friday, October 15, 2004 11:36 AM |To: 'accessd at databaseadvisors.com' |Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... | | |Hi guys | |First post from a VB / ASP developer who's been left in charge |of an Access mod... sorry to kick off by begging for help ;-) | |I am trying to programatically link to an SQL v7 table from my |Access DB, the source table sits on a networked SQL Server |box. I'm using ADOX etc. to bring the table in. Everything |goes fine until I try and index the table with an SQL CREATE |INDEX statement, executed using the DoCmd.RunSQL method. It |just doesn't work - it fails silently. | |If I take the contents of the string variable from the |immediate window and paste it into a query, it runs fine and |indexes my table. | |It's driving me to distraction... any help would be greatly |appreciated, many thanks in advance. | |Tom Bolton | From clh at christopherhawkins.com Fri Oct 15 14:39:17 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Oct 2004 13:39:17 -0600 Subject: [AccessD] Updating front-end via batch file? Message-ID: <212300-2200410515193917188@christopherhawkins.com> Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From DElam at jenkens.com Fri Oct 15 15:05:32 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 15 Oct 2004 15:05:32 -0500 Subject: [AccessD] Updating front-end via batch file? Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02485636@natexch.jenkens.com> There is a front end updater on John Colby's site that I use extensively. Debbie -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, October 15, 2004 2:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From spikee at oatlandspark.org.uk Fri Oct 15 15:18:12 2004 From: spikee at oatlandspark.org.uk (Chris Foote (Spike)) Date: Fri, 15 Oct 2004 21:18:12 +0100 Subject: [AccessD] Updating front-end via batch file? In-Reply-To: <212300-2200410515193917188@christopherhawkins.com> Message-ID: Hi Christopher! I have a batch file at work doing just the job you are after. If you can wait 'til Monday I'll send it to you then. Regards! Chris Foote -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: 15 October 2004 20:39 To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Oct 15 21:44:16 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Oct 2004 20:44:16 -0600 Subject: [AccessD] Updating front-end via batch file? Message-ID: <258430-220041061624416355@christopherhawkins.com> Awesome. I'l keep an eye out. -C- ---- Original Message ---- From: spikee at oatlandspark.org.uk To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Updating front-end via batch file? Date: Fri, 15 Oct 2004 21:18:12 +0100 >Hi Christopher! > >I have a batch file at work doing just the job you are after. > >If you can wait 'til Monday I'll send it to you then. > >Regards! >Chris Foote > > >Anti-virus >9.05.15 with virus definitions dated 12th October 2004> > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: 15 October 2004 20:39 >To: accessd at databaseadvisors.com >Subject: [AccessD] Updating front-end via batch file? > > >Hello, all. > >I have a client who is constantly tinkering with his home-grown >Access solution and is constantly rolling out updates (against my >advice, of course). > >I was about to set him up with a simple batch file that just uses >COPY [origin] [destination] to copy the latest version of the .mdb >from a folder on the server to a user's machine. But before I do, I >want to know if it is possible to get a little fancier. > >I would like the batch file to a) compare the filename on the user's >machine to the filename on the server, and then b) do the copy if the >names are different, or c) NOT do the copy if the names are the same >(my client likes to put the version number in the filename). > >Is this too much to ask of the humble batch file? > > >-Christopher- > >P.S. >And for those of you who wonder why I don't use a vbscript file, this >client swaps eMachines and other budget boxes in and out of his >business based on what's on sale at Costco that week (again, against >my advice). I can't be sure that new boxes he brings in will have >WSH or any of the complementary components installed on the >bastardized version of WinXP that ships with a lot of thses crap >boxes. But I know that batch files work on everything from Win95 up. >;) >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From martyconnelly at shaw.ca Fri Oct 15 22:59:36 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 15 Oct 2004 20:59:36 -0700 Subject: [AccessD] Filemaker ODBC Driver for Access References: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Message-ID: <41709CA8.2020109@shaw.ca> On the filemaker site there are methods to export files to an xml spreadsheet Excel 2002 or 2003 Then just export to Access. May not work for your version of FileMaker tho. http://www.filemaker.com/technologies/xslt_library.html ACTEBS wrote: >Guys, > >Does anyone know where to get an ODBC driver for Filemaker Pro? I have a >client who is migrating from Filemaker Pro to Access (Government Dept) >and they would not know where to get the disk that was originally >installed on their PC. The task of extracting the data from his FmPro DB >into Access is part of an app I'm building for them. > >I don't want to purchase one if I don't have to, but the only ones I can >find online are $100+. For one file and one import instance I can't see >that that is value for money... > >Any help greatly appreciated... > >Vlad > > > -- Marty Connelly Victoria, B.C. Canada From Developer at UltraDNT.com Sat Oct 16 09:56:42 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Sat, 16 Oct 2004 10:56:42 -0400 Subject: [AccessD] Updating front-end via batch file? In-Reply-To: <258430-220041061624416355@christopherhawkins.com> Message-ID: <001901c4b390$59e37d40$0200a8c0@COA3> If you are working on the weekend, your basic need here is the IF command, using the EXIST parameter ... IF also can use NOT and ELSE. And, DOS Batches need GOTO for most branching. Type IF /? At the cmd line for detail. A typical check if the application is on the hard drive would go something like this: IF NOT EXIST C:\FOLDER\SOME.MDB XCOPY \\SERVER\SHARE\SOME.MDB C:\FOLDER Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, October 15, 2004 10:44 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating front-end via batch file? Awesome. I'l keep an eye out. -C- ---- Original Message ---- From: spikee at oatlandspark.org.uk To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Updating front-end via batch file? Date: Fri, 15 Oct 2004 21:18:12 +0100 >Hi Christopher! > >I have a batch file at work doing just the job you are after. > >If you can wait 'til Monday I'll send it to you then. > >Regards! >Chris Foote > > >Anti-virus >9.05.15 with virus definitions dated 12th October 2004> > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: 15 October 2004 20:39 >To: accessd at databaseadvisors.com >Subject: [AccessD] Updating front-end via batch file? > > >Hello, all. > >I have a client who is constantly tinkering with his home-grown Access >solution and is constantly rolling out updates (against my advice, of >course). > >I was about to set him up with a simple batch file that just uses COPY >[origin] [destination] to copy the latest version of the .mdb from a >folder on the server to a user's machine. But before I do, I want to >know if it is possible to get a little fancier. > >I would like the batch file to a) compare the filename on the user's >machine to the filename on the server, and then b) do the copy if the >names are different, or c) NOT do the copy if the names are the same >(my client likes to put the version number in the filename). > >Is this too much to ask of the humble batch file? > > >-Christopher- > >P.S. >And for those of you who wonder why I don't use a vbscript file, this >client swaps eMachines and other budget boxes in and out of his >business based on what's on sale at Costco that week (again, against my >advice). I can't be sure that new boxes he brings in will have WSH or >any of the complementary components installed on the bastardized >version of WinXP that ships with a lot of thses crap boxes. But I know >that batch files work on everything from Win95 up. >;) >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Sat Oct 16 11:24:04 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat, 16 Oct 2004 12:24:04 -0400 Subject: [AccessD] Updating front-end via batch file? In-Reply-To: <212300-2200410515193917188@christopherhawkins.com> Message-ID: I recommend my clients against as it's too easy to end up using an old version of something. Here's the setup I use: 1. Each FE has a table called tblAppVersionControl. One record is entered per release and has the version number, developer comments, user comments, and release date. 2. Up on the server, I create the following structure. X:\Custom \ .MDB Upd_database.Bat \Backup 3. In the front end is also a link to tblAppVersionControl in the copy stored on the server. At app startup, a version check is made between the two tables. If a difference exists, the user comments are displayed and the user is told they need to update. The update is the execution of the batch file. They only need to execute the batch file directly for the initial setup. After that it's accessed via a shortcut. 4. The batch file copies down a new front end, any supporting files (help, icons, DLLs, etc), and registers any DLLs or type libs. It also calls a VB program I wrote to create any required DSN's and shortcuts. The development cycle is: 1. Copy MDB to development machine 2. Make changes. 3. Update app version control table. 4. Save current version in \..\backup. Rename to .version 4. Copy new version to server. Below is one of the batch files. HTH, Jim Dettman (315) 699-3443 jimdettman at earthlink.net @ECHO. @ECHO. @ECHO Checking for application directories... @ECHO. %HOMEDRIVE% CD\ if not exist "%HOMEDRIVE%\Program Files" mkdir "%HOMEDRIVE%\Program Files" if not exist "%HOMEDRIVE%\Program Files\Traverse Custom" mkdir "%HOMEDRIVE%\Program Files\Traverse Custom" @ECHO. @ECHO. @ECHO Copying application files... @ECHO. COPY "P:\Traverse Custom\EDITrafficMonitor\EDITrafficMonitor.MDE" "%HOMEDRIVE%\Program Files\Traverse Custom" COPY "P:\Traverse Custom\EDITrafficMonitor\EDITrafficMonitor.ICO" "%HOMEDRIVE%\Program Files\Traverse Custom" COPY "P:\Traverse Custom\Update.ico" "%HOMEDRIVE%\Program Files\Traverse Custom" COPY "P:\Traverse Custom\vbSendMail.dll" "%HOMEDRIVE%\Program Files\Traverse Custom" @ECHO. @ECHO. @ECHO Setting up environment... @ECHO. "P:\Traverse Custom\SetClientEnv.EXE" EDITrafficMonitor %HOMEDRIVE% "C:\Windows\System32\Regsvr32.exe" "%HOMEDRIVE%\Program Files\Traverse Custom\vbSendMail.dll" /s -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, October 15, 2004 3:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sat Oct 16 16:07:21 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 16 Oct 2004 17:07:21 -0400 Subject: [AccessD] comparing tables Message-ID: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> I've got some SQL code that compares two tables and reports on records that aren't in both tables. I did a bit of checking to be sure, but I can't find any built-in Access feature that does this -- anyone know of a wizard or something that I might have missed? I'd hate to recommend something that's not necessary. Susan H. From stephen at bondsoftware.co.nz Sat Oct 16 20:29:00 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun, 17 Oct 2004 14:29:00 +1300 Subject: [AccessD] comparing tables Message-ID: <70F3D727890C784291D8433E9C418F29088915@server.bondsoftware.co.nz> Can't the 'Find Unmatched Query Wizard' do that? Stephen Bond > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Sunday, 17 October 2004 10:07 a.m. > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] comparing tables > > > I've got some SQL code that compares two tables and reports > on records that > aren't in both tables. I did a bit of checking to be sure, > but I can't find > any built-in Access feature that does this -- anyone know of > a wizard or > something that I might have missed? I'd hate to recommend > something that's > not necessary. > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Sat Oct 16 20:59:19 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 16 Oct 2004 21:59:19 -0400 Subject: [AccessD] comparing tables In-Reply-To: <70F3D727890C784291D8433E9C418F29088915@server.bondsoftware.co.nz> Message-ID: <20041017015920.RYYL2403.imf23aec.mail.bellsouth.net@SUSANONE> Hmmmmmm... I thought about that one, but haven't gotten the exact results I was after -- will look at it again. Susan H. Can't the 'Find Unmatched Query Wizard' do that? From stephen at bondsoftware.co.nz Sat Oct 16 22:06:25 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun, 17 Oct 2004 16:06:25 +1300 Subject: [AccessD] comparing tables Message-ID: <70F3D727890C784291D8433E9C418F298FD0@server.bondsoftware.co.nz> The restriction on this wizard is that it allows only one left join at the wizard stage. If there are a number of fields I want to compare in 2 tables, I manually insert/delete left joins in the Design View after the wiz has done its stuff.. Stephen Bond > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Sunday, 17 October 2004 2:59 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] comparing tables > > > Hmmmmmm... I thought about that one, but haven't gotten the > exact results I > was after -- will look at it again. > > Susan H. > > Can't the 'Find Unmatched Query Wizard' do that? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Sun Oct 17 09:27:55 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 17 Oct 2004 10:27:55 -0400 Subject: [AccessD] comparing tables In-Reply-To: <70F3D727890C784291D8433E9C418F298FD0@server.bondsoftware.co.nz> Message-ID: <20041017142755.WTUT2403.imf23aec.mail.bellsouth.net@SUSANONE> OK, I thought I had run across that before myself, but it's been so long ago -- I'll play around with it. Thanks! Susan H. The restriction on this wizard is that it allows only one left join at the wizard stage. If there are a number of fields I want to compare in 2 tables, I manually insert/delete left joins in the Design View after the wiz has done its stuff.. From gustav at cactus.dk Sun Oct 17 09:56:00 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Oct 2004 16:56:00 +0200 Subject: [AccessD] Query a text file without attach or import In-Reply-To: <14835902294.20041014190208@cactus.dk> References: <14835902294.20041014190208@cactus.dk> Message-ID: <3925901123.20041017165600@cactus.dk> Hi all Forgot to note that the use of an alias for the table is beneficial or even mandatory. Note that the first syntax can be modified to: SELECT NameOfField1, NameOfField2 FROM [pics#txt] AS T IN '' [Text;DATABASE=c:\windows\temp;]; In the second syntax the trick is the brackets which force accept of filenames or foldernames containing spaces. This should be changed to: SELECT NameOfFiels1, NameOfField2 FROM [Text;DATABASE=c:\windows\temp;HDR=YES].[pics.txt] AS T; as Access otherwise my remodel the syntax into invalid syntax. /gustav > Hi all > Should you ever need it, you can query a text file directly without > importing or attaching it first. The trich is to understand that > Access regards the directory of the text file as a "database": > SELECT > [pics#txt].Field1, > [pics#txt].Field2 > FROM > [pics#txt] IN '' [Text;DATABASE=c:\windows\temp;]; > or: > SELECT > Field1, > Field2 > FROM > [Text;DATABASE=c:\windows\temp;HDR=YES].[pics.txt]; > I should note that - as to my testings - even if you specify HDR=NO, > Access still reads the first line for the column names. > These syntax are very handy when you need to read temporary text files > where you do not wish to attach these at all. From gustav at cactus.dk Sun Oct 17 11:43:28 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Oct 2004 18:43:28 +0200 Subject: [AccessD] Re: [dba-Tech] Alternate PDF writing solution In-Reply-To: <4171438F.6040204@rogers.com> References: <001801c4b2c3$ae4dfd10$e8dafea9@ColbyM6805> <4171438F.6040204@rogers.com> Message-ID: <6032348975.20041017184328@cactus.dk> Hi Arthur Any fool can buy Distiller but many clients find it pretty expensive. We use the German FreePDF which is absolutely free: http://freepdfxp.de/fpxp.htm It has the advantage of using the Apple PS driver as well as Ghostscript which ensures a high level of compatibility. Some time ago we did some testing with the alternatives and found all sort of troubles from using wrong fonts, margin offsets, wrong paper format, and other things. Some issues are only present for complicated docs. Be sure to download the "Administration Manual" as well as the resource kit (some VBA code examples) and the Multidocument Printer option. There is no API but you can control it by registry settings and command line parameters. Installation is not that difficult. Batch files are included for silent install on user's station as well as Terminal Server. /gustav > Date: 2004-10-16 17:51 > As some of you may know from previous messages, when the subject of PDF > and Email came up, I recommended PDFMail, a class library from Attac > Consulting. Recently I encountered significantly different behaviour > when using Acrobat 6 as opposed to 5; which behaviour the client deems > unacceptable. So I inquired about the costs of upgrading and was > dismayed to learn that the Pro package I had bought for $199 now goes for >> $500, and the upgrade is more than I paid in the first place. > So now I'm looking for an alternative. At a minimum, it must: > a) support creation of a PDF from any given Access report; > b) support, with a minimum of fuss, emaling said PDF to any specified > recipient, and ideally setting up mail subject and body with a minimum > of fuss; > c) support the merging or amalgamation of several reports into a single PDF. > Attac's PDFMail does all this, and works flawlessly with Acrobat 5, but > without the upgrade there are issues if Acrobat 6 is installed rather > than 5. > In case it helps, in the app of concern I print several documents -- an > invoice, a hotel confirmation, a ticket to a party, etc. All these > documents are based on the invoice selected when you hit PrintAndEmail. > The reason we went PDF in the first place is that conversion to RTF etc. > failed to reproduce the documents exactly as they were. > To phrase this last part in another way, PDF reproduces the color logos > etc., which are a big part of the sizzle, flawlessly. But PDF itself is > not a mandatory part of the spec -- flawless reproduction IS. If there > is another way to go, I'm interested, the more so if this way is free or > cheap. The client is extremely reluctant to spring the $500 + that Attac > wants for the upgrade. > Any alternatives come to mind? I don't want to have to install 5 pieces > of software on each client machine, nor cause the users to do anything > more than click on one button. After that everything should simply "happen". > TIA, > Arthur > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 17 18:03:58 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 17 Oct 2004 18:03:58 -0500 Subject: [AccessD] acCmdCompileAllModules Message-ID: <000001c4b49d$95f23480$de1811d8@danwaters> Has anyone tried this? DoCmd.RunCommand acCmdCompileAllModules I wanted to use it to detect any compile errors before shutting down my development database. I tested with a misspelled keyword (DoCmd.Close acformX, "frmMyForm"), and this was not detected by the compile command. Of course if I click the compile button it is detected. Should this work as I'm expecting? Dan Waters ProMation Systems, Inc. From martyconnelly at shaw.ca Mon Oct 18 01:29:58 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 17 Oct 2004 23:29:58 -0700 Subject: [AccessD] acCmdCompileAllModules References: <000001c4b49d$95f23480$de1811d8@danwaters> Message-ID: <417362E6.5010400@shaw.ca> You could try these http://www.access.vis.pl/af0424a.htm My Polish is lousy. NB. IMPORTANT These undocumented commands should only be attempted by fully qualified stunt driver. ' Call a hidden SysCmd to automatically compile/save all modules. Call SysCmd(504, 16483) or you could also try Application.IsCompiled I have heard this maynot work in cases where you don't have full permissions to all objects in the database.Linked tables maybe? Polish List SysCmd(7) 'Detects the Access VERSION number For Access 97: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB SysCmd 555 'create MSysIMEX... tables SysCmd(504, 16483) 'save and compile code SysCmd(504, 16484) 'save code without compiling SysCmd(501, i) 'list of references, i = 0, 1, ... n SysCmd(500) 'count of references For Access 2000+: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB 'You must use in this case following method, example: Dim accApp As Access.Application Set accApp = New Access.Application accApp.SysCmd 603, PathMdb, PathMde accApp.SysCmd 602, PathMdb, PathMdb Set accApp = Nothing SysCmd(605, 0) 'convert DB to previous version SysCmd(605, "C:\Database97.mdb") 'convert DB to previous version SysCmd(607,"C:\Project1.adp") 'convert DB to ADP project SysCmd(608, i) '60 tips about Access programming for i=0, 1, ... 60 SysCmd(710, 68486165) 'set Polish keyboard (if installed) SysCmd(710, 67699721) 'set US keyboard SysCmd(710, 68748313) 'set Russian keyboard SysCmd(710, 67634184) 'set Greek keyboard SysCmd(710, ...) 'set other country keyboard SysCmd(710,1) 'set next installed keyboard SysCmd(710,0) 'set previous installed keyboard SysCmd(711) 'return put keyboard currently SysCmd(714) 'returns TRUE, if any form, report, macro or module is in design mode SysCmd(715) 'returns Build number of MSACCESS.EXE file to check Access version or e.g. which Service Pack is installed. Dan Waters wrote: >Has anyone tried this? > > > >DoCmd.RunCommand acCmdCompileAllModules > > > >I wanted to use it to detect any compile errors before shutting down my >development database. I tested with a misspelled keyword (DoCmd.Close >acformX, "frmMyForm"), and this was not detected by the compile command. Of >course if I click the compile button it is detected. > > > >Should this work as I'm expecting? > > > >Dan Waters > >ProMation Systems, Inc. > > > -- Marty Connelly Victoria, B.C. Canada From gustav at cactus.dk Mon Oct 18 04:02:27 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Oct 2004 11:02:27 +0200 Subject: [AccessD] acCmdCompileAllModules In-Reply-To: <000001c4b49d$95f23480$de1811d8@danwaters> References: <000001c4b49d$95f23480$de1811d8@danwaters> Message-ID: <776632176.20041018110227@cactus.dk> Hi Dan > Has anyone tried this? > DoCmd.RunCommand acCmdCompileAllModules > I wanted to use it to detect any compile errors before shutting down my > development database. I tested with a misspelled keyword (DoCmd.Close > acformX, "frmMyForm"), and this was not detected by the compile command. Of > course if I click the compile button it is detected. > Should this work as I'm expecting? Perhaps, but it doesn't - because you can't ask the code to compile itself. You have to run this command from a macro. We had a long thread on this and references. Look up in the archives: "Broken References in Runtime AXP and A97. Solved!" from 2003-07-23. The macro is there shown converted to VBA code. However, Marty learned us how to save and load objects as text, so here goes: Application.LoadFromText acMacro, "AutoExec", "autoexec.txt" and here is the text to save as autoexec.txt: Version = 131074 ColumnsShown = 3 Begin Action ="Echo" Argument ="0" End Begin Condition ="CheckReferences()=False" Action ="RunCode" Argument ="VerifyReferences(True)" End Begin Condition ="..." Action ="OpenModule" Argument ="USysReferencesCheck" End Begin Condition ="..." Action ="RunCommand" Argument ="126" End Begin Condition ="..." Action ="Close" Argument ="-1" Argument ="" Argument ="0" End Begin Action ="Echo" Argument ="-1" End /gustav From tom.bolton at donnslaw.co.uk Mon Oct 18 07:26:31 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Mon, 18 Oct 2004 13:26:31 +0100 Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... Message-ID: <61F915314798D311A2F800A0C9C83188064331E6@dibble.observatory.donnslaw.co.uk> Fred I think you may be on to something with the permissions, I'll look into it. Many thanks! Tom -----Original Message----- From: Fred Hooper [mailto:fahooper at trapo.com] Sent: 15 October 2004 19:38 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... Hi Tom, Two thoughts: (1) Your permissions may be different in your two methods of executing the SQL depending on how SQL Server is set up. (2) I haven't tried to use DoCmd.RunSQL for indexing SQL Server. However, I've successfully used an ADO cmd for indexing. Unfortunately, I no longer have the code for an example. Hope this helps, Fred Hooper |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton |Sent: Friday, October 15, 2004 11:36 AM |To: 'accessd at databaseadvisors.com' |Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... | | |Hi guys | |First post from a VB / ASP developer who's been left in charge |of an Access mod... sorry to kick off by begging for help ;-) | |I am trying to programatically link to an SQL v7 table from my |Access DB, the source table sits on a networked SQL Server |box. I'm using ADOX etc. to bring the table in. Everything |goes fine until I try and index the table with an SQL CREATE |INDEX statement, executed using the DoCmd.RunSQL method. It |just doesn't work - it fails silently. | |If I take the contents of the string variable from the |immediate window and paste it into a query, it runs fine and |indexes my table. | |It's driving me to distraction... any help would be greatly |appreciated, many thanks in advance. | |Tom Bolton | -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From dwaters at usinternet.com Mon Oct 18 09:53:04 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 18 Oct 2004 09:53:04 -0500 Subject: [AccessD] acCmdCompileAllModules - Solved! In-Reply-To: <31324646.1098081390720.JavaMail.root@sniper5.usinternet.com> Message-ID: <000d01c4b522$2cd468d0$de1811d8@danwaters> Gustav & Marty, I put this code in the Click event of the system Exit button: If CurrentPCName = "DanWaters" Then '-- Try to compile the VBA code. If it doesn't compile, stop system shutdown. _ Note: If VBA code can't be compiled, no error is raised. But, Application.IsCompiled will still be False. _ If VBA code can be compiled, then it will be compiled and Application.IsCompiled will then be True. DoCmd.RunCommand acCmdCompileAllModules If Application.IsCompiled = False Then FormattedMsgBox GstgNotReady, "The database could not compile!@ @", vbExclamation + vbOKOnly, "Not Compiled" Exit Sub End If End If The function CurrentPCName is my function which uses the API GetComputerName. It turns out that acCmdCompileAllModules really does compile code in the current database. Thanks for your help! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, October 18, 2004 1:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] acCmdCompileAllModules You could try these http://www.access.vis.pl/af0424a.htm My Polish is lousy. NB. IMPORTANT These undocumented commands should only be attempted by fully qualified stunt driver. ' Call a hidden SysCmd to automatically compile/save all modules. Call SysCmd(504, 16483) or you could also try Application.IsCompiled I have heard this maynot work in cases where you don't have full permissions to all objects in the database.Linked tables maybe? Polish List SysCmd(7) 'Detects the Access VERSION number For Access 97: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB SysCmd 555 'create MSysIMEX... tables SysCmd(504, 16483) 'save and compile code SysCmd(504, 16484) 'save code without compiling SysCmd(501, i) 'list of references, i = 0, 1, ... n SysCmd(500) 'count of references For Access 2000+: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB 'You must use in this case following method, example: Dim accApp As Access.Application Set accApp = New Access.Application accApp.SysCmd 603, PathMdb, PathMde accApp.SysCmd 602, PathMdb, PathMdb Set accApp = Nothing SysCmd(605, 0) 'convert DB to previous version SysCmd(605, "C:\Database97.mdb") 'convert DB to previous version SysCmd(607,"C:\Project1.adp") 'convert DB to ADP project SysCmd(608, i) '60 tips about Access programming for i=0, 1, ... 60 SysCmd(710, 68486165) 'set Polish keyboard (if installed) SysCmd(710, 67699721) 'set US keyboard SysCmd(710, 68748313) 'set Russian keyboard SysCmd(710, 67634184) 'set Greek keyboard SysCmd(710, ...) 'set other country keyboard SysCmd(710,1) 'set next installed keyboard SysCmd(710,0) 'set previous installed keyboard SysCmd(711) 'return put keyboard currently SysCmd(714) 'returns TRUE, if any form, report, macro or module is in design mode SysCmd(715) 'returns Build number of MSACCESS.EXE file to check Access version or e.g. which Service Pack is installed. Dan Waters wrote: >Has anyone tried this? > > > >DoCmd.RunCommand acCmdCompileAllModules > > > >I wanted to use it to detect any compile errors before shutting down my >development database. I tested with a misspelled keyword (DoCmd.Close >acformX, "frmMyForm"), and this was not detected by the compile command. Of >course if I click the compile button it is detected. > > > >Should this work as I'm expecting? > > > >Dan Waters > >ProMation Systems, Inc. > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Oct 18 10:19:05 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Oct 2004 17:19:05 +0200 Subject: [AccessD] acCmdCompileAllModules - Solved! In-Reply-To: <000d01c4b522$2cd468d0$de1811d8@danwaters> References: <000d01c4b522$2cd468d0$de1811d8@danwaters> Message-ID: <14529230701.20041018171905@cactus.dk> Hi Dan I haven't tested this scenario. Are you sure the code is compiled when you reopen the application? The original problem was that whenever you fiddle with the references - as you do if you reestablish these after having found one or more missing reference - you wish to have the code compiled before moving on. That couldn't be done without moving the task to the AutoExec macro. /gustav > I put this code in the Click event of the system Exit button: > If CurrentPCName = "DanWaters" Then > '-- Try to compile the VBA code. If it doesn't compile, stop system > shutdown. _ > Note: If VBA code can't be compiled, no error is raised. But, > Application.IsCompiled will still be False. _ > If VBA code can be compiled, then it will be compiled and > Application.IsCompiled will then be True. > DoCmd.RunCommand acCmdCompileAllModules > If Application.IsCompiled = False Then > FormattedMsgBox GstgNotReady, "The database could not compile!@ @", > vbExclamation + vbOKOnly, "Not Compiled" > Exit Sub > End If > End If > The function CurrentPCName is my function which uses the API > GetComputerName. > It turns out that acCmdCompileAllModules really does compile code in the > current database. From dwaters at usinternet.com Mon Oct 18 11:53:59 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 18 Oct 2004 11:53:59 -0500 Subject: [AccessD] acCmdCompileAllModules - Solved! In-Reply-To: <25230394.1098113286597.JavaMail.root@sniper2.usinternet.com> Message-ID: <001501c4b533$105f3110$de1811d8@danwaters> Hi Gustav, I just tested this when the database was not compiled, then compiled using DoCmd.CompileAllModules in the shutdown sequence. When I reopened the database it was still compiled. I haven't been doing anything with references, I just wanted to find a way to catch myself if code couldn't be compiled prior to closing the database. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 18, 2004 10:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] acCmdCompileAllModules - Solved! Hi Dan I haven't tested this scenario. Are you sure the code is compiled when you reopen the application? The original problem was that whenever you fiddle with the references - as you do if you reestablish these after having found one or more missing reference - you wish to have the code compiled before moving on. That couldn't be done without moving the task to the AutoExec macro. /gustav > I put this code in the Click event of the system Exit button: > If CurrentPCName = "DanWaters" Then > '-- Try to compile the VBA code. If it doesn't compile, stop system > shutdown. _ > Note: If VBA code can't be compiled, no error is raised. But, > Application.IsCompiled will still be False. _ > If VBA code can be compiled, then it will be compiled and > Application.IsCompiled will then be True. > DoCmd.RunCommand acCmdCompileAllModules > If Application.IsCompiled = False Then > FormattedMsgBox GstgNotReady, "The database could not compile!@ @", > vbExclamation + vbOKOnly, "Not Compiled" > Exit Sub > End If > End If > The function CurrentPCName is my function which uses the API > GetComputerName. > It turns out that acCmdCompileAllModules really does compile code in the > current database. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Oct 18 07:24:57 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Mon, 18 Oct 2004 05:24:57 -0700 Subject: [AccessD] RE: [dba-Tech] Script Editor (x-posted) Message-ID: Any suggestions for the problem listed below? TIA, Mark -----Original Message----- From: Mitsules, Mark Sent: Friday, October 15, 2004 1:51 PM To: dba-tech at databaseadvisors.com Subject: [dba-Tech] Script Editor Anyone have a free recommendation for a utility that will take a .js file (that has zero line breaks) and reformat it back to "normal"? Mark _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Oct 18 13:01:39 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 18 Oct 2004 14:01:39 -0400 Subject: [AccessD] Open a form and find a record Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738EC@doesefpeml02.eus.fldoe.int> I am using the following code to open a from the menu form and filter the records so that the user sees only their records. Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria The problem is that sometimes the user's name will not be found on the form in the [QAFName] text box. This would simply mean that the user is not a "Quality Assurance" person on anybody's project. When this happens I don't want the form to open. I want a message box to pop up that says "You are not the QA on any projects". On clicking ok on the message box the menu opens back up. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From donald.a.Mcgillivray at mail.sprint.com Mon Oct 18 13:23:21 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Mon, 18 Oct 2004 13:23:21 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <988E2AC88CCB54459286C4077DB662F501E26383@PDAWB03C.ad.sprint.com> Susan, Try something like: (air code) Dim stDocName As String Dim stLinkCriteria As String If Nz(Dlookup("[ProjectID]","tblProjects","[QAFName]='" & Me![UsersName] & "'"),"NotFound") = "NotFound" Then MsgBox "You are not the QA on any projects." Else stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria End If Just substitute your actual field and table names in the dlookup function. HTH, Don McGillivray From cyx5 at cdc.gov Mon Oct 18 13:31:59 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 18 Oct 2004 14:31:59 -0400 Subject: [AccessD] Open a form and find a record Message-ID: OK. I am doing the same thing to open a form and determine pretty much the same kind of filter. I get queezy using dlookups and was trying to find a better way, not using dlookups, to achieve the same functionality. I was under the assumption that using dlookups is a nono as other programs do not understand them (in the event I upgrade to VB.net) and dlookups are slow. Any other suggestions beside the old dlookup method? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Monday, October 18, 2004 2:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open a form and find a record Susan, Try something like: (air code) Dim stDocName As String Dim stLinkCriteria As String If Nz(Dlookup("[ProjectID]","tblProjects","[QAFName]='" & Me![UsersName] & "'"),"NotFound") = "NotFound" Then MsgBox "You are not the QA on any projects." Else stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria End If Just substitute your actual field and table names in the dlookup function. HTH, Don McGillivray -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Oct 18 13:52:23 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 18 Oct 2004 13:52:23 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337183@corp-es01.fleetpride.com> How about seek? Would that work here? Jim -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Monday, October 18, 2004 1:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open a form and find a record OK. I am doing the same thing to open a form and determine pretty much the same kind of filter. I get queezy using dlookups and was trying to find a better way, not using dlookups, to achieve the same functionality. I was under the assumption that using dlookups is a nono as other programs do not understand them (in the event I upgrade to VB.net) and dlookups are slow. Any other suggestions beside the old dlookup method? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Monday, October 18, 2004 2:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open a form and find a record Susan, Try something like: (air code) Dim stDocName As String Dim stLinkCriteria As String If Nz(Dlookup("[ProjectID]","tblProjects","[QAFName]='" & Me![UsersName] & "'"),"NotFound") = "NotFound" Then MsgBox "You are not the QA on any projects." Else stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria End If Just substitute your actual field and table names in the dlookup function. HTH, Don McGillivray -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From donald.a.Mcgillivray at mail.sprint.com Mon Oct 18 13:56:03 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Mon, 18 Oct 2004 13:56:03 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <988E2AC88CCB54459286C4077DB662F501E263FC@PDAWB03C.ad.sprint.com> Well, I don't have to worry much about portability issues, but I'd be interested in the opinions of folks better versed than I in the area of optimization. I was under the impression that a simple one-time call to a domain function in a case like this is no big deal in terms of speed. (I suppose it depends on the size of the table.) I do avoid using them in iterative processes, however. Maybe after applying the filter you could evaluate the state of the form's underlying recordset (eof/bof) upon open (load?), and, if it's empty, display a message box and close the form. Just speculating here - haven't actually tried it. -----Original Message----- OK. I am doing the same thing to open a form and determine pretty much the same kind of filter. I get queezy using dlookups and was trying to find a better way, not using dlookups, to achieve the same functionality. I was under the assumption that using dlookups is a nono as other programs do not understand them (in the event I upgrade to VB.net) and dlookups are slow. Any other suggestions beside the old dlookup method? From artful at rogers.com Mon Oct 18 14:21:34 2004 From: artful at rogers.com (Arthur Fuller) Date: Mon, 18 Oct 2004 15:21:34 -0400 Subject: [AccessD] comparing tables In-Reply-To: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> References: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> Message-ID: <417417BE.5030103@rogers.com> Susan Harkins wrote: >I've got some SQL code that compares two tables and reports on records that >aren't in both tables. I did a bit of checking to be sure, but I can't find >any built-in Access feature that does this -- anyone know of a wizard or >something that I might have missed? I'd hate to recommend something that's >not necessary. > >Susan H. > > That must be some bitchin' code, rather like the SQL underlying such statements from "Star Trek" as, "Scan the federation databases for anomalies." I would suggest that the set of records not found in both tables is infinite, to say the least. :) A. From andy at minstersystems.co.uk Mon Oct 18 16:39:28 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 18 Oct 2004 22:39:28 +0100 Subject: [AccessD] comparing tables In-Reply-To: <417417BE.5030103@rogers.com> Message-ID: <006701c4b55a$f20870a0$b274d0d5@minster33c3r25> ROTFLMAO -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: 18 October 2004 20:22 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] comparing tables > > > Susan Harkins wrote: > > >I've got some SQL code that compares two tables and reports > on records > >that aren't in both tables. I did a bit of checking to be > sure, but I > >can't find any built-in Access feature that does this -- > anyone know of > >a wizard or something that I might have missed? I'd hate to > recommend > >something that's not necessary. > > > >Susan H. > > > > > That must be some bitchin' code, rather like the SQL underlying such > statements from "Star Trek" as, "Scan the federation databases for > anomalies." > > I would suggest that the set of records not found in both tables is > infinite, to say the least. :) > > A. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From clh at christopherhawkins.com Mon Oct 18 17:04:12 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 18 Oct 2004 16:04:12 -0600 Subject: [AccessD] Run-Time error 2507 when importing from DBase Message-ID: <166240-220041011822412200@christopherhawkins.com> So here's the dilemma. I have an mdb that is executing DoCmd.TransferDatabase to pull a .dbf file in. This work great on every machine except for one. On the problem machine, the code throws an error (paraphrased): "run-time error 2507: the type "DBASE 5.0" is not an installed database type". I've googoled but to no avail. WHat's really kicking my butt is that I've heard of this one befroe, I know it. But I can't find any solutions anywhere. Has anyone seen this, or have a link to a KBase article or something I can use to guide my way througha troubleshoot? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From stuart at lexacorp.com.pg Mon Oct 18 17:26:08 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 19 Oct 2004 08:26:08 +1000 Subject: [AccessD] Open a form and find a record In-Reply-To: Message-ID: <4174CFA0.7818.19243AED@lexacorp.com.pg> On 18 Oct 2004 at 14:31, Nicholson, Karen wrote: > OK. I am doing the same thing to open a form and determine pretty much > the same kind of filter. I get queezy using dlookups and was trying to > find a better way, not using dlookups, to achieve the same > functionality. I was under the assumption that using dlookups is a nono > as other programs do not understand them (in the event I upgrade to > VB.net) and dlookups are slow. Any other suggestions beside the old > dlookup method? > If you want to avoid DLookup/DCount et al, you can roll your own equivalent. Something along the lines of: Function IsQA(User as String) as Boolean Dim rs as DAO.Recordset rs = CurrentDB.Openrecordset("Select count(*) from tblProjects where QAFName = '" & User & "'") IsQA = rs(0) End Function Then just use: If IsQA(Username) Then DoCmd.OpenForm "frmProjects",,,,"QAFName ='" & Username & "'" Else MsgBox "You are not QA on any Project" End If -- Stuart From cfoust at infostatsystems.com Mon Oct 18 17:33:53 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 18 Oct 2004 15:33:53 -0700 Subject: [AccessD] Run-Time error 2507 when importing from DBase Message-ID: Don't you need the Borland Database engine on the machine to handle dBase 5.0? Try googling for that or for "BDE" Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, October 18, 2004 3:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Run-Time error 2507 when importing from DBase So here's the dilemma. I have an mdb that is executing DoCmd.TransferDatabase to pull a .dbf file in. This work great on every machine except for one. On the problem machine, the code throws an error (paraphrased): "run-time error 2507: the type "DBASE 5.0" is not an installed database type". I've googoled but to no avail. WHat's really kicking my butt is that I've heard of this one befroe, I know it. But I can't find any solutions anywhere. Has anyone seen this, or have a link to a KBase article or something I can use to guide my way througha troubleshoot? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Oct 18 17:41:52 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 19 Oct 2004 08:41:52 +1000 Subject: [AccessD] Run-Time error 2507 when importing from DBase In-Reply-To: Message-ID: <200410182242.i9IMg0XH022642@cooper.uws.edu.au> Chris Not a solution - just a suggestion Try the usual 'update to latest' packs IE install the latest Jet for that OS Latest Service pack for that OS Make sure all the data options for that version of Office are installed etc. Hope this helps Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 19 October 2004 8:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Run-Time error 2507 when importing from DBase Don't you need the Borland Database engine on the machine to handle dBase 5.0? Try googling for that or for "BDE" Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, October 18, 2004 3:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Run-Time error 2507 when importing from DBase So here's the dilemma. I have an mdb that is executing DoCmd.TransferDatabase to pull a .dbf file in. This work great on every machine except for one. On the problem machine, the code throws an error (paraphrased): "run-time error 2507: the type "DBASE 5.0" is not an installed database type". I've googoled but to no avail. WHat's really kicking my butt is that I've heard of this one befroe, I know it. But I can't find any solutions anywhere. Has anyone seen this, or have a link to a KBase article or something I can use to guide my way througha troubleshoot? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Oct 19 01:41:31 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 07:41:31 +0100 Subject: [AccessD] Run-Time error 2507 when importing from DBase In-Reply-To: <166240-220041011822412200@christopherhawkins.com> Message-ID: <007a01c4b5a6$ab9e8db0$b274d0d5@minster33c3r25> Chris Isn't support for DBF an option on the Access install? Could it be that machine didn't opt for it? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Christopher Hawkins > Sent: 18 October 2004 23:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] Run-Time error 2507 when importing from DBase > > > So here's the dilemma. I have an mdb that is executing > DoCmd.TransferDatabase to pull a .dbf file in. This work > great on every machine except for one. On the problem > machine, the code throws an error (paraphrased): "run-time > error 2507: the type "DBASE 5.0" is not an installed database type". > > I've googoled but to no avail. WHat's really kicking my butt > is that I've heard of this one befroe, I know it. But I > can't find any solutions anywhere. > > Has anyone seen this, or have a link to a KBase article or > something I can use to guide my way througha troubleshoot? > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Chris.Foote at uk.thalesgroup.com Tue Oct 19 02:14:27 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Tue, 19 Oct 2004 08:14:27 +0100 Subject: [AccessD] Updating front-end via batch file? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C3D4@ntscxch1.int.rdel.co.uk> Morning Christopher! Sorry I'm a day late with this. Below is the batch file that I use to update an Access FE file on user's local C: drives. The file 'lives' on the same network 'share' as the current FE file (\\\\ChrisFoote\). It checks to see if the locally stored file has the same filename as the latest version (this is 'hard coded' in the batch file). If it is, it runs Access and opens the FE file and quits the batch file. If the file does not exist it makes the required sub-directory, deletes any existing older version of the file, and copies the latest version to the new directory. Access is then run and the new FE file opened. The users of this db have a desktop link to this batch file. HTH - Chris Foote (Now I come to describe the operation of this bat file I realise that it could be improved somewhat! Still, it seems to work ok ;-O) ----------(Bat file) @echo off if not exist "c:\Program Files\jamling\Jamling-a14.mdb" goto getdb: goto startdb :getdb md "c:\Program Files\jamling" >nul del "c:\Program Files\jamling\Jamling*.mdb" >nul copy "\\\\ChrisFoote\Jamling-a14.mdb" "c:\Program Files\jamling" >nul :startdb start "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "c:\Program Files\jamling\Jamling-a14.mdb" exit > -----Original Message----- > From: Chris Foote (Spike) [mailto:spikee at oatlandspark.org.uk] > Sent: Friday, October 15, 2004 9:18 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Updating front-end via batch file? > > > Hi Christopher! > > I have a batch file at work doing just the job you are after. > > If you can wait 'til Monday I'll send it to you then. > > Regards! > Chris Foote > > > Norton Anti-virus > 9.05.15 with virus definitions dated 12th October 2004> > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher > Hawkins > Sent: 15 October 2004 20:39 > To: accessd at databaseadvisors.com > Subject: [AccessD] Updating front-end via batch file? > > > Hello, all. > > I have a client who is constantly tinkering with his home-grown > Access solution and is constantly rolling out updates (against my > advice, of course). > > I was about to set him up with a simple batch file that just uses > COPY [origin] [destination] to copy the latest version of the .mdb > from a folder on the server to a user's machine. But before I do, I > want to know if it is possible to get a little fancier. > > I would like the batch file to a) compare the filename on the user's > machine to the filename on the server, and then b) do the copy if the > names are different, or c) NOT do the copy if the names are the same > (my client likes to put the version number in the filename). > > Is this too much to ask of the humble batch file? > > > -Christopher- > > P.S. > And for those of you who wonder why I don't use a vbscript file, this > client swaps eMachines and other budget boxes in and out of his > business based on what's on sale at Costco that week (again, against > my advice). I can't be sure that new boxes he brings in will have > WSH or any of the complementary components installed on the > bastardized version of WinXP that ships with a lot of thses crap > boxes. But I know that batch files work on everything from Win95 up. > ;) > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Tue Oct 19 04:05:23 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Oct 2004 11:05:23 +0200 Subject: [AccessD] Open a form and find a record In-Reply-To: <988E2AC88CCB54459286C4077DB662F501E263FC@PDAWB03C.ad.sprint.com> References: <988E2AC88CCB54459286C4077DB662F501E263FC@PDAWB03C.ad.sprint.com> Message-ID: <926977783.20041019110523@cactus.dk> Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be > interested in the opinions of folks better versed than I in the area of > optimization. I was under the impression that a simple one-time call to > a domain function in a case like this is no big deal in terms of speed. > (I suppose it depends on the size of the table.) I do avoid using them > in iterative processes, however. From gustav at cactus.dk Tue Oct 19 04:10:53 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Oct 2004 11:10:53 +0200 Subject: [AccessD] comparing tables In-Reply-To: <417417BE.5030103@rogers.com> References: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> <417417BE.5030103@rogers.com> Message-ID: <1527308328.20041019111053@cactus.dk> Nice catch Arthur! /gustav > Susan Harkins wrote: >>I've got some SQL code that compares two tables and reports on records that >>aren't in both tables. I did a bit of checking to be sure, but I can't find >>any built-in Access feature that does this -- anyone know of a wizard or >>something that I might have missed? I'd hate to recommend something that's >>not necessary. >> >>Susan H. >> >> > That must be some bitchin' code, rather like the SQL underlying such > statements from "Star Trek" as, "Scan the federation databases for > anomalies." > I would suggest that the set of records not found in both tables is > infinite, to say the least. :) > A. From cyx5 at cdc.gov Tue Oct 19 05:20:36 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 19 Oct 2004 06:20:36 -0400 Subject: [AccessD] Open a form and find a record Message-ID: Wowzer. I am going to try this to see if this works faster than my dlookup and relieves my conscience (sp?) of using dlookups when I know this database will be upscaled someday and I won't have another programmer complaining that I used dlookups. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 18, 2004 6:26 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] Open a form and find a record On 18 Oct 2004 at 14:31, Nicholson, Karen wrote: > OK. I am doing the same thing to open a form and determine pretty much > the same kind of filter. I get queezy using dlookups and was trying to > find a better way, not using dlookups, to achieve the same > functionality. I was under the assumption that using dlookups is a nono > as other programs do not understand them (in the event I upgrade to > VB.net) and dlookups are slow. Any other suggestions beside the old > dlookup method? > If you want to avoid DLookup/DCount et al, you can roll your own equivalent. Something along the lines of: Function IsQA(User as String) as Boolean Dim rs as DAO.Recordset rs = CurrentDB.Openrecordset("Select count(*) from tblProjects where QAFName = '" & User & "'") IsQA = rs(0) End Function Then just use: If IsQA(Username) Then DoCmd.OpenForm "frmProjects",,,,"QAFName ='" & Username & "'" Else MsgBox "You are not QA on any Project" End If -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Oct 19 05:42:09 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 11:42:09 +0100 Subject: [AccessD] Events Collection?? Message-ID: <20041019104207.0C00024CDA7@smtp.nildram.co.uk> Can you enumerate through the event procedures of a form or control? I want to modify my homespun search routine to look for function calls triggered from an event (not from code), and was wondering if I can do a For Each sort of loop or if I've got to specify each event/ -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From actebs at actebs.com.au Tue Oct 19 07:22:57 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 19 Oct 2004 22:22:57 +1000 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <2025BB6F17FCB54791F23CD505583328041BC4@starfleet.unknown.local> Guys, Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... Any ideas? Vlad From actebs at actebs.com.au Tue Oct 19 07:24:10 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 19 Oct 2004 22:24:10 +1000 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <2025BB6F17FCB54791F23CD505583328088648@starfleet.unknown.local> Marty, Your a god! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Saturday, 16 October 2004 2:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filemaker ODBC Driver for Access On the filemaker site there are methods to export files to an xml spreadsheet Excel 2002 or 2003 Then just export to Access. May not work for your version of FileMaker tho. http://www.filemaker.com/technologies/xslt_library.html ACTEBS wrote: >Guys, > >Does anyone know where to get an ODBC driver for Filemaker Pro? I have a >client who is migrating from Filemaker Pro to Access (Government Dept) >and they would not know where to get the disk that was originally >installed on their PC. The task of extracting the data from his FmPro DB >into Access is part of an app I'm building for them. > >I don't want to purchase one if I don't have to, but the only ones I can >find online are $100+. For one file and one import instance I can't see >that that is value for money... > >Any help greatly appreciated... > >Vlad > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Oct 19 07:41:51 2004 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Tue, 19 Oct 2004 08:41:51 -0400 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <32270-2200410219124151596@M2W079.mail2web.com> Vlad, All I can think of right off is to issue a DAO command like .FindFirst and trap the error. HTH anyway, Rocky Original Message: ----------------- From: ACTEBS actebs at actebs.com.au Date: Tue, 19 Oct 2004 22:22:57 +1000 To: accessd at databaseadvisors.com Subject: [AccessD] DAO Recordset/Database is Open? Guys, Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From andy at minstersystems.co.uk Tue Oct 19 07:43:45 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 13:43:45 +0100 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <20041019124343.010DC25550E@smtp.nildram.co.uk> Hi Vlad How about: If rst Is Nothing Then -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Group E-mail Subject: [AccessD] DAO Recordset/Database is Open? Date: 19/10/04 12:26 > > Guys, > > Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... > > Any ideas? > > Vlad > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From gustav at cactus.dk Tue Oct 19 07:48:49 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Oct 2004 14:48:49 +0200 Subject: [AccessD] DAO Recordset/Database is Open? In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC4@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC4@starfleet.unknown.local> Message-ID: <17220383910.20041019144849@cactus.dk> Hi Vlad I believe the only method is to try to open it exclusively and catch the error if that fails. /gustav > Does anyone know how, using DAO, to check whether a recordset is > currently open and also whether the database is currently open. In > ADO you can use "State", but there seems to be no equivalent in > DAO... From actebs at actebs.com.au Tue Oct 19 08:05:52 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 19 Oct 2004 23:05:52 +1000 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <2025BB6F17FCB54791F23CD505583328088649@starfleet.unknown.local> Andy, You're a star. Thanks to Gustav and Rocky for their suggestions. For the life of me I couldn't come up with that. I love this list! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, 19 October 2004 10:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Recordset/Database is Open? Hi Vlad How about: If rst Is Nothing Then -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Group E-mail Subject: [AccessD] DAO Recordset/Database is Open? Date: 19/10/04 12:26 > > Guys, > > Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... > > Any ideas? > > Vlad > > > -- > _______________________________________________ > 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 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Oct 19 08:24:53 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 19 Oct 2004 09:24:53 -0400 Subject: [AccessD] Events Collection?? References: <20041019104207.0C00024CDA7@smtp.nildram.co.uk> Message-ID: <00aa01c4b5df$05895fc0$6401a8c0@default> ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 19, 2004 6:42 AM Subject: [AccessD] Events Collection?? > Can you enumerate through the event procedures of a form or control? I want > to modify my homespun search routine to look for function calls triggered > from an event (not from code), and was wondering if I can do a For Each sort > of loop or if I've got to specify each event/ > -- > Andy Lacey > http://www.minstersystems.co.uk Andy, You can iterate through each Control and Form/Report using a properties loop: Const EVP As String = "[Event Procedure]" Dim prp As Access.Property For each prp in Obj.Properties If IsEvent(prp.Name) Then If prp.Value = EVP Then ' End If End If Next Function IsEvent(prpName As String) As Boolean 'Actually, this is a table in one of the A97 Wizards IsEvent = False Select Case prpName Case "BeforeInsert", "AfterInsert", "ApplyFilter" IsEvent = True Case "BeforeUpdate", "AfterUpdate" IsEvent = True Case "BeforeDelConfirm", "AfterDelConfirm" IsEvent = True Case Else If Left(prpName, 2) = "On" Then IsEvent = True End If End Select End Function ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From adtp at touchtelindia.net Tue Oct 19 09:15:42 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 19 Oct 2004 19:45:42 +0530 Subject: [AccessD] Open a form and find a record References: <01B619CB8F6C8C478EDAC39191AEC51EE738EC@doesefpeml02.eus.fldoe.i nt> Message-ID: <003f01c4b5e6$5c366230$ac1865cb@winxp> Canceling Open Action Of Form - If No Record =================================== As a generic solution, insertion of code block given at (A) below, in Open event of the target form, will ensure that if there is no record (in its record source), the form will refuse to open and display a custom message instead. This solution is universally applicable, whatever the filtering criteria in the command used for opening the form. It is however desirable to precede such a command by the following statement, in order to prevent error message (2501 - The OpenForm action was cancelled). On Error Resume Next It is observed from the original post (by Susan), that the command for closing the menu form has been placed before that for opening the target form. It has to be the other way around. Suggested revised code for click event of appropriate command button (CmdOpen) on the menu form, is given at (B) below. A.D.Tejpal -------------- (A) Code in target form (frmProjects) ================================== Private Sub Form_Open(Cancel As Integer) With Me.RecordsetClone If .BOF And .EOF Then MsgBox "You are not the QA on any projects" Cancel = 1 End If End With End Sub ================================== (B) Code in Menu Form ================================== Private Sub CmdOpen_Click() Dim stDocName As String Dim stLinkCriteria As String If Len(Nz(UsersName, "")) = 0 Then Exit Sub End If stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & _ "'" & Me![UsersName] & "'" On Error Resume Next DoCmd.OpenForm stDocName, , , stLinkCriteria On Error GoTo 0 DoCmd.Close acForm, Me.Name End Sub ================================== ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Tuesday, October 19, 2004 14:35 Subject: Re: [AccessD] Open a form and find a record Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be interested in the opinions of folks better versed than I in the area of optimization. I was under the impression that a simple one-time call to a domain function in a case like this is no big deal in terms of speed. > (I suppose it depends on the size of the table.) I do avoid using them in iterative processes, however. << SNIP >> ----- Original Message ----- From: Klos, Susan To: 'AccessD at databaseadvisors.com' Sent: Monday, October 18, 2004 23:31 Subject: [AccessD] Open a form and find a record I am using the following code to open a from the menu form and filter the records so that the user sees only their records. Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria The problem is that sometimes the user's name will not be found on the form in the [QAFName] text box. This would simply mean that the user is not a "Quality Assurance" person on anybody's project. When this happens I don't want the form to open. I want a message box to pop up that says "You are not the QA on any projects". On clicking ok on the message box the menu opens back up. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From cfoust at infostatsystems.com Tue Oct 19 09:33:13 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Oct 2004 07:33:13 -0700 Subject: [AccessD] Open a form and find a record Message-ID: I agree, Gustav. Sometimes a domain aggregate function is the *fastest* way to get a single piece of information, since all you're doing is effectively running a query on the fly to return a single value. Where it is slow is in a query where it executes once for every record. And in code, returning a single recordset and working with that is faster when it replaces multiple Dlookups. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 19, 2004 2:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open a form and find a record Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be > interested in the opinions of folks better versed than I in the area > of optimization. I was under the impression that a simple one-time > call to a domain function in a case like this is no big deal in terms > of speed. (I suppose it depends on the size of the table.) I do avoid > using them in iterative processes, however. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Oct 19 09:34:02 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 15:34:02 +0100 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <20041019143358.AFCB6253B8E@smtp.nildram.co.uk> Happy to help Vlad. Note though that my solution only looks to see if you (ie the cuuent instance of Access) have that recordset open. The others were looking to see if the underlying table was open anywhere. Be sure to choose the right one for what you're after. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: RE: [AccessD] DAO Recordset/Database is Open? Date: 19/10/04 13:09 > > Andy, > > You're a star. Thanks to Gustav and Rocky for their suggestions. For the life of me I couldn't come up with that. I love this list! > > Vlad > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey > Sent: Tuesday, 19 October 2004 10:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DAO Recordset/Database is Open? > > > Hi Vlad > > How about: > > If rst Is Nothing Then > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > <accessd at databaseadvisors.com> > To: Access Group E-mail <accessd at databaseadvisors.com> > Subject: [AccessD] DAO Recordset/Database is Open? > Date: 19/10/04 12:26 > > > > > Guys, > > > > Does anyone know how, using DAO, to check whether a recordset is currently > open and also whether the database is currently open. In ADO you can use > &quot;State&quot;, but there seems to be no equivalent in DAO... > > > > Any ideas? > > > > Vlad > > > > > > -- > > _______________________________________________ > > 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 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From andy at minstersystems.co.uk Tue Oct 19 09:57:06 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 15:57:06 +0100 Subject: [AccessD] Events Collection?? Message-ID: <20041019145703.417432547B6@smtp.nildram.co.uk> Hi Michael That looks great but when I open a form (A97 BTW) and iterate through its properties I don't see any of the events, just things like its Name, LastUpdated and stuff. What am I doing wrong? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Date: 19/10/04 13:33 > > ----- Original Message ----- > From: "Andy Lacey" <andy at minstersystems.co.uk> > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Sent: Tuesday, October 19, 2004 6:42 AM > Subject: [AccessD] Events Collection?? > > > > Can you enumerate through the event procedures of a form or control? I > want > > to modify my homespun search routine to look for function calls triggered > > from an event (not from code), and was wondering if I can do a For Each > sort > > of loop or if I've got to specify each event/ > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > Andy, > > You can iterate through each Control and Form/Report > using a properties loop: > > Const EVP As String = "[Event Procedure]" > Dim prp As Access.Property > > For each prp in Obj.Properties > If IsEvent(prp.Name) Then > If prp.Value = EVP Then > ' > End If > End If > Next > > Function IsEvent(prpName As String) As Boolean > 'Actually, this is a table in one of the A97 Wizards > IsEvent = False > Select Case prpName > Case "BeforeInsert", "AfterInsert", "ApplyFilter" > IsEvent = True > Case "BeforeUpdate", "AfterUpdate" > IsEvent = True > Case "BeforeDelConfirm", "AfterDelConfirm" > IsEvent = True > Case Else > If Left(prpName, 2) = "On" Then > IsEvent = True > End If > End Select > End Function > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From michael.mattys at adelphia.net Tue Oct 19 10:17:38 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 19 Oct 2004 11:17:38 -0400 Subject: [AccessD] Events Collection?? References: <20041019145703.417432547B6@smtp.nildram.co.uk> Message-ID: <013201c4b5ee$c783bd00$6401a8c0@default> Andy, Everything on the Properties Sheet for any object is contained within that object's properties collection. Try putting a stop in the code where you've written (This is DAO code) Dim frm As Access.Form Dim prp As Access.Property Set frm = Forms("X") For Each prp In frm.Properties Stop Next Now look at the Properties Window in the VBE. You should see every event listed under frm. What we are looking for is the Name of a property that is listed in the Select ... Case structure and if it's value equals EVP, then we know that it triggers an event. . We can also get functions in the property sheet that are of the form "=MyFunction()" by simply checking the Len() of the prp.Value and whether or not it equals EVP or IsNull(). HTH ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 19, 2004 10:57 AM Subject: Re: [AccessD] Events Collection?? > Hi Michael > That looks great but when I open a form (A97 BTW) and iterate through its > properties I don't see any of the events, just things like its Name, > LastUpdated and stuff. What am I doing wrong? > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Events Collection?? > Date: 19/10/04 13:33 > > > > > ----- Original Message ----- > > From: "Andy Lacey" <andy at minstersystems.co.uk> > > To: "Access Developers discussion and problem solving" > > <accessd at databaseadvisors.com> > > Sent: Tuesday, October 19, 2004 6:42 AM > > Subject: [AccessD] Events Collection?? > > > > > > > Can you enumerate through the event procedures of a form or control? > I > > want > > > to modify my homespun search routine to look for function calls > triggered > > > from an event (not from code), and was wondering if I can do a For > Each > > sort > > > of loop or if I've got to specify each event/ > > > -- > > > Andy Lacey > > > http://www.minstersystems.co.uk > > > > Andy, > > > > You can iterate through each Control and Form/Report > > using a properties loop: > > > > Const EVP As String = "[Event Procedure]" > > Dim prp As Access.Property > > > > For each prp in Obj.Properties > > If IsEvent(prp.Name) Then > > If prp.Value = EVP Then > > ' > > End If > > End If > > Next > > > > Function IsEvent(prpName As String) As Boolean > > 'Actually, this is a table in one of the A97 Wizards > > IsEvent = False > > Select Case prpName > > Case "BeforeInsert", "AfterInsert", > "ApplyFilter" > > IsEvent = True > > Case "BeforeUpdate", "AfterUpdate" > > IsEvent = True > > Case "BeforeDelConfirm", "AfterDelConfirm" > > IsEvent = True > > Case Else > > If Left(prpName, 2) = "On" Then > > IsEvent = True > > End If > > End Select > > End Function > > ---- > > > > Michael R. Mattys > > Mattys MapLib for Microsoft MapPoint > > http://www.mattysconsulting.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 19 10:51:25 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Oct 2004 08:51:25 -0700 Subject: [AccessD] Events Collection?? Message-ID: If you want to itemize the event procedures, you need to work with the module, not the form itself. It's very ugly code. Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Tuesday, October 19, 2004 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Hi Michael That looks great but when I open a form (A97 BTW) and iterate through its properties I don't see any of the events, just things like its Name, LastUpdated and stuff. What am I doing wrong? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Date: 19/10/04 13:33 > > ----- Original Message ----- > From: "Andy Lacey" <andy at minstersystems.co.uk> > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Sent: Tuesday, October 19, 2004 6:42 AM > Subject: [AccessD] Events Collection?? > > > > Can you enumerate through the event procedures of a form or > control? I > want > > to modify my homespun search routine to look for function calls triggered > > from an event (not from code), and was wondering if I can do a > For Each > sort > > of loop or if I've got to specify each event/ > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > Andy, > > You can iterate through each Control and Form/Report > using a properties loop: > > Const EVP As String = "[Event Procedure]" > Dim prp As Access.Property > > For each prp in Obj.Properties > If IsEvent(prp.Name) Then > If prp.Value = EVP Then > ' > End If > End If > Next > > Function IsEvent(prpName As String) As Boolean > 'Actually, this is a table in one of the A97 Wizards > IsEvent = False > Select Case prpName > Case "BeforeInsert", "AfterInsert", "ApplyFilter" > IsEvent = True > Case "BeforeUpdate", "AfterUpdate" > IsEvent = True > Case "BeforeDelConfirm", "AfterDelConfirm" > IsEvent = True > Case Else > If Left(prpName, 2) = "On" Then > IsEvent = True > End If > End Select > End Function > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Oct 19 11:18:47 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 17:18:47 +0100 Subject: [AccessD] Events Collection?? Message-ID: <20041019161844.28FEA24CC77@smtp.nildram.co.uk> Hi Michael Found what I was doing wrong. My code to iterate through the form used For Each Doc In Ctr.Documents The Doc properties do not include the Events. I needed the "Set frm = Forms(0)", and now I see them. Terrific. Thanks again Michael. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Date: 19/10/04 15:22 > > Andy, > > Everything on the Properties Sheet for any object > is contained within that object's properties collection. > Try putting a stop in the code where you've written > (This is DAO code) > > Dim frm As Access.Form > Dim prp As Access.Property > Set frm = Forms("X") > For Each prp In frm.Properties > Stop > Next > > Now look at the Properties Window in the VBE. > You should see every event listed under frm. > What we are looking for is the Name of a property > that is listed in the Select ... Case structure and if it's > value equals EVP, then we know that it triggers an > event. > .. > We can also get functions in the property sheet > that are of the form "=MyFunction()" by simply > checking the Len() of the prp.Value and whether > or not it equals EVP or IsNull(). > > HTH > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Andy Lacey" <andy at minstersystems.co.uk> > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Sent: Tuesday, October 19, 2004 10:57 AM > Subject: Re: [AccessD] Events Collection?? > > > > Hi Michael > > That looks great but when I open a form (A97 BTW) and iterate through its > > properties I don't see any of the events, just things like its Name, > > LastUpdated and stuff. What am I doing wrong? > > > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > --------- Original Message -------- > > From: Access Developers discussion and problem solving > > <accessd at databaseadvisors.com> > > To: Access Developers discussion and problem solving > > <accessd at databaseadvisors.com> > > Subject: Re: [AccessD] Events Collection?? > > Date: 19/10/04 13:33 > > > > > > > > ----- Original Message ----- > > > From: &quot;Andy Lacey&quot; &lt;andy at minstersystems.co.uk&gt; > > > To: &quot;Access Developers discussion and problem solving&quot; > > > &lt;accessd at databaseadvisors.com&gt; > > > Sent: Tuesday, October 19, 2004 6:42 AM > > > Subject: [AccessD] Events Collection?? > > > > > > > > > &gt; Can you enumerate through the event procedures of a form or > control? > > I > > > want > > > &gt; to modify my homespun search routine to look for function calls > > triggered > > > &gt; from an event (not from code), and was wondering if I can do a For > > Each > > > sort > > > &gt; of loop or if I've got to specify each event/ > > > &gt; -- > > > &gt; Andy Lacey > > > &gt; http://www.minstersystems.co.uk > > > > > > Andy, > > > > > > You can iterate through each Control and Form/Report > > > using a properties loop: > > > > > > Const EVP As String = &quot;[Event Procedure]&quot; > > > Dim prp As Access.Property > > > > > > For each prp in Obj.Properties > > > If IsEvent(prp.Name) Then > > > If prp.Value = EVP Then > > > ' > > > End If > > > End If > > > Next > > > > > > Function IsEvent(prpName As String) As Boolean > > > 'Actually, this is a table in one of the A97 Wizards > > > IsEvent = False > > > Select Case prpName > > > Case &quot;BeforeInsert&quot;, &quot;AfterInsert&quot;, > > &quot;ApplyFilter&quot; > > > IsEvent = True > > > Case &quot;BeforeUpdate&quot;, &quot;AfterUpdate&quot; > > > IsEvent = True > > > Case &quot;BeforeDelConfirm&quot;, > &quot;AfterDelConfirm&quot; > > > IsEvent = True > > > Case Else > > > If Left(prpName, 2) = &quot;On&quot; Then > > > IsEvent = True > > > End If > > > End Select > > > End Function > > > ---- > > > > > > Michael R. Mattys > > > Mattys MapLib for Microsoft MapPoint > > > http://www.mattysconsulting.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.2 > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From michael.mattys at adelphia.net Tue Oct 19 14:58:23 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 19 Oct 2004 15:58:23 -0400 Subject: [AccessD] Events Collection?? References: Message-ID: <01c201c4b615$fe83de80$6401a8c0@default> > If you want to itemize the event procedures, you need to work with the > module, not the form itself. It's very ugly code. > > Charlotte Foust Ugly code? Should I defend myself? :) En Garde, Charlotte Foust! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From cfoust at infostatsystems.com Tue Oct 19 16:00:01 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Oct 2004 14:00:01 -0700 Subject: [AccessD] Events Collection?? Message-ID: Only if you really *like* working with methods like ProcOfLine! ;-} Here's some I wrote years ago to print a list of event procedures in a form module to the immediate window. It tests for the existence of control event procedures in the form and prints starting line of existing procedures or MISSING for missing procedures. Now THAT'S ugly! Function TestEventProcs(ByVal strFrm As String) On Error Resume Next Dim frm As Form Dim mdl As Module Dim ctl As Control Dim prp As dao.Property Dim strSub As String Dim lngSLine As Long Dim lngSCol As Long Dim lngELine As Long Dim lngECol As Long Dim intPfx As Integer 'make sure the form and its module are open If Not IsLoaded(strFrm) Then DoCmd.OpenForm strFrm, acDesign End If Set frm = Forms(strFrm) Set mdl = Modules("Form_" & strFrm) If Err <> 0 Then DoCmd.OpenModule "Form_" & strFrm Set mdl = Modules("Form_" & strFrm) End If 'loop through the controls 'looking for event procedures For Each ctl In frm.Controls For Each prp In ctl.Properties If prp.name Like "On*" Or _ prp.name Like "After*" Or _ prp.name Like "Before*" Then 'store the length of the prefix If prp.name Like "On*" Then intPfx = 2 ElseIf prp.name Like "After*" Then intPfx = 5 ElseIf prp.name Like "Before*" Then intPfx = 6 End If If prp.Value = "[Event Procedure]" Then 'initialize the line and colum variables 'for the proc find in the module lngSLine = 0 lngSCol = 0 lngELine = 0 lngECol = 0 strSub = ctl.name & "_" & Mid(prp.name, intPfx + 1) 'look for the event procedure in the module If mdl.Find(strSub, lngSLine, lngSCol, lngELine, lngECol) Then 'if event procedure found, 'print its name and starting line Debug.Print strSub & "() Exists" Debug.Print , "Starts at line: " & lngSLine Else 'otherwise, print name and MISSING Debug.Print strSub & "() Is MISSING" End If End If End If Next prp Next ctl Set prp = Nothing Set ctl = Nothing Set mdl = Nothing Set frm = Nothing End Function Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Tuesday, October 19, 2004 12:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? > If you want to itemize the event procedures, you need to work with the > module, not the form itself. It's very ugly code. > > Charlotte Foust Ugly code? Should I defend myself? :) En Garde, Charlotte Foust! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.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 Tue Oct 19 17:00:00 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 23:00:00 +0100 Subject: [AccessD] Events Collection?? In-Reply-To: Message-ID: <009501c4b626$fb314860$b274d0d5@minster33c3r25> I've got code to look through module code but what I wanted was to find all occurrences of a function call, some of which are calls fired direct from an event without using an Event proc. So Michael's code did the job perfectly. Thanks anyway Charlotte. And you're right, the code to find stuff in a module is pretty horrible. Can't remember where I got it from. Works though. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 19 October 2004 22:00 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Events Collection?? > > > Only if you really *like* working with methods like ProcOfLine! ;-} > > Here's some I wrote years ago to print a list of event > procedures in a form module to the immediate window. It > tests for the existence of control event procedures in the > form and prints starting line of existing procedures or > MISSING for missing procedures. Now THAT'S ugly! > > Function TestEventProcs(ByVal strFrm As String) > On Error Resume Next > Dim frm As Form > Dim mdl As Module > Dim ctl As Control > Dim prp As dao.Property > Dim strSub As String > Dim lngSLine As Long > Dim lngSCol As Long > Dim lngELine As Long > Dim lngECol As Long > Dim intPfx As Integer > 'make sure the form and its module are open > If Not IsLoaded(strFrm) Then > DoCmd.OpenForm strFrm, acDesign > End If > Set frm = Forms(strFrm) > Set mdl = Modules("Form_" & strFrm) > If Err <> 0 Then > DoCmd.OpenModule "Form_" & strFrm > Set mdl = Modules("Form_" & strFrm) > End If > 'loop through the controls > 'looking for event procedures > For Each ctl In frm.Controls > For Each prp In ctl.Properties > If prp.name Like "On*" Or _ > prp.name Like "After*" Or _ > prp.name Like "Before*" Then > 'store the length of the prefix > If prp.name Like "On*" Then > intPfx = 2 > ElseIf prp.name Like "After*" Then > intPfx = 5 > ElseIf prp.name Like "Before*" Then > intPfx = 6 > End If > > If prp.Value = "[Event Procedure]" Then > 'initialize the line and colum variables > 'for the proc find in the module > lngSLine = 0 > lngSCol = 0 > lngELine = 0 > lngECol = 0 > strSub = ctl.name & "_" & Mid(prp.name, intPfx + 1) > 'look for the event procedure in the module > If mdl.Find(strSub, lngSLine, lngSCol, lngELine, > lngECol) Then > 'if event procedure found, > 'print its name and starting line > Debug.Print strSub & "() Exists" > Debug.Print , "Starts at line: " & lngSLine > Else > 'otherwise, print name and MISSING > Debug.Print strSub & "() Is MISSING" > End If > End If > End If > Next prp > Next ctl > Set prp = Nothing > Set ctl = Nothing > Set mdl = Nothing > Set frm = Nothing > End Function > > Charlotte Foust > > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Tuesday, October 19, 2004 12:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Events Collection?? > > > > If you want to itemize the event procedures, you need to > work with the > > > module, not the form itself. It's very ugly code. > > > > Charlotte Foust > > > Ugly code? Should I defend myself? :) > En Garde, Charlotte Foust! > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mwhittinghill at symphonyinfo.com Wed Oct 20 10:15:12 2004 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 20 Oct 2004 10:15:12 -0500 Subject: [AccessD] OT: (Cross posted) VSS and VB6 Message-ID: <004d01c4b6b7$991b4c70$2601a8c0@Symphony.local> Hi all, I have a VB6 project where I would like to make a copy of the project files that is detached from Visual Source Safe, while leaving the original project alone. In Access, I can compact a copy of an mdb to do that, but when I make a copy of my VB files, they seem to still affect my VSS project. How can I do this? Thanks, Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com From mwhittinghill at symphonyinfo.com Wed Oct 20 10:34:29 2004 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 20 Oct 2004 10:34:29 -0500 Subject: [AccessD] OT: Test - no reply Message-ID: <000d01c4b6ba$4bcc9ed0$2601a8c0@Symphony.local> Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com From Jim.Hale at FleetPride.com Wed Oct 20 12:04:41 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 20 Oct 2004 12:04:41 -0500 Subject: [AccessD] Load Excel comments into database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337197@corp-es01.fleetpride.com> Does anyone have any code or ideas on how to strip comments from an Excel spreadsheet and load them into an Access DB? I vaguely recall seeing some code once upon a time but I can't recall where. TIA Jim *********************************************************************** 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 chris at piasd.org Wed Oct 20 12:14:48 2004 From: chris at piasd.org (Chris Kettenbach) Date: Wed, 20 Oct 2004 10:14:48 -0700 Subject: [AccessD] Load Excel comments into database Message-ID: <2F7BA03C93D17D48B13C42228C8FDAF27855E2@server.domain.local> Just get a reference to the spreadsheet and loop through the comments collections. Then you run INSERT queries or ADO.AddNew or something and insert them in. Hopes this helps. CK -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Wednesday, October 20, 2004 10:05 AM To: 'Accessd (E-mail) Subject: [AccessD] Load Excel comments into database Does anyone have any code or ideas on how to strip comments from an Excel spreadsheet and load them into an Access DB? I vaguely recall seeing some code once upon a time but I can't recall where. TIA Jim *********************************************************************** 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 BBarabash at TappeConstruction.com Wed Oct 20 12:22:44 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 20 Oct 2004 12:22:44 -0500 Subject: [AccessD] OT: (Cross posted) VSS and VB6 Message-ID: <100F91B31300334B89EC531C9DCB0865318D59@tccexch01.tappeconstruction.net> When you copy the project files to a new folder, omit the mssccprj.scc and vssver.scc files. Make sure to right click on the files in Windows Explorer and uncheck the read only flag. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Whittinghill Sent: Wednesday, October 20, 2004 10:15 AM To: dba-tech-request at databaseadvisors.com; accessd at databaseadvisors.com Subject: [AccessD] OT: (Cross posted) VSS and VB6 Hi all, I have a VB6 project where I would like to make a copy of the project files that is detached from Visual Source Safe, while leaving the original project alone. In Access, I can compact a copy of an mdb to do that, but when I make a copy of my VB files, they seem to still affect my VSS project. How can I do this? Thanks, Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From mwhittinghill at symphonyinfo.com Wed Oct 20 13:02:05 2004 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 20 Oct 2004 13:02:05 -0500 Subject: [AccessD] OT: (Cross posted) VSS and VB6 References: <100F91B31300334B89EC531C9DCB0865318D59@tccexch01.tappeconstruction.net> Message-ID: <001401c4b6ce$ea0411f0$2601a8c0@Symphony.local> Thanks, Brett. I figured it was easy like that, but I didn't want to risk messing things up as I experimented. Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Brett Barabash" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 20, 2004 12:22 PM Subject: RE: [AccessD] OT: (Cross posted) VSS and VB6 > When you copy the project files to a new folder, omit the mssccprj.scc > and vssver.scc files. > Make sure to right click on the files in Windows Explorer and uncheck > the read only flag. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark > Whittinghill > Sent: Wednesday, October 20, 2004 10:15 AM > To: dba-tech-request at databaseadvisors.com; accessd at databaseadvisors.com > Subject: [AccessD] OT: (Cross posted) VSS and VB6 > > > Hi all, > > I have a VB6 project where I would like to make a copy of the project > files that is detached from Visual Source Safe, while leaving the > original project alone. In Access, I can compact a copy of an mdb to do > that, but when I make a copy of my VB files, they seem to still affect > my VSS project. > How can I do this? > > Thanks, > > Mark Whittinghill > Symphony Information Services > 763-391-7400 > mwhittinghill at symphonyinfo.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -------------------------------------------------------------------------- ------------------------------------------ > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any disclosure, copying, distribution, or the taking > of any action in regard to the content of this email is strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please notify the sender > immediately. The authorized recipient(s) of this information is/are prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Wed Oct 20 15:50:18 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 20 Oct 2004 16:50:18 -0400 Subject: [AccessD] Access with a MySQL database Message-ID: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. Any thoughts (advantages, limitations, etc.)? Thanks, Barb Ryan From Jim.Hale at FleetPride.com Wed Oct 20 15:53:51 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 20 Oct 2004 15:53:51 -0500 Subject: [AccessD] Load Excel comments into database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233719B@corp-es01.fleetpride.com> Sounds like a plan to me. Thanks Jim Hale -----Original Message----- From: Chris Kettenbach [mailto:chris at piasd.org] Sent: Wednesday, October 20, 2004 12:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Load Excel comments into database Just get a reference to the spreadsheet and loop through the comments collections. Then you run INSERT queries or ADO.AddNew or something and insert them in. Hopes this helps. CK -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Wednesday, October 20, 2004 10:05 AM To: 'Accessd (E-mail) Subject: [AccessD] Load Excel comments into database Does anyone have any code or ideas on how to strip comments from an Excel spreadsheet and load them into an Access DB? I vaguely recall seeing some code once upon a time but I can't recall where. TIA Jim *********************************************************************** 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Wed Oct 20 19:48:06 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 20 Oct 2004 17:48:06 -0700 Subject: [AccessD] Access with a MySQL database References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Message-ID: <41770746.2090304@shaw.ca> If you are using essentially static data, MYSQL is fine, However if you are using a lot of transactions go with SQL Server. The reason MYSQL 5.0 version has stored procedures and yet to be implemented triggers but this version is still in Alpha. Access goes fine to MySQL with ODBC and ADO or linked tables The InnoDB storage engine has to be installed as well if you want to maintain referential integrity. For more info and Tools. How to import Excel, Access or XML data into MySQL database by using a MySQL Client Tool  Navicat? http://www.stardeveloper.com/articles/display.html?article=2003101901&page=1 Toad? for MySQL  Preview Release http://www.quest.com/ToadMySQL/index.asp MySQL? Connector/ODBC http://www.mysql.com/products/connector/odbc/ To be used with this MySQL Manual | 22.1.11 MyODBC and Microsoft Access http://dev.mysql.com/doc/mysql/en/MSAccess.html MySQL Manual | 22.1.11.1 How to Set Up Microsoft Access to Work with MySQL using MyODBC? http://dev.mysql.com/doc/mysql/en/MSAccess_Setup.html Barbara Ryan wrote: >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > >Any thoughts (advantages, limitations, etc.)? > >Thanks, >Barb Ryan > > -- Marty Connelly Victoria, B.C. Canada From d.dick at uws.edu.au Wed Oct 20 23:06:05 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 21 Oct 2004 14:06:05 +1000 Subject: [AccessD] A2K: Question for the Aussies (Or anyone who cares) Message-ID: <200410210406.i9L46GXH026212@cooper.uws.edu.au> Hello all A question for the Aussies or ate least those who have had a hand in developing dbs that deal with the Aussie TAX system I am after any dB that deals with GST, BAS, BAS Statements, preserved amounts yadda yadda yadda Anyone got anything like it I can look at or they are willing to share or even sell? many thanks See y'all Darren From tom.bolton at donnslaw.co.uk Wed Oct 20 10:36:10 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 20 Oct 2004 16:36:10 +0100 Subject: [AccessD] RE: Access 2002 hassles with DoCmd object Message-ID: <61F915314798D311A2F800A0C9C83188064331E9@dibble.observatory.donnslaw.co.uk> Hi Yet again having problems with this. I have a simple DDL query that works fine when run normally, i.e. you double-click it from the database window. However, I'm trying to run it programatically using the following statement: DoCmd.OpenQuery "qryIndex". I'm given the message warning me that I'm about to run a query that could alter the DB etc., but then nothing happens. The query is a simple CREATE INDEX statement that's creating an index on two fields in a table. Am I doing something fundamentally stupid here? Yet again, any help greatly appreciated! Many thanks Tom Bolton -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Thu Oct 21 03:06:17 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Oct 2004 10:06:17 +0200 Subject: [AccessD] Access with a MySQL database In-Reply-To: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Message-ID: <263463650.20041021100617@cactus.dk> Hi Barbara > Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. > They currently do not own SQL Server but are using MySQL in their web application. > Any thoughts (advantages, limitations, etc.)? I did a custom frontend which moves data between a MySQL database and an Access database. It worked as expected using ODBC connection to MySQL. In addition to Marty's comments, have in mind that MySQL runs on nearly everything - Windows, Linux, even Novell. /gustav From william.thompson1 at att.net Thu Oct 21 04:23:46 2004 From: william.thompson1 at att.net (William Thompson) Date: Thu, 21 Oct 2004 02:23:46 -0700 Subject: [AccessD] Is there a fast way to set up an .mdb with security In-Reply-To: <263463650.20041021100617@cactus.dk> Message-ID: <200410210923.i9L9NsL03096@databaseadvisors.com> Is there a fast way to set up security for a workgroup, say by grabbing a table from a master with aliases and an access level code, and grant access to the .mdb en masse? Most of the .mdb's that need security contain pass-through queries to SQL server. Any comments, suggestions appreciated. I haven't had much experience doing this particular task. Bill Thompson From garykjos at gmail.com Thu Oct 21 10:52:32 2004 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Oct 2004 10:52:32 -0500 Subject: [AccessD] Microsoft ODBC for Oracle Password Change Message-ID: I have been using the Microsoft ODBC for Oracle Driver version 2 build 2.573.6200.00 for a few years to access Oracle 8 and 9 databases on a read only basis. All was well until the Oracle DBA's decided - or were forced to due to Sarbaine/Oxley legislation - make the passwords expire on a periodic basis on the Oracle user account that is used for the ODBC connection. The ODBC driver I am currently using doesn't seem to have the ability to allow the password to be changed, it just fires an error message window when the expired password is encountered. ODBC-call failed. Error ORA-28001: the password has expired The users could access the acount through SQL+ or another Oracle terminal tool like SQL Navigator or TOAD but that would be considered another security risk, so they don't want to provide any of those tools to the users. They want the users themselves to be able to change the passwords so that only they will know what the password is for their account. Anybody run into this or have any ideas? -- Gary Kjos garykjos at gmail.com From gustav at cactus.dk Thu Oct 21 11:37:45 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Oct 2004 18:37:45 +0200 Subject: [AccessD] Microsoft ODBC for Oracle Password Change In-Reply-To: References: Message-ID: <11334152208.20041021183745@cactus.dk> Hi Gary Couldn't you try to open a connection to the database? Pick the connect string from one of the tables and add a leading "ODBC;": strConnect = "ODBC;" & tdf.Connect Set wrk = DAO.CreateWorkspace("wrkVerify", vbNullString, vbNullString, dbUseODBC) ' Open ODBC connection for read/write using the connection string. Set cnn = wrk.OpenConnection("cnnVerify", dbDriverNoPrompt, False, strConnect) ' If this fails, username and/or password may be wrong. ' Prompt for these. Set cnn = wrk.OpenConnection("cnnVerify", dbDriverPrompt, False, strConnect) ' If this succeeds, save the connect string and use it to relink ' the tables. ' Update connection information. strConnect = cnn.Connect This is DAO. You could probably do something similar with ADO. You will, of course, need to add code to catch and handle errors. /gustav > I have been using the Microsoft ODBC for Oracle Driver version 2 build > 2.573.6200.00 for a few years to access Oracle 8 and 9 databases on a > read only basis. All was well until the Oracle DBA's decided - or were > forced to due to Sarbaine/Oxley legislation - make the passwords > expire on a periodic basis on the Oracle user account that is used for > the ODBC connection. The ODBC driver I am currently using doesn't seem > to have the ability to allow the password to be changed, it just fires > an error message window when the expired password is encountered. > ODBC-call failed. Error ORA-28001: the password has expired > The users could access the acount through SQL+ or another Oracle > terminal tool like SQL Navigator or TOAD but that would be considered > another security risk, so they don't want to provide any of those > tools to the users. They want the users themselves to be able to > change the passwords so that only they will know what the password is > for their account. > Anybody run into this or have any ideas? > -- > Gary Kjos > garykjos at gmail.com From garykjos at gmail.com Thu Oct 21 11:52:58 2004 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Oct 2004 11:52:58 -0500 Subject: [AccessD] Microsoft ODBC for Oracle Password Change In-Reply-To: <11334152208.20041021183745@cactus.dk> References: <11334152208.20041021183745@cactus.dk> Message-ID: Thanks Gustav. I will give that a try. Gary On Thu, 21 Oct 2004 18:37:45 +0200, Gustav Brock wrote: > Hi Gary > > Couldn't you try to open a connection to the database? > Pick the connect string from one of the tables and add a leading > "ODBC;": > > strConnect = "ODBC;" & tdf.Connect > > Set wrk = DAO.CreateWorkspace("wrkVerify", vbNullString, vbNullString, dbUseODBC) > ' Open ODBC connection for read/write using the connection string. > Set cnn = wrk.OpenConnection("cnnVerify", dbDriverNoPrompt, False, strConnect) > ' If this fails, username and/or password may be wrong. > ' Prompt for these. > Set cnn = wrk.OpenConnection("cnnVerify", dbDriverPrompt, False, strConnect) > ' If this succeeds, save the connect string and use it to relink > ' the tables. > ' Update connection information. > strConnect = cnn.Connect > > This is DAO. You could probably do something similar with ADO. > You will, of course, need to add code to catch and handle errors. > > /gustav > > > > > > I have been using the Microsoft ODBC for Oracle Driver version 2 build > > 2.573.6200.00 for a few years to access Oracle 8 and 9 databases on a > > read only basis. All was well until the Oracle DBA's decided - or were > > forced to due to Sarbaine/Oxley legislation - make the passwords > > expire on a periodic basis on the Oracle user account that is used for > > the ODBC connection. The ODBC driver I am currently using doesn't seem > > to have the ability to allow the password to be changed, it just fires > > an error message window when the expired password is encountered. > > > ODBC-call failed. Error ORA-28001: the password has expired > > > The users could access the acount through SQL+ or another Oracle > > terminal tool like SQL Navigator or TOAD but that would be considered > > another security risk, so they don't want to provide any of those > > tools to the users. They want the users themselves to be able to > > change the passwords so that only they will know what the password is > > for their account. > > > Anybody run into this or have any ideas? > > > -- > > Gary Kjos > > garykjos at gmail.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 accma at sympatico.ca Thu Oct 21 12:06:55 2004 From: accma at sympatico.ca (accma at sympatico.ca) Date: Thu, 21 Oct 2004 13:06:55 -0400 Subject: [AccessD] Form design question Message-ID: <20041021170655.ZJXI27476.tomts15-srv.bellnexxia.net@mxmta.bellnexxia.net> Hi all, I'm wondering if it's possible to have multiple sections in a forms like in a report. I don't exactly know how to explane this so I'll demontrate it as best as I can. On a form, I want to display all the products available. That form would be the order entry form. What I would like to do is put multiple column like this : product #, qt, price, product #, qt, price, product #, qt, price. The second and third "product #, qt, price" would be the continuing of the first column. Is this even possible and if so, how can I do this? Tanks! Annie From clh at christopherhawkins.com Thu Oct 21 12:13:58 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 11:13:58 -0600 Subject: [AccessD] Import specification - how to distribute? Message-ID: <83210-2200410421171358849@christopherhawkins.com> I'm building a feature for a client that requires me to come up with an import specification for the files they'll be pulling into the system. Problem is, I have no idea how the import spec is stored, and therefore no idea how to distribute it to my client when I deliver the .mdb files. Is the import spec in the registry? In an .ini file someplace? Is it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From garykjos at gmail.com Thu Oct 21 12:38:49 2004 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Oct 2004 12:38:49 -0500 Subject: [AccessD] Import specification - how to distribute? In-Reply-To: <83210-2200410421171358849@christopherhawkins.com> References: <83210-2200410421171358849@christopherhawkins.com> Message-ID: It's in hidden tables in the mdb. Change the Option to display hidden and system tables in a database that has at least one and you will see the tables - there are two of them, on for the specification "header" and another for the "item details". On Thu, 21 Oct 2004 11:13:58 -0600, Christopher Hawkins wrote: > I'm building a feature for a client that requires me to come up with > an import specification for the files they'll be pulling into the > system. Problem is, I have no idea how the import spec is stored, > and therefore no idea how to distribute it to my client when I > deliver the .mdb files. > > Is the import spec in the registry? In an .ini file someplace? Is > it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... > > -Christopher- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.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 Thu Oct 21 12:45:46 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Oct 2004 10:45:46 -0700 Subject: [AccessD] Form design question Message-ID: It sounds like you want a continuous form. Forms don't have column layouts like reports, and I don't understand what you mean by the second and third ... Would be the continuing of the first column. Charlotte Foust -----Original Message----- From: accma at sympatico.ca [mailto:accma at sympatico.ca] Sent: Thursday, October 21, 2004 10:07 AM To: accessd at databaseadvisors.com Subject: [AccessD] Form design question Hi all, I'm wondering if it's possible to have multiple sections in a forms like in a report. I don't exactly know how to explane this so I'll demontrate it as best as I can. On a form, I want to display all the products available. That form would be the order entry form. What I would like to do is put multiple column like this : product #, qt, price, product #, qt, price, product #, qt, price. The second and third "product #, qt, price" would be the continuing of the first column. Is this even possible and if so, how can I do this? Tanks! Annie -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 21 12:47:31 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Oct 2004 10:47:31 -0700 Subject: [AccessD] Import specification - how to distribute? Message-ID: Import specs are stored in the mdb file in two system tables MSysIMEXColumns and MSysIMEXSpecs. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, October 21, 2004 10:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Import specification - how to distribute? I'm building a feature for a client that requires me to come up with an import specification for the files they'll be pulling into the system. Problem is, I have no idea how the import spec is stored, and therefore no idea how to distribute it to my client when I deliver the .mdb files. Is the import spec in the registry? In an .ini file someplace? Is it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Oct 21 12:56:56 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 21 Oct 2004 10:56:56 -0700 Subject: [AccessD] Import specification - how to distribute? Message-ID: I had to do this type of documentation for a government project. Since the documentation already included screenshots of the user interface, I saw no problem with including simple screenshots of the Import Specifications. Mark -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, October 21, 2004 1:14 PM To: accessd at databaseadvisors.com Subject: [AccessD] Import specification - how to distribute? I'm building a feature for a client that requires me to come up with an import specification for the files they'll be pulling into the system. Problem is, I have no idea how the import spec is stored, and therefore no idea how to distribute it to my client when I deliver the .mdb files. Is the import spec in the registry? In an .ini file someplace? Is it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Oct 21 13:20:48 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 21 Oct 2004 14:20:48 -0400 Subject: [AccessD] From Main form to Subform (XP) Message-ID: I have a main form (frmMSBByTaskNo) and a subform (frmSortTaskNo). I have placed a combo-box drop down on the main form intending to navigate to the subform and to the selected record in my little drop-down box. I am not getting an error, but sure am not getting any action. This is my code: Private Sub cboGoToTaskNo_AfterUpdate() Forms!frmMSBByTaskNo!frmSortTaskNo.Form!txtTaskNumber.SetFocus DoCmd.FindRecord Forms("frmMSBbyTaskNo")!cboGoToTaskNo.Column(0), , True, , True, , True End Sub I put the little brown mark on the code and watched it go through locals and did a check to make sure that cboGoToTaskNo.Column(0) was returning the correct value and it is. The subform is a continuous form. Is there a better way to do this, i.e., one that works? From bheygood at abestsystems.com Thu Oct 21 14:16:29 2004 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 21 Oct 2004 12:16:29 -0700 Subject: [AccessD] Empty and fill tables In-Reply-To: <61F915314798D311A2F800A0C9C83188064331E9@dibble.observatory.donnslaw.co.uk> Message-ID: Hello to the list, I have an app that uses linked/attached tables thru ODBC. When I created the original, I wrote a routine to empty an Access table with info from the corresponding linked table. This because I felt that I wanted to not impact the program which uses the table which I was linking to. The non-Access linked tables are linked to the F End. The Access tables I fill are in the back end. This "empty and fill" operation always took awhile but recently jumped to 59 minutes. Five tables - one over 106,000 record. A version 2K Code - - - EMPTY - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Delete * From tblTransactions" DoCmd.RunSQL (strSQL) FILL - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Insert into tblTransactions Select * From pMWTRN" DoCmd.RunSQL (strSQL) DoCmd.Hourglass False DoCmd.SetWarnings True My question: Can I do this faster/better? TIA, Bob From donald.a.Mcgillivray at mail.sprint.com Thu Oct 21 14:37:48 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 21 Oct 2004 14:37:48 -0500 Subject: [AccessD] Empty and fill tables Message-ID: <988E2AC88CCB54459286C4077DB662F501FCE3F3@PDAWB03C.ad.sprint.com> Bob, I don't know if my experience is relevant to your situation, but I too have a process which imports records into a temp table. I was loading data from text files (10,000 to 60,000 records at a time) summarizing the data, purging, and repeating. I noticed similar performance degradation over time, and traced it to db bloat. My solution (suggested by Gustav) was to shift the temp tables to a separate back end, of which I made two copies - TempTables.mdb and TempTablesTemplate.mdb. Then at the end of each processing cycle I included code to kill TempTables.mdb and copy TempTablesTemplate.mdb in its place. This ensures that the temp tables always start fresh for each processing cycle and the bloat problem disappears. Just make sure that no processes or db objects have a lock on the tables in TempTables.mdb when you run the kill and replace part. Hope this helps Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Thursday, October 21, 2004 12:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Empty and fill tables Hello to the list, I have an app that uses linked/attached tables thru ODBC. When I created the original, I wrote a routine to empty an Access table with info from the corresponding linked table. This because I felt that I wanted to not impact the program which uses the table which I was linking to. The non-Access linked tables are linked to the F End. The Access tables I fill are in the back end. This "empty and fill" operation always took awhile but recently jumped to 59 minutes. Five tables - one over 106,000 record. A version 2K Code - - - EMPTY - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Delete * From tblTransactions" DoCmd.RunSQL (strSQL) FILL - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Insert into tblTransactions Select * From pMWTRN" DoCmd.RunSQL (strSQL) DoCmd.Hourglass False DoCmd.SetWarnings True My question: Can I do this faster/better? TIA, Bob -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Thu Oct 21 14:52:31 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Thu, 21 Oct 2004 15:52:31 -0400 Subject: [AccessD] Go to a new record on a subform on a tab control Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738FC@doesefpeml02.eus.fldoe.int> I have a main form (frmAllData) that contains a tab control. So far there are two tabs on the control - Peopleform and frmCallData. PeopleForm and frmAllData are both bound to the same table (People). I have a combo box (cboFindPeople) on frmAllData that looks for someone on PeopleForm. Then frmCallData contains all the calls associated with the person found. If a person's name is input into cboFindPeople and that person is not in the database, I want a yes/no message box to pop up and if the user decides to add the person, I want to set peopleform on the tab control to add and then I want to populate the FName, LName, and ContactPerson controls with the information in cboFindPeople. I think I can populate the controls if I can just get to the subform on the tab control and set the form to add. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From clh at christopherhawkins.com Thu Oct 21 16:29:23 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 15:29:23 -0600 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: <302020-2200410421212923655@christopherhawkins.com> I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From clh at christopherhawkins.com Thu Oct 21 16:31:21 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 15:31:21 -0600 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: <213200-2200410421213121188@christopherhawkins.com> I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From cfoust at infostatsystems.com Thu Oct 21 17:11:42 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Oct 2004 15:11:42 -0700 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: Yep, you're in trouble. Open the MDB bypassing any autoexec and go into the VB IDE and compile the project. Access is losing track of it's own controls and container objects. You may have to create a new database and import everything from the old one. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, October 21, 2004 2:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Troubleshootoing an OLE server error? I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at mchsi.com Thu Oct 21 17:22:44 2004 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Thu, 21 Oct 2004 22:22:44 +0000 Subject: [AccessD] parameterized query misbehavior Message-ID: <102120042222.1853.412@mchsi.com> I don't use Access as much as I used to, and I think this may be my first attempt to use a parameterized query for a report since being upgraded to Access 2003 (from Access 97). I have a report based on a parametertized query that asks the user to enter a Monday date and a Sunday date to select records between the two dates. I've done this a jillion times or so in the past with no problems. When I set up the query, I kept getting the error "The Microsoft Jet Engine does not recognize [What Monday Date?] as a valid field or expression". I solved that by explicitly defining the parameters and the datatype. I would have done that anyway, but I've never had to do that just to get it work before. So now in query design, when I run the query it prompts me correctly and displays the data as expected. Then I go to make my report and the wretched thing keeps prompting me over and over, while in design mode, for the damn parameters. I don't mean to sound like a prima donna, but I really can't work under these conditions :) I've done this sort of thing many, many times in the past and I never gotten prompted for the parameters in design mode, and only once when running the report each time for testing. When I run the report, it runs through the prompting process twice before displaying the report. What the heck is going on? If I'm doing something wrong I sure don't know what it is, and the MS help is, as usual, somewhat less than helpful. Thanks for any response. Ron From clh at christopherhawkins.com Thu Oct 21 23:02:15 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 22:02:15 -0600 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: <161680-22004105224215980@christopherhawkins.com> I ended up deleting the offending form, decompiled, recompiled, compact & repaired, and the built the form over from scratch. Voila! No more problems. -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Troubleshootoing an OLE server error? Date: Thu, 21 Oct 2004 15:11:42 -0700 >Yep, you're in trouble. Open the MDB bypassing any autoexec and go >into >the VB IDE and compile the project. Access is losing track of it's >own >controls and container objects. You may have to create a new >database >and import everything from the old one. > >Charlotte Foust > > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, October 21, 2004 2:29 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Troubleshootoing an OLE server error? > > >I am in deep dip. > >Here's the situation: I have a form that is throwing the following >error when I click any button, the close button included: > >A problem occurred while Microsoft Office Access was communicating >with >the OLE server or Active X control. > >Now, I'm not doing anything with OLE servers or Active X controls. >It's just a plain ol' form bound to a table. But any buttons I click >bring up this error - the button code does not execute. > >I don't even know where to start troubleshooting. I've been Googling >the error, but am not finding much. Has anyone seen this? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From accessd667 at yahoo.com Fri Oct 22 01:16:34 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 21 Oct 2004 23:16:34 -0700 (PDT) Subject: [AccessD] Itterate a collection Message-ID: <20041022061634.57309.qmail@web61110.mail.yahoo.com> Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. From viner at EUnet.yu Fri Oct 22 03:15:31 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Fri, 22 Oct 2004 10:15:31 +0200 Subject: [AccessD] Useful Samples Message-ID: <001001c4b80f$6358ca00$0100a8c0@razvoj> Great samples, in Polish www.bratki.w.v1.pl www.Access.vis.pl From gustav at cactus.dk Fri Oct 22 04:30:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 22 Oct 2004 11:30:11 +0200 Subject: [AccessD] Useful Samples In-Reply-To: <001001c4b80f$6358ca00$0100a8c0@razvoj> References: <001001c4b80f$6358ca00$0100a8c0@razvoj> Message-ID: <6810753703.20041022113011@cactus.dk> Hi Ervin Well, thanks, but except for "System Kolors" these are as close to dark talk as I can imagine ... /gustav > Great samples, in Polish > www.bratki.w.v1.pl > www.Access.vis.pl From Paul.Rogers at SummitMedia.co.uk Fri Oct 22 04:49:48 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Fri, 22 Oct 2004 10:49:48 +0100 Subject: [AccessD] Useful Samples Message-ID: Very attractive sites, Gustav. What a pity (for me) they're not in English. Cheers paul -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: 22 October 2004 10:30 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Samples Hi Ervin Well, thanks, but except for "System Kolors" these are as close to dark talk as I can imagine ... /gustav > Great samples, in Polish > www.bratki.w.v1.pl > www.Access.vis.pl -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From Jdemarco at hudsonhealthplan.org Fri Oct 22 07:06:11 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 22 Oct 2004 08:06:11 -0400 Subject: [AccessD] Itterate a collection Message-ID: <08F823FD83787D4BA0B99CA580AD3C7448691D@TTNEXCHCL2.hshhp.com> Two ways that I know of : Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection dim colItem As Variant Set cDO = New cDatabaseObjects Set oColl = cDO.TableNames For Each colItem in oColl debug.print colItem Next Set oColl = nothing End Sub or Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Dim i As Integer Set cDO = New cDatabaseObjects Set oColl = cDO.TableNames For i = 1 To oColl.Count debug.print oColl.Item(i) Next i Set oColl = nothing End Sub HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Friday, October 22, 2004 2:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From andy at minstersystems.co.uk Fri Oct 22 12:16:30 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 22 Oct 2004 18:16:30 +0100 Subject: [AccessD] Go to a new record on a subform on a tab control In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE738FC@doesefpeml02.eus.fldoe.int> Message-ID: <003701c4b85a$dfcf51d0$b274d0d5@minster33c3r25> Susan, not sure if this is what you're asking but you refer to a subform on a tab control just the same as any other. So the syntax is something like (if you're on main form): Me!subformControl.Form. Etc Where subformControl refers to the name of the control containing the subform not the name of the subform itself (if you see what I mean). So, for example: Me!subformControl.Form.AllowAdditions=True -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan > Sent: 21 October 2004 20:53 > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Go to a new record on a subform on a tab control > > > I have a main form (frmAllData) that contains a tab control. > So far there are two tabs on the control - Peopleform and frmCallData. > > PeopleForm and frmAllData are both bound to the same table > (People). I have a combo box (cboFindPeople) on frmAllData > that looks for someone on PeopleForm. > > Then frmCallData contains all the calls associated with the > person found. > > If a person's name is input into cboFindPeople and that > person is not in the database, I want a yes/no message box to > pop up and if the user decides to add the person, I want to > set peopleform on the tab control to add and then I want to > populate the FName, LName, and ContactPerson controls with > the information in cboFindPeople. > > > > I think I can populate the controls if I can just get to the > subform on the tab control and set the form to add. > > Any help would be greatly appreciated. > > > > Susan Klos > > Senior Database Analyst > > Evaluation and Reporting > > Florida Department of Education > > 850-245-0708 > > sc 205-0708 > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Fri Oct 22 14:24:46 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 22 Oct 2004 15:24:46 -0400 Subject: [AccessD] document development tools Message-ID: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan ************************************************************************************************************************** Do you know of any document development tools, something like VISIO Technical or Quick CAD that are specifically designed to support a tedium free graphical development of a table architecture or data model? I'm wondering if there is an affordable application out there for drafting up table schema's and database design diagrams that is easier to use than wiring together a bunch of text boxes or flow chart symbols in a MSword document. Just curious if you know about somthing that the development community uses. From martyconnelly at shaw.ca Fri Oct 22 19:25:16 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 22 Oct 2004 17:25:16 -0700 Subject: [AccessD] document development tools References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <4179A4EC.9010403@shaw.ca> You are probably looking for CASE (Computer Aided System Engineering) Tools. I have used Enterprise Architect http://www.sparxsystems.com.au/ Good for reverse engineering an Access mdb just plug in the mdb or an ODBC connection to SQL and it will layout a data model or ER diagram. Also lays out XSD schemas for tables and queries. Does UML modelling Probably best in it's price range for diagramming $200. There is trial version. Case Studio is good too. It generates SQL table scripts. http://www.casestudio.com/enu/ Then you get into the $1000 price range with ER-Win and WinDev and there are the $10,000 packages Rose, System Architect, and ARTiSAN, and probably even higher mainframe packages.Texas Instrument IEF I saw one about 15 years ago that produced good Cobol Code but none since then. So dont believe any code generation hype with Case Tools. Barbara Ryan wrote: >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > >************************************************************************************************************************** >Do you know of any document development tools, something like VISIO Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to use than >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > >Just curious if you know about somthing that the development community uses. > > -- Marty Connelly Victoria, B.C. Canada From BarbaraRyan at cox.net Fri Oct 22 20:14:28 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 22 Oct 2004 21:14:28 -0400 Subject: [AccessD] document development tools References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> <4179A4EC.9010403@shaw.ca> Message-ID: <007e01c4b89d$a5071ea0$0a00a8c0@cx470148a> Thanks, Marty....I'll pass on the info..............Barb ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, October 22, 2004 8:25 PM Subject: Re: [AccessD] document development tools > You are probably looking for CASE (Computer Aided System Engineering) Tools. > > I have used Enterprise Architect > http://www.sparxsystems.com.au/ > Good for reverse engineering an Access mdb just plug in the mdb or an > ODBC connection to SQL and it will layout a data model or ER diagram. > Also lays out XSD schemas for tables and queries. Does UML modelling > Probably best in it's price range for diagramming $200. There is trial > version. > > Case Studio is good too. It generates SQL table scripts. > http://www.casestudio.com/enu/ > > Then you get into the $1000 price range with ER-Win and WinDev > and there are the $10,000 packages Rose, System Architect, and ARTiSAN, > and probably even higher mainframe packages.Texas Instrument IEF > > I saw one about 15 years ago that produced good Cobol Code but none > since then. > So dont believe any code generation hype with Case Tools. > > Barbara Ryan wrote: > > >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > > > > >*************************************************************************** *********************************************** > >Do you know of any document development tools, something like VISIO Technical or Quick CAD that > >are specifically designed to support a tedium free graphical development of a > >table architecture or data model? > > > >I'm wondering if there is an affordable application out there for > >drafting up table schema's and database design diagrams that is easier to use than > >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > > > >Just curious if you know about somthing that the development community uses. > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 22 22:47:40 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 22 Oct 2004 23:47:40 -0400 Subject: [AccessD] document development tools In-Reply-To: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <4179D45C.5010603@rogers.com> Barbara Ryan wrote: >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > >************************************************************************************************************************** >Do you know of any document development tools, something like VISIO Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to use than >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > >Just curious if you know about somthing that the development community uses. > > If Visio is out of the price range, then try DeZign (www.datanamic.com, if memory serves -- if not, just google it). Excellent piece of work, IMO, and cheap. From papparuff at comcast.net Fri Oct 22 23:23:22 2004 From: papparuff at comcast.net (John Ruff) Date: Fri, 22 Oct 2004 21:23:22 -0700 Subject: [AccessD] document development tools In-Reply-To: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <000001c4b8b8$1035efc0$6401a8c0@papparuff> Dezign for Databases is an excellent tool for around $229.00. http://www.datanamic.com/ John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, October 22, 2004 12:25 PM To: Access List Subject: [AccessD] document development tools I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan **************************************************************************** ********************************************** Do you know of any document development tools, something like VISIO Technical or Quick CAD that are specifically designed to support a tedium free graphical development of a table architecture or data model? I'm wondering if there is an affordable application out there for drafting up table schema's and database design diagrams that is easier to use than wiring together a bunch of text boxes or flow chart symbols in a MSword document. Just curious if you know about somthing that the development community uses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Oct 24 06:02:30 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 24 Oct 2004 13:02:30 +0200 Subject: [AccessD] document development tools In-Reply-To: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <1138864386.20041024130230@cactus.dk> Hi Barbara Though targeted at MySQL, this - at zero cost - could be useful as well: http://www.fabforce.net/dbdesigner4/ and - at little cost: http://www.thekompany.com/products/dataarchitect/ /gustav > I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > ************************************************************************************************************************** > Do you know of any document development tools, something like VISIO Technical or Quick CAD that > are specifically designed to support a tedium free graphical development of a > table architecture or data model? > I'm wondering if there is an affordable application out there for > drafting up table schema's and database design diagrams that is easier to use than > wiring together a bunch of text boxes or flow chart symbols in a MSword document. > Just curious if you know about somthing that the development community uses. From KP at sdsonline.net Sun Oct 24 18:58:38 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 25 Oct 2004 09:58:38 +1000 Subject: [AccessD] A2K: Question for the Aussies (Or anyone who cares) References: <200410210406.i9L46GXH026212@cooper.uws.edu.au> Message-ID: <003201c4ba25$61bb7d10$6401a8c0@user> Darren - most of my clients use something like MYOB or Cashflow Manager for accounting for BAS, so I haven't needed to do it... My own database does some calcs for me to produce my own BAS statements - it is fairly straightforward. Kath ----- Original Message ----- From: Darren DICK To: 'Access Developers discussion and problem solving' Sent: Thursday, October 21, 2004 2:06 PM Subject: [AccessD] A2K: Question for the Aussies (Or anyone who cares) Hello all A question for the Aussies or ate least those who have had a hand in developing dbs that deal with the Aussie TAX system I am after any dB that deals with GST, BAS, BAS Statements, preserved amounts yadda yadda yadda Anyone got anything like it I can look at or they are willing to share or even sell? many thanks See y'all Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Sun Oct 24 19:01:09 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 25 Oct 2004 10:01:09 +1000 Subject: [AccessD] Troubleshootoing an OLE server error? References: <213200-2200410421213121188@christopherhawkins.com> Message-ID: <006601c4ba25$bbf8fd70$6401a8c0@user> Christopher - I have definitely had that form error - and I think it related to an icon that I had copied an pasted into an image control. The message is very misleading... HTH Kath ----- Original Message ----- From: Christopher Hawkins To: accessd at databaseadvisors.com Sent: Friday, October 22, 2004 7:31 AM Subject: [AccessD] Troubleshootoing an OLE server error? I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.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 Mon Oct 25 09:44:36 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 25 Oct 2004 09:44:36 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371B0@corp-es01.fleetpride.com> I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 rl_stewart at highstream.net Mon Oct 25 12:24:59 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 25 Oct 2004 12:24:59 -0500 Subject: [AccessD] Re: document development tools In-Reply-To: <200410231700.i9NH0HL14717@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041025122258.03f0f520@pop3.highstream.net> It really depends on the databases you want to be able to support. Personally, I use ERWin. And, unless you are buying a copy off of EBay, the price is more like 3500 not 1000. For me the key to using it is the number of databases it supports because I work with a lot of different ones. At 12:00 PM 10/23/2004 -0500, you wrote: >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >Sent: Friday, October 22, 2004 12:25 PM >To: Access List >Subject: [AccessD] document development tools > > >I received the following email from my client ---- any thoughts / >suggestions?.....Thanks, Barb Ryan > > >**************************************************************************** >********************************************** >Do you know of any document development tools, something like VISIO >Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of >a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to >use than >wiring together a bunch of text boxes or flow chart symbols in a MSword >document. > >Just curious if you know about somthing that the development community uses. From KIsmert at TexasSystems.com Mon Oct 25 13:08:27 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Mon, 25 Oct 2004 13:08:27 -0500 Subject: [AccessD] document development tools In-Reply-To: <4179A4EC.9010403@shaw.ca> Message-ID: <008001c4babd$a0e1e2c0$2a3ca8c0@TEXASSYSTEMS.COM> I have used Artiso Visual Case: http://www.visualcase.com/ It has good drawing facilities, and it has a native Access .mdb forward and reverse engineering tool. You can also publish your data model to a web-based viewer. It also will do UML for objects and object pattern design, with .NET and Java support. It sells for about $450 USD for a single user. There is a 30 day free trial. -Ken -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, October 22, 2004 7:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] document development tools You are probably looking for CASE (Computer Aided System Engineering) Tools. I have used Enterprise Architect http://www.sparxsystems.com.au/ Good for reverse engineering an Access mdb just plug in the mdb or an ODBC connection to SQL and it will layout a data model or ER diagram. Also lays out XSD schemas for tables and queries. Does UML modelling Probably best in it's price range for diagramming $200. There is trial version. Case Studio is good too. It generates SQL table scripts. http://www.casestudio.com/enu/ Then you get into the $1000 price range with ER-Win and WinDev and there are the $10,000 packages Rose, System Architect, and ARTiSAN, and probably even higher mainframe packages.Texas Instrument IEF I saw one about 15 years ago that produced good Cobol Code but none since then. So dont believe any code generation hype with Case Tools. Barbara Ryan wrote: >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > >*************************************************************************** *********************************************** >Do you know of any document development tools, something like VISIO Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to use than >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > >Just curious if you know about somthing that the development community uses. > > -- Marty Connelly Victoria, B.C. Canada From marcus at tsstech.com Mon Oct 25 13:19:52 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 25 Oct 2004 14:19:52 -0400 Subject: [AccessD] OT: Does anyone know how to use DFS? Message-ID: I'm trying to do a server consolidation and would like to remap unc paths to a different server. I believe DFS can do this but am unsure how this is done. Can anyone help? Scott Marcus From mmmtbig at bellsouth.net Mon Oct 25 13:48:16 2004 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon, 25 Oct 2004 14:48:16 -0400 Subject: [AccessD] Memory Leak in DAO? Message-ID: <00d901c4bac3$309c3870$6501a8c0@tbig1> Does anyone see why the sub procedure below would result in an out of memory condition when run about 100 times in a loop? Public Sub ExecuteActionQuery(strQueryName As String) Dim db As Database Dim qdf As QueryDef Set db = CurrentDb Set qdf = db.QueryDefs(strQueryName) qdf.Execute Set qdf = Nothing Set db = Nothing Exit Sub TIA Myke From Jim.Hale at FleetPride.com Mon Oct 25 14:20:36 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 25 Oct 2004 14:20:36 -0500 Subject: [AccessD] Memory Leak in DAO? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371B4@corp-es01.fleetpride.com> try qdf.close before you set qdf=nothing Jum Hale -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Monday, October 25, 2004 1:48 PM To: Database Advisors Subject: [AccessD] Memory Leak in DAO? Does anyone see why the sub procedure below would result in an out of memory condition when run about 100 times in a loop? Public Sub ExecuteActionQuery(strQueryName As String) Dim db As Database Dim qdf As QueryDef Set db = CurrentDb Set qdf = db.QueryDefs(strQueryName) qdf.Execute Set qdf = Nothing Set db = Nothing Exit Sub TIA Myke -- _______________________________________________ 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 greggs at msn.com Mon Oct 25 15:58:51 2004 From: greggs at msn.com (Gregg) Date: Mon, 25 Oct 2004 15:58:51 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel References: <6A6AA9DF57E4F046BDA1E273BDDB67723371B0@corp-es01.fleetpride.com> Message-ID: Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 kaupca at chevrontexaco.com Mon Oct 25 16:47:46 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Mon, 25 Oct 2004 16:47:46 -0500 Subject: [AccessD] Export to CSV file problem Message-ID: <1375769556091B4DAABC159F944CA1BB07A266@bocnte2k4.hou150.chevrontexaco.net> I have the following field in a query that makes a table. Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short Date") When I open up the table I see a short date When I export the table to a csv type file I get both the date and the time. How do I get only the date into the csv file? Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From DWUTKA at marlow.com Mon Oct 25 17:17:11 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 25 Oct 2004 17:17:11 -0500 Subject: [AccessD] Itterate a collection Message-ID: <123701F54509D9119A4F00D0B747349016D028@main2.marlow.com> What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ 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 Oct 25 17:24:09 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 26 Oct 2004 08:24:09 +1000 Subject: [AccessD] Export to CSV file problem In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A266@bocnte2k4.hou150.chevrontexaco.net> Message-ID: <417E09A9.3776.7B00635@lexacorp.com.pg> On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. > How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart From Jim.Hale at FleetPride.com Mon Oct 25 17:24:58 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 25 Oct 2004 17:24:58 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371B8@corp-es01.fleetpride.com> Thanks, I'll give it a go Jim Hale -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Monday, October 25, 2004 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange Citrix error when running Access with Excel Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 accessd at shaw.ca Mon Oct 25 19:39:04 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 25 Oct 2004 17:39:04 -0700 Subject: [AccessD] Export to CSV file problem In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A266@bocnte2k4.hou150.chevrontexaco.net> Message-ID: Hi Chester: The real date in the table is stored Microsoft date format: i.e. 351235.12343. Its' display format can be very different from the real date and sometimes Access assists by assigning it's own date format recommendation when certain function are being used. I have found it is sometimes better to create a field, format the field and then export the contents from/through a query rather than directly from a table. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kaup, Chester A Sent: Monday, October 25, 2004 2:48 PM To: accessd at databaseadvisors.com Subject: [AccessD] Export to CSV file problem I have the following field in a query that makes a table. Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short Date") When I open up the table I see a short date When I export the table to a csv type file I get both the date and the time. How do I get only the date into the csv file? Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 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 accessd667 at yahoo.com Tue Oct 26 03:46:17 2004 From: accessd667 at yahoo.com (S D) Date: Tue, 26 Oct 2004 01:46:17 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile Message-ID: <20041026084617.97636.qmail@web61105.mail.yahoo.com> Hi group, I've got 2 questions. First question: I need to create a table using a UNION query. How can I do this? Second question: I need to create a TAB-delimited flatfile using the table created above. How do I do that? Tia!! VS PS I'm using A2K --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From stuart at lexacorp.com.pg Tue Oct 26 04:26:41 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 26 Oct 2004 19:26:41 +1000 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041026084617.97636.qmail@web61105.mail.yahoo.com> Message-ID: <417EA4F1.31933.A0E9003@lexacorp.com.pg> On 26 Oct 2004 at 1:46, S D wrote: > Hi group, > > I've got 2 questions. > First question: > I need to create a table using a UNION query. How can I do this? > Something like: SELECT INTO newtable FROM (Select * from table1 UNION Select * from table2); > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? > I prefer to build my own text files using VBA. In DAO, something like: Function BuildCSV() as Long Dim rs as DAO.Recordset Set rs = CurrentDb.OpenRecordset("NewTable") Open "myFile.CSV" for Output As #1 While not rs.eof Print #1, rs(0) & chr$(9) & rs(1) & chr$(9) & rs(2)..... rs.MoveNext Wend rs.Close Close #1 End Function You can mess around with the "Print #" line to format your output exactly the way you want it. -- Stuart From gustav at cactus.dk Tue Oct 26 04:40:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 26 Oct 2004 11:40:56 +0200 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041026084617.97636.qmail@web61105.mail.yahoo.com> References: <20041026084617.97636.qmail@web61105.mail.yahoo.com> Message-ID: <1210331495.20041026114056@cactus.dk> Hi S > First question: > I need to create a table using a UNION query. How can I do this? Create a union query, then use that as source for the append/create query. > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? Create a query something like this: SELECT Field1, Field2 INTO [Text;Database=C:\Windows\Temp].[YourFile.txt] FROM YourTable; Before running this, create (or modify) the file schema.ini in the destination folder: [YourFile.txt] ColNameHeader=False CharacterSet=ANSI Format=TabDelimited Col1=Field1 Char Width 50 Col2=Field2 Char Width 50 The output file (YourFile.txt) must not exist before you run the query. As you can see, you may not need the temp table at all; use the union query as source when creating the text file. For more into on schema.ini file syntax, look here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp /gustav From Jdemarco at hudsonhealthplan.org Tue Oct 26 07:01:50 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 26 Oct 2004 08:01:50 -0400 Subject: [AccessD] Itterate a collection Message-ID: <08F823FD83787D4BA0B99CA580AD3C7448695C@TTNEXCHCL2.hshhp.com> Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From kaupca at chevrontexaco.com Tue Oct 26 07:19:37 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 07:19:37 -0500 Subject: [AccessD] Export to CSV file problem Message-ID: <1375769556091B4DAABC159F944CA1BB07A267@bocnte2k4.hou150.chevrontexaco.net> The field in the table is text. I tried date/time and both the date and the time displayed in the table. The export is dome by the transfertext method. The reason I used the word date is because the csv file generated is loaded into another program where the field names need to match and the field name in that program is date. I solved the problem by making the date field nine characters. Maybe not the best way but it chops of the time part of date/time and shows only the date in the csv file. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 25, 2004 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export to CSV file problem On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Tue Oct 26 09:04:14 2004 From: pharold at proftesting.com (Perry Harold) Date: Tue, 26 Oct 2004 10:04:14 -0400 Subject: [AccessD] Export to CSV file problem In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A267@bocnte2k4.hou150.chevrontexaco.net> Message-ID: <005501c4bb64$ace18100$082da8c0@D58BT131> What happens when you have MM/DD/YYYY? That's 10 char. The catch is when it's M/M/YYYY because the time starts at position 10 and you pick up an extra digit. Any dates over 10/9, 11/9 and 12/9 loose the last char of the year when you use a size of 9. If you export with code then you could search the field for a space and pick up just the date portion of the field. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester A Sent: Tuesday, October 26, 2004 8:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Export to CSV file problem The field in the table is text. I tried date/time and both the date and the time displayed in the table. The export is dome by the transfertext method. The reason I used the word date is because the csv file generated is loaded into another program where the field names need to match and the field name in that program is date. I solved the problem by making the date field nine characters. Maybe not the best way but it chops of the time part of date/time and shows only the date in the csv file. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 25, 2004 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export to CSV file problem On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Oct 26 09:07:36 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 27 Oct 2004 00:07:36 +1000 Subject: [AccessD] Last occurrence within a string Message-ID: <2025BB6F17FCB54791F23CD505583328041BCA@starfleet.unknown.local> Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad From CMackin at quiznos.com Tue Oct 26 09:10:31 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Tue, 26 Oct 2004 08:10:31 -0600 Subject: [AccessD] Last occurrence within a string Message-ID: InstrRev("C:\MyDocs\Docs\Temps\Hello.doc", "\") will get it for you. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Tuesday, October 26, 2004 8:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom.bolton at donnslaw.co.uk Tue Oct 26 09:16:56 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 26 Oct 2004 15:16:56 +0100 Subject: [AccessD] Last occurrence within a string Message-ID: <61F915314798D311A2F800A0C9C83188064331FA@dibble.observatory.donnslaw.co.uk> Vlad InstrRev function - this counts the first occurrence of a string but 'backwards', i.e. starting at the end... HTH, Cheers Tom -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: 26 October 2004 15:08 To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From actebs at actebs.com.au Tue Oct 26 09:27:42 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 27 Oct 2004 00:27:42 +1000 Subject: [AccessD] Last occurrence within a string Message-ID: <2025BB6F17FCB54791F23CD505583328088673@starfleet.unknown.local> Chris, You're a star!... Thanx muchly Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mackin, Christopher Sent: Wednesday, 27 October 2004 12:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Last occurrence within a string InstrRev("C:\MyDocs\Docs\Temps\Hello.doc", "\") will get it for you. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Tuesday, October 26, 2004 8:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Oct 26 09:43:22 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Oct 2004 09:43:22 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel *SOLVED" Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371BD@corp-es01.fleetpride.com> Gregg, Logging into the console worked! Many thanks! Jim Hale -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Monday, October 25, 2004 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange Citrix error when running Access with Excel Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 *********************************************************************** 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 kaupca at chevrontexaco.com Tue Oct 26 09:48:52 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 09:48:52 -0500 Subject: [AccessD] Export to CSV file problem Message-ID: <1375769556091B4DAABC159F944CA1BB07A268@bocnte2k4.hou150.chevrontexaco.net> I am able to get away with it because day field is always 1. I agree that code would be the best way to do the export. With any luck this process will go away in a month or two so don't want to spend much time on it. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Perry Harold Sent: Tuesday, October 26, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Export to CSV file problem What happens when you have MM/DD/YYYY? That's 10 char. The catch is when it's M/M/YYYY because the time starts at position 10 and you pick up an extra digit. Any dates over 10/9, 11/9 and 12/9 loose the last char of the year when you use a size of 9. If you export with code then you could search the field for a space and pick up just the date portion of the field. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester A Sent: Tuesday, October 26, 2004 8:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Export to CSV file problem The field in the table is text. I tried date/time and both the date and the time displayed in the table. The export is dome by the transfertext method. The reason I used the word date is because the csv file generated is loaded into another program where the field names need to match and the field name in that program is date. I solved the problem by making the date field nine characters. Maybe not the best way but it chops of the time part of date/time and shows only the date in the csv file. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 25, 2004 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export to CSV file problem On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 26 09:58:11 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 Oct 2004 07:58:11 -0700 Subject: [AccessD] Last occurrence within a string Message-ID: InStrRev Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 26, 2004 7:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From william.thompson1 at att.net Tue Oct 26 10:00:50 2004 From: william.thompson1 at att.net (William Thompson) Date: Tue, 26 Oct 2004 08:00:50 -0700 Subject: [AccessD] why an .mdb won't connect the same way as secure pivot? In-Reply-To: Message-ID: <200410261500.i9QF0sL29437@databaseadvisors.com> Kind of a touchy problem. A user actually needs a flat file representation in an .mdb of data that underlies a pivot table. The .mdb might have to be a break from tradition and actually be secure at the file level. We have a pivot table that is sourced to a (row level) secure stored procedure in SQL Server. Funny thing is, the .mdb has trouble drawing data from the same stored procedure. It seems Excel has a leg up on secure connections, or stored procedure calls, or something. I presume ODBC since that is the driver in the pivot's connection string. The Pivot's connection string contains a 'call' to the stored procedure, and though it was a trusted connection - I'm not sure why - but there was also a user name in the string. (The user is no longer with the group by the way). My fear is that it was set up with a clear text password then had another call added in by the magic of Excel. Makes it difficult to set up an .mdb when it doesn't grab a connection that a pivot table is already grabbing. Trusted connections do not work. We can't change anything on the back-end. Any ideas? It seems to be looking like a situation where Excel is able to connect in a more secure way (and we may have to ditch the .mdb idea). It seemed at the time a logical thing, using Access to furnish a flat file that could be stored off securely. I've tried pass-through queries, ADO connections, to no avail. Any suggestions? Bill Thompson From cfoust at infostatsystems.com Tue Oct 26 10:01:51 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 Oct 2004 08:01:51 -0700 Subject: [AccessD] Itterate a collection Message-ID: The class Count method would *use* the Count method of the underlying collection. An empty collection should return a zero count. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 5:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vchas at artronix-solutions.com Tue Oct 26 10:44:43 2004 From: vchas at artronix-solutions.com (Vincent Pusateri) Date: Tue, 26 Oct 2004 08:44:43 -0700 Subject: [AccessD] Last occurrence within a string In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BCA@starfleet.unknown.local> Message-ID: Here you go Public Function GetEndString(vntString As Variant, strSymbol As String) As String Dim intStartPosition As Integer Dim intSymbolPosition As Integer ' Loop through the line, looking for the last occurrence ' of the symbol. Once the last symbol as been found, pass ' back the string to the right of it. intStartPosition = 1 Do intSymbolPosition = InStr(intStartPosition, vntString, strSymbol) If intSymbolPosition > 0 Then intStartPosition = intSymbolPosition + 1 End If Loop Until intSymbolPosition = 0 GetEndString = Trim$(Mid(vntString, intStartPosition)) End Function Vinnie Chas -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Tuesday, October 26, 2004 7:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Oct 26 11:24:11 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 26 Oct 2004 09:24:11 -0700 Subject: [AccessD] Memory Leak in DAO? References: <00d901c4bac3$309c3870$6501a8c0@tbig1> Message-ID: <417E7A2B.2090708@shaw.ca> Check your version of Jet, this was a problem corrected with Access97 SR-2 I think there were others http://support.microsoft.com/default.aspx?scid=kb;en-us;191743 Myke Myers wrote: >Does anyone see why the sub procedure below would result in an out of memory >condition when run about 100 times in a loop? > > > Public Sub ExecuteActionQuery(strQueryName As String) > > Dim db As Database > Dim qdf As QueryDef > > Set db = CurrentDb > Set qdf = db.QueryDefs(strQueryName) > qdf.Execute > > Set qdf = Nothing > Set db = Nothing > > Exit Sub > > > >TIA > >Myke > > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Tue Oct 26 12:31:50 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 26 Oct 2004 13:31:50 -0400 Subject: [AccessD] Last occurrence within a string Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471AAFD@xlivmbx21.aig.com> Or, starting at the right end of the string (as that's where we are expecting to see the data) Function InStrR(varText As Variant, strFind As String) As Integer Dim n As Integer, nStart As Integer n = Len(strFind) If IsNull(varText) Or n = 0 Then InStrR = 0 Exit Function End If nStart = Len(varText) - n While nStart > 0 n = InStr(nStart, varText, strFind) If n = 0 Then nStart = nStart - 1 Else InStrR = n Exit Function End If Wend InStrR = 0 End Function Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Vincent Pusateri > Sent: Tuesday, October 26, 2004 11:45 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Last occurrence within a string > > Here you go > > Public Function GetEndString(vntString As Variant, strSymbol As String) As > String > > Dim intStartPosition As Integer > Dim intSymbolPosition As Integer > > ' Loop through the line, looking for the last occurrence > ' of the symbol. Once the last symbol as been found, pass > ' back the string to the right of it. > > intStartPosition = 1 > > Do > intSymbolPosition = InStr(intStartPosition, vntString, strSymbol) > If intSymbolPosition > 0 Then > intStartPosition = intSymbolPosition + 1 > End If > Loop Until intSymbolPosition = 0 > > GetEndString = Trim$(Mid(vntString, intStartPosition)) > > End Function > > Vinnie Chas > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Tuesday, October 26, 2004 7:08 AM > To: Access Group (E-mail) > Subject: [AccessD] Last occurrence within a string > > Guys, > > I am stuffing around with this and am sure I have done this before but for > the life of me can't get it. I need to find the last occurrence of "\" > within a file path string. For example if the path was > C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc > portion and to do that obviously I need to know what position the last > backslash is. > > Any ideas? > > Vlad > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue Oct 26 12:54:59 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 27 Oct 2004 06:54:59 +1300 Subject: [AccessD] Last occurrence within a string Message-ID: <70F3D727890C784291D8433E9C418F29088927@server.bondsoftware.co.nz> Another mousetrap - use InStrRev, as in (fragment) strPath = "C:\MyDocs\Docs\Temps\Hello.doc" retVal = Mid(strPath,InStrRev(strPath,"\")+1) You'd still have to do checks for inappropriate values in strPath Stephen Bond > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] > Sent: Wednesday, 27 October 2004 6:32 a.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Last occurrence within a string > > > Or, starting at the right end of the string (as that's where we are > expecting to see the data) > > Function InStrR(varText As Variant, strFind As String) As Integer > Dim n As Integer, nStart As Integer > n = Len(strFind) > If IsNull(varText) Or n = 0 Then > InStrR = 0 > Exit Function > End If > nStart = Len(varText) - n > While nStart > 0 > n = InStr(nStart, varText, strFind) > If n = 0 Then > nStart = nStart - 1 > Else > InStrR = n > Exit Function > End If > Wend > InStrR = 0 > End Function > > > Lambert > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of > Vincent Pusateri > > Sent: Tuesday, October 26, 2004 11:45 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Last occurrence within a string > > > > Here you go > > > > Public Function GetEndString(vntString As Variant, > strSymbol As String) As > > String > > > > Dim intStartPosition As Integer > > Dim intSymbolPosition As Integer > > > > ' Loop through the line, looking for the last occurrence > > ' of the symbol. Once the last symbol as been found, pass > > ' back the string to the right of it. > > > > intStartPosition = 1 > > > > Do > > intSymbolPosition = InStr(intStartPosition, > vntString, strSymbol) > > If intSymbolPosition > 0 Then > > intStartPosition = intSymbolPosition + 1 > > End If > > Loop Until intSymbolPosition = 0 > > > > GetEndString = Trim$(Mid(vntString, intStartPosition)) > > > > End Function > > > > Vinnie Chas > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > Sent: Tuesday, October 26, 2004 7:08 AM > > To: Access Group (E-mail) > > Subject: [AccessD] Last occurrence within a string > > > > Guys, > > > > I am stuffing around with this and am sure I have done this > before but for > > the life of me can't get it. I need to find the last > occurrence of "\" > > within a file path string. For example if the path was > > C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return > the Hello.doc > > portion and to do that obviously I need to know what > position the last > > backslash is. > > > > Any ideas? > > > > Vlad > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Oct 26 13:21:53 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 26 Oct 2004 13:21:53 -0500 Subject: [AccessD] Itterate a collection Message-ID: <123701F54509D9119A4F00D0B747349016D02C@main2.marlow.com> True, you can just return the collection. That is certainly an option, I'm just used to writing activeX .dll's, where I am going to use them in ASP. In that situation, I can't 'return' a collection, but I can return items in a collection. So it becomes a wrapper around the collection. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Oct 26 14:02:04 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 26 Oct 2004 14:02:04 -0500 Subject: [AccessD] Re: Export to CSV file problem In-Reply-To: <200410261506.i9QF62L01657@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041026135115.013d7b18@pop3.highstream.net> This is really simple guys/gals: Parse the date out and rebuild it in a query, add a field: Date: cstr(datepart("m",YourDateField) & "/" & datepart("d",YourDateField) & "/" & datepart("yyyy",YourDateField)) Like someone else pointed out, you did not solve your problem, you only put a Band-Aid on it. Naming things in your database poorly because someone else did in theirs is just an excuse. As shown above, you can name a column in a query anything you want and yours still be named properly. Then you can use your transfertext on the query. And, since I used the cstr function, it really is a string. Robert At 10:06 AM 10/26/2004 -0500, you wrote: >Date: Tue, 26 Oct 2004 07:19:37 -0500 >From: "Kaup, Chester A" >Subject: RE: [AccessD] Export to CSV file problem >To: "Access Developers discussion and problem solving" > >Message-ID: > ><1375769556091B4DAABC159F944CA1BB07A267 at bocnte2k4.hou150.chevrontexaco.net> > >Content-Type: text/plain; charset=us-ascii > >The field in the table is text. I tried date/time and both the date and >the time displayed in the table. The export is dome by the transfertext >method. The reason I used the word date is because the csv file >generated is loaded into another program where the field names need to >match and the field name in that program is date. I solved the problem >by making the date field nine characters. Maybe not the best way but it >chops of the time part of date/time and shows only the date in the csv >file. > >Chester Kaup >Information Management Technician >IT-MidContinent/MidContinent Business Unit >CTN 8-687-7415 >Outside 432-687-7415 From greggs at msn.com Tue Oct 26 14:58:11 2004 From: greggs at msn.com (Gregg) Date: Tue, 26 Oct 2004 14:58:11 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel*SOLVED" References: <6A6AA9DF57E4F046BDA1E273BDDB67723371BD@corp-es01.fleetpride.com> Message-ID: Cool! ----- Original Message ----- From: Hale, Jim To: 'Access Developers discussion and problem solving' Sent: Tuesday, October 26, 2004 9:43 AM Subject: RE: [AccessD] Strange Citrix error when running Access with Excel*SOLVED" Gregg, Logging into the console worked! Many thanks! Jim Hale -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Monday, October 25, 2004 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange Citrix error when running Access with Excel Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim> To: 'Accessd (E-mail)> Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 .com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.-- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Oct 26 15:05:00 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 26 Oct 2004 13:05:00 -0700 Subject: [AccessD] Itterate a collection In-Reply-To: <123701F54509D9119A4F00D0B747349016D02C@main2.marlow.com> Message-ID: <000c01c4bb97$16157fa0$8500a8c0@murphyf3vdfepi> All, Having seem all the traffic on collections I decided to use one in a utility I am building. I get an error message of "Expected user defined type, not project." on the code line that instantiates the collection: "Private colListings As New collection". Any idea what is causing this? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 26, 2004 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection True, you can just return the collection. That is certainly an option, I'm just used to writing activeX .dll's, where I am going to use them in ASP. In that situation, I can't 'return' a collection, but I can return items in a collection. So it becomes a wrapper around the collection. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Tue Oct 26 15:29:07 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 15:29:07 -0500 Subject: [AccessD] Field not saving to table Message-ID: <1375769556091B4DAABC159F944CA1BB0B0492@bocnte2k4.hou150.chevrontexaco.net> I have a data entry form with three fields; record date, well number and volume. The record date field is automatically filled from a date on another form. Values in the other two fields are entered by the user. The form has a data source of a table. The well number and volume fields save fine to the table. The record date field does not save to the table. What am I doing wrong or need to do to get the record date to save to the table? Thanks. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From kaupca at chevrontexaco.com Tue Oct 26 15:47:35 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 15:47:35 -0500 Subject: [AccessD] Field not saving to table Message-ID: <1375769556091B4DAABC159F944CA1BB07A271@bocnte2k4.hou150.chevrontexaco.net> Problem solved! Set data source to table Set default value to other form. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester A Sent: Tuesday, October 26, 2004 3:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Field not saving to table I have a data entry form with three fields; record date, well number and volume. The record date field is automatically filled from a date on another form. Values in the other two fields are entered by the user. The form has a data source of a table. The well number and volume fields save fine to the table. The record date field does not save to the table. What am I doing wrong or need to do to get the record date to save to the table? Thanks. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 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 dw-murphy at cox.net Tue Oct 26 18:37:16 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 26 Oct 2004 16:37:16 -0700 Subject: [AccessD] Itterate a collection In-Reply-To: <000c01c4bb97$16157fa0$8500a8c0@murphyf3vdfepi> Message-ID: <000001c4bbb4$bd633780$8500a8c0@murphyf3vdfepi> Never mind, something was hosed in the db, I created a new one and it works fine now. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, October 26, 2004 1:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Itterate a collection All, Having seem all the traffic on collections I decided to use one in a utility I am building. I get an error message of "Expected user defined type, not project." on the code line that instantiates the collection: "Private colListings As New collection". Any idea what is causing this? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 26, 2004 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection True, you can just return the collection. That is certainly an option, I'm just used to writing activeX .dll's, where I am going to use them in ASP. In that situation, I can't 'return' a collection, but I can return items in a collection. So it becomes a wrapper around the collection. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd667 at yahoo.com Wed Oct 27 01:43:18 2004 From: accessd667 at yahoo.com (S D) Date: Tue, 26 Oct 2004 23:43:18 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <1210331495.20041026114056@cactus.dk> Message-ID: <20041027064318.87527.qmail@web61103.mail.yahoo.com> Hi Gustav, thnx for you're reply. I found out that the app I'm modifying is using the following command to export to textfiles and I do not want to introduce a new way of exporting for 1 extra export: DoCmd.TransferText [transfertype][, specificationname], tablename, filename[, hasfieldnames][, HTMLtablename][, codepage] Now I have 2 problems. Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). However when I use this command: DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" I get the following error: 3441 Text file specification field separator matches decimal separator or text delimiter I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) Problem 2: I do not know how to create a specification file. Any idea how to create such a file? TIA Sander Helpfile info regarding specification field : For a fixed-width text file, you must either specify an argument or use a schema.ini file, which must be stored in the same folder as the imported, linked, or exported text file. To create a schema file, you can use the text import/export wizard to create the file. For delimited text files and Microsoft Word mail merge data files, you can leave this argument blank to select the default import/export specifications. Gustav Brock wrote: Hi S > First question: > I need to create a table using a UNION query. How can I do this? Create a union query, then use that as source for the append/create query. > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? Create a query something like this: SELECT Field1, Field2 INTO [Text;Database=C:\Windows\Temp].[YourFile.txt] FROM YourTable; Before running this, create (or modify) the file schema.ini in the destination folder: [YourFile.txt] ColNameHeader=False CharacterSet=ANSI Format=TabDelimited Col1=Field1 Char Width 50 Col2=Field2 Char Width 50 The output file (YourFile.txt) must not exist before you run the query. As you can see, you may not need the temp table at all; use the union query as source when creating the text file. For more into on schema.ini file syntax, look here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. From accessd667 at yahoo.com Wed Oct 27 01:57:55 2004 From: accessd667 at yahoo.com (S D) Date: Tue, 26 Oct 2004 23:57:55 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; *SOLVED* In-Reply-To: <20041027064318.87527.qmail@web61103.mail.yahoo.com> Message-ID: <20041027065755.64969.qmail@web61107.mail.yahoo.com> Yes, a bright moment in time! Found out how to create a export spec and it works as a charm!! It's done like this: 1)Right click the table 2)select export 3)Advanced....e voila, you're in the Export Specification 'wizard'. 4)DoCmd.TransferText acExportDelim, "SapExportFile_Export_Specification", "tSapExport", "c:\SapExportFile.txt" Succes. SD S D wrote: Hi Gustav, thnx for you're reply. I found out that the app I'm modifying is using the following command to export to textfiles and I do not want to introduce a new way of exporting for 1 extra export: DoCmd.TransferText [transfertype][, specificationname], tablename, filename[, hasfieldnames][, HTMLtablename][, codepage] Now I have 2 problems. Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). However when I use this command: DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" I get the following error: 3441 Text file specification field separator matches decimal separator or text delimiter I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) Problem 2: I do not know how to create a specification file. Any idea how to create such a file? TIA Sander Helpfile info regarding specification field : For a fixed-width text file, you must either specify an argument or use a schema.ini file, which must be stored in the same folder as the imported, linked, or exported text file. To create a schema file, you can use the text import/export wizard to create the file. For delimited text files and Microsoft Word mail merge data files, you can leave this argument blank to select the default import/export specifications. Gustav Brock wrote: Hi S > First question: > I need to create a table using a UNION query. How can I do this? Create a union query, then use that as source for the append/create query. > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? Create a query something like this: SELECT Field1, Field2 INTO [Text;Database=C:\Windows\Temp].[YourFile.txt] FROM YourTable; Before running this, create (or modify) the file schema.ini in the destination folder: [YourFile.txt] ColNameHeader=False CharacterSet=ANSI Format=TabDelimited Col1=Field1 Char Width 50 Col2=Field2 Char Width 50 The output file (YourFile.txt) must not exist before you run the query. As you can see, you may not need the temp table at all; use the union query as source when creating the text file. For more into on schema.ini file syntax, look here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. From stuart at lexacorp.com.pg Wed Oct 27 01:57:16 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 Oct 2004 16:57:16 +1000 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041027064318.87527.qmail@web61103.mail.yahoo.com> References: <1210331495.20041026114056@cactus.dk> Message-ID: <417FD36C.29203.EAC1FCF@lexacorp.com.pg> On 26 Oct 2004 at 23:43, S D wrote: > Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). > However when I use this command: > DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" > I get the following error: > 3441 Text file specification field separator matches decimal separator or text delimiter > > I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) > > Problem 2: I do not know how to create a specification file. > Any idea how to create such a file? > The answer to problem 2 will slove Problem 1. Open the Table and use the File-Export to create a text file. In any step of the Export Wizard, click the Advanced button and define the export specification then Save it. Once you have saved it, you can specify the save name in the Docmd arguments. -- Stuart From gustav at cactus.dk Wed Oct 27 03:45:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 10:45:11 +0200 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041027064318.87527.qmail@web61103.mail.yahoo.com> References: <20041027064318.87527.qmail@web61103.mail.yahoo.com> Message-ID: <976242876.20041027104511@cactus.dk> Hi Sander > Found out how to create a export spec and it works as a charm!! Great. And Stuart did answer too, thanks. Schema.ini is nothing but a simple textfile in ini-format. The link to MS goes into every detail of that file. /gustav > Problem 2: I do not know how to create a specification file. > Any idea how to create such a file? > For more into on schema.ini file syntax, look here: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp From viner at EUnet.yu Wed Oct 27 05:17:49 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 27 Oct 2004 12:17:49 +0200 Subject: [AccessD] OT: Math for 4 years old kid Message-ID: <000a01c4bc0e$3cb9f380$0100a8c0@razvoj> Hi, sorry for the OT post, but I can't find any suitable(printable) stuff on the Net to improve the math skills of my 4 years old boy. Anybody can recommend some good address? Many TIA, Ervin From Chris.Foote at uk.thalesgroup.com Wed Oct 27 05:28:11 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 27 Oct 2004 11:28:11 +0100 Subject: [AccessD] OT: Math for 4 years old kid Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk> Lots of links here Ervin! http://www.education.bham.ac.uk/subjects/maths/links/default.htm Chris Foote > -----Original Message----- > From: Ervin Brindza [mailto:viner at EUnet.yu] > Sent: Wednesday, October 27, 2004 11:18 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Math for 4 years old kid > > > Hi, > sorry for the OT post, but I can't find any > suitable(printable) stuff on the Net to improve the math > skills of my 4 years old boy. Anybody can recommend some good address? > Many TIA, > Ervin From pedro at plex.nl Wed Oct 27 12:33:28 2004 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 27 Oct 2004 12:33:28 (MET DST) Subject: [AccessD] compare record fields Message-ID: <200410271033.i9RAXSKg017747@mailhostC.plex.net> Hello Group, i have a table in which i would compare two fields in one record with each other. The result must be the record where one of the values don't match with one another. fieldA fieldB and several other fields 00123 00123 02345 02345 06789 06689 result fieldA fieldB and several other fields 06789 06689 Is this possible. Thanks Pedro Janssen From pedro at plex.nl Wed Oct 27 12:38:19 2004 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 27 Oct 2004 12:38:19 (MET DST) Subject: [AccessD] barcode and in stock managment Message-ID: <200410271038.i9RAcJ9k017883@mailhostC.plex.net> Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen From gustav at cactus.dk Wed Oct 27 05:59:27 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 12:59:27 +0200 Subject: [AccessD] compare record fields In-Reply-To: <200410271033.i9RAXSKg017747@mailhostC.plex.net> References: <200410271033.i9RAXSKg017747@mailhostC.plex.net> Message-ID: <13914298179.20041027125927@cactus.dk> Hi Pedro > i have a table in which i would compare two fields in one record with each other. > The result must be the record where one of the values don't match with one another. > fieldA fieldB and several other fields > 00123 00123 > 02345 02345 > 06789 06689 > result > fieldA fieldB and several other fields > 06789 06689 That could be: SELECT * FROM tblTable WHERE FieldA<>FieldB; /gustav From accessd667 at yahoo.com Wed Oct 27 06:37:18 2004 From: accessd667 at yahoo.com (S D) Date: Wed, 27 Oct 2004 04:37:18 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <417FD36C.29203.EAC1FCF@lexacorp.com.pg> Message-ID: <20041027113718.95924.qmail@web61105.mail.yahoo.com> Gustav AND STUART Thnx :-) quote gustav [Great. And Stuart did answer too, thanks.] unquote gustav Stuart McLachlan wrote: On 26 Oct 2004 at 23:43, S D wrote: > Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). > However when I use this command: > DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" > I get the following error: > 3441 Text file specification field separator matches decimal separator or text delimiter > > I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) > > Problem 2: I do not know how to create a specification file. > Any idea how to create such a file? > The answer to problem 2 will slove Problem 1. Open the Table and use the File-Export to create a text file. In any step of the Export Wizard, click the Advanced button and define the export specification then Save it. Once you have saved it, you can specify the save name in the Docmd arguments. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From viner at EUnet.yu Wed Oct 27 06:17:06 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 27 Oct 2004 13:17:06 +0200 Subject: [AccessD] OT: Math for 4 years old kid References: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk> Message-ID: <003f01c4bc1a$1c8709c0$0100a8c0@razvoj> Chris, many thanks for the URL. My son is clever, but he is a 4 years old, and it's a little bit early for his Univesity study ;-) Ervin ----- Original Message ----- From: "Foote, Chris" To: "'Access Developers discussion and problem solving'" Sent: 27 October, 2004 12:28 PM Subject: RE: [AccessD] OT: Math for 4 years old kid > Lots of links here Ervin! > > http://www.education.bham.ac.uk/subjects/maths/links/default.htm > > Chris Foote > > > > -----Original Message----- > > From: Ervin Brindza [mailto:viner at EUnet.yu] > > Sent: Wednesday, October 27, 2004 11:18 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] OT: Math for 4 years old kid > > > > > > Hi, > > sorry for the OT post, but I can't find any > > suitable(printable) stuff on the Net to improve the math > > skills of my 4 years old boy. Anybody can recommend some good address? > > Many TIA, > > Ervin > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Wed Oct 27 07:04:04 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed, 27 Oct 2004 08:04:04 -0400 Subject: [AccessD] Allow users to change background colors Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> I have a very simple two form application that I have developed for my office. Naturally, some folks don't like the colors I chose for the background. I would like to give them a way of changing the colors without giving them access to design view. Any ideas. TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From paul.hartland at isharp.co.uk Wed Oct 27 07:14:00 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 27 Oct 2004 13:14:00 +0100 Subject: [AccessD] Import CSV file with Unix end of line characters Message-ID: <668C5C868606C641857281147C468936552235@primary.orridge.co.uk> To all, Could someone please tell me or send me some sample code on the best way to import a CSV file which has Unix end of line characters. Thanks in advance for any help on this PAUL HARTLAND Database Designer/Programmer paul.hartland at isharp.co.uk ISHARP DDI - 01922 472031 Mobile - 07730 523179 ISHARP (Information Services for Hospitality, Audit, Retail and Pharmacy) provide IT resources for the Christie Group Stock & Inventory Services companies. From michael.mattys at adelphia.net Wed Oct 27 07:16:47 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 27 Oct 2004 08:16:47 -0400 Subject: [AccessD] OT: Math for 4 years old kid References: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk> <003f01c4bc1a$1c8709c0$0100a8c0@razvoj> Message-ID: <03cb01c4bc1e$d5aa8720$6401a8c0@default> Our kids have used this place since 1st grade http://www.superkids.com/aweb/tools/ ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > -----Original Message----- > > > From: Ervin Brindza [mailto:viner at EUnet.yu] > > > Sent: Wednesday, October 27, 2004 11:18 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] OT: Math for 4 years old kid > > > > > > > > > Hi, > > > sorry for the OT post, but I can't find any > > > suitable(printable) stuff on the Net to improve the math > > > skills of my 4 years old boy. Anybody can recommend some good address? > > > Many TIA, > > > Ervin From R.Griffiths at bury.gov.uk Wed Oct 27 07:20:14 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Wed, 27 Oct 2004 13:20:14 +0100 Subject: [AccessD] Allow users to change background colors Message-ID: Hi You could store the settings in a table or ini file and read in, in the openevent - but for such a small app you may be on a slippy slope as changing the background colour now may be the first of many requests!! Richard -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: 27 October 2004 13:04 To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Allow users to change background colors I have a very simple two form application that I have developed for my office. Naturally, some folks don't like the colors I chose for the background. I would like to give them a way of changing the colors without giving them access to design view. Any ideas. TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 27 07:20:08 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 14:20:08 +0200 Subject: [AccessD] Allow users to change background colors In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> References: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> Message-ID: <18219139080.20041027142008@cactus.dk> Hi Susan That kind of requests are best fulfilled by asking the users to agree on a colourset ... they can't. Or turn into gray scale - no one can complain on that. /gustav > I have a very simple two form application that I have developed for my > office. Naturally, some folks don't like the colors I chose for the > background. I would like to give them a way of changing the colors without > giving them access to design view. Any ideas. TIA. From viner at EUnet.yu Wed Oct 27 07:35:02 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 27 Oct 2004 14:35:02 +0200 Subject: [AccessD] OT: Math for 4 years old kid References: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk><003f01c4bc1a$1c8709c0$0100a8c0@razvoj> <03cb01c4bc1e$d5aa8720$6401a8c0@default> Message-ID: <002601c4bc21$ed8d0040$0100a8c0@razvoj> Wow, looks great! Many thanks, Ervin ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: 27 October, 2004 2:16 PM Subject: Re: [AccessD] OT: Math for 4 years old kid > Our kids have used this place since 1st grade > > http://www.superkids.com/aweb/tools/ > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > > -----Original Message----- > > > > From: Ervin Brindza [mailto:viner at EUnet.yu] > > > > Sent: Wednesday, October 27, 2004 11:18 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] OT: Math for 4 years old kid > > > > > > > > > > > > Hi, > > > > sorry for the OT post, but I can't find any > > > > suitable(printable) stuff on the Net to improve the math > > > > skills of my 4 years old boy. Anybody can recommend some good address? > > > > Many TIA, > > > > Ervin > > -- > _______________________________________________ > 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 Oct 27 07:43:05 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 Oct 2004 22:43:05 +1000 Subject: [AccessD] Allow users to change background colors In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> Message-ID: <41802479.15558.FE8B2A8@lexacorp.com.pg> On 27 Oct 2004 at 8:04, Klos, Susan wrote: > I have a very simple two form application that I have developed for my > office. Naturally, some folks don't like the colors I chose for the > background. I would like to give them a way of changing the colors without > giving them access to design view. Any ideas. TIA. > In brief: Store the desired colour somewhere such as a system table, set it on_load and provide a button to call the ChooseColor common dialog, update the current background and store the new colour: In detail: 1. Table: TSysFile Field: BColor - Long 2. Create a button on the form called cmdColorChange and set the button's on_click to [Event procedure] 3. Paste the following into the form's module. Option Compare Database Option Explicit Private Type CHOOSECOLOR lStructSize As Long hwndOwner As Long hInstance As Long rgbResult As Long lpCustColors As String flags As Long lCustData As Long lpfnHook As Long lpTemplateName As String End Type Private Declare Function ChooseColorAPI Lib "comdlg32.dll" Alias _ "ChooseColorA" (pChoosecolor As CHOOSECOLOR) As Long Dim CustomColors() As Byte Private Sub Form_Load() ReDim CustomColors(0 To 16 * 4 - 1) As Byte Dim i As Integer For i = LBound(CustomColors) To UBound(CustomColors) CustomColors(i) = 0 Next i Detail.BackColor = DLookup("bcolor", "tsysfile") End Sub Private Sub CmdColorChange_Click() Dim cc As CHOOSECOLOR Dim Custcolor(16) As Long Dim lReturn As Long cc.lStructSize = Len(cc) cc.hwndOwner = Me.Hwnd cc.hInstance = 0 cc.lpCustColors = StrConv(CustomColors, vbUnicode) cc.flags = 0 lReturn = ChooseColorAPI(cc) If lReturn <> 0 Then Detail.BackColor = cc.rgbResult ' Access only ********** CurrentDb.Execute "Update tSysFile set BColor = " & cc.rgbResult CustomColors = StrConv(cc.lpCustColors, vbFromUnicode) End If End Sub -- Stuart From stuart at lexacorp.com.pg Wed Oct 27 07:49:25 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 Oct 2004 22:49:25 +1000 Subject: [AccessD] Import CSV file with Unix end of line characters In-Reply-To: <668C5C868606C641857281147C468936552235@primary.orridge.co.uk> Message-ID: <418025F5.30030.FEE7E8B@lexacorp.com.pg> On 27 Oct 2004 at 13:14, Paul Hartland (ISHARP) wrote: > To all, > > Could someone please tell me or send me some sample code on the best way to > import a CSV file which has Unix end of line characters. > Here's the PowerBasic code for a simple converter I use for this. You could probably do the same thing in VBA with a few minor mods. I can let you have the compiled executable if you want it. FUNCTION PBMAIN() AS LONG DIM infile AS STRING DIM outfile AS STRING DIM temp AS STRING infile = COMMAND$ IF DIR$(infile) = "" THEN MSGBOX infile & " not found" EXIT FUNCTION END IF OPEN infile$ FOR BINARY AS #1 GET$ #1, LOF(1), temp IF INSTR(temp,CHR$(13,10)) > 0 THEN MSGBOX "This file is already DOS formatted!" ELSE REPLACE CHR$(10) WITH CHR$(13,10) IN temp outfile = LEFT$(infile,LEN(infile)-4) & "-DOS.CSV" OPEN outfile$ FOR BINARY AS #2 PUT$ #2, temp MSGBOX Infile & " converted to " & outfile CLOSE #2 END IF CLOSE #1 END FUNCTION 0 -- Stuart From accessd667 at yahoo.com Wed Oct 27 08:03:38 2004 From: accessd667 at yahoo.com (S D) Date: Wed, 27 Oct 2004 06:03:38 -0700 (PDT) Subject: [AccessD] Animation e.g. gif? Message-ID: <20041027130338.31864.qmail@web61110.mail.yahoo.com> Hi group, is it possible to add an animation to my Acces form with STANDARD Access 2000 controls? And I mean STANDARD! No, dll's or anything like it. Tia. Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From paul.hartland at isharp.co.uk Wed Oct 27 08:27:22 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 27 Oct 2004 14:27:22 +0100 Subject: [AccessD] Import CSV file with Unix end of line characters In-Reply-To: <668C5C868606C641857281147C46893654FF03@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C468936552236@primary.orridge.co.uk> Thanks, I will have a go at converting it to VBA first Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 27 October 2004 13:49 To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Import CSV file with Unix end of line characters On 27 Oct 2004 at 13:14, Paul Hartland (ISHARP) wrote: > To all, > > Could someone please tell me or send me some sample code on the best > way to import a CSV file which has Unix end of line characters. > Here's the PowerBasic code for a simple converter I use for this. You could probably do the same thing in VBA with a few minor mods. I can let you have the compiled executable if you want it. FUNCTION PBMAIN() AS LONG DIM infile AS STRING DIM outfile AS STRING DIM temp AS STRING infile = COMMAND$ IF DIR$(infile) = "" THEN MSGBOX infile & " not found" EXIT FUNCTION END IF OPEN infile$ FOR BINARY AS #1 GET$ #1, LOF(1), temp IF INSTR(temp,CHR$(13,10)) > 0 THEN MSGBOX "This file is already DOS formatted!" ELSE REPLACE CHR$(10) WITH CHR$(13,10) IN temp outfile = LEFT$(infile,LEN(infile)-4) & "-DOS.CSV" OPEN outfile$ FOR BINARY AS #2 PUT$ #2, temp MSGBOX Infile & " converted to " & outfile CLOSE #2 END IF CLOSE #1 END FUNCTION 0 -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Wed Oct 27 08:22:25 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 27 Oct 2004 09:22:25 -0400 Subject: [AccessD] Itterate a collection Message-ID: <08F823FD83787D4BA0B99CA580AD3C7448696E@TTNEXCHCL2.hshhp.com> Right but in this case if the TableNames method has not been called the collection will not be instantiated and an error will have to be handled. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, October 26, 2004 11:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection The class Count method would *use* the Count method of the underlying collection. An empty collection should return a zero count. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 5:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ssharkins at bellsouth.net Wed Oct 27 08:41:33 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 27 Oct 2004 09:41:33 -0400 Subject: [AccessD] compare record fields In-Reply-To: <200410271033.i9RAXSKg017747@mailhostC.plex.net> Message-ID: <20041027134134.LPLW8988.imf16aec.mail.bellsouth.net@SUSANONE> There's a wizard for that. Try the Duplicates wizard. Susan H. Hello Group, i have a table in which i would compare two fields in one record with each other. The result must be the record where one of the values don't match with one another. fieldA fieldB and several other fields 00123 00123 02345 02345 06789 06689 result fieldA fieldB and several other fields 06789 06689 Is this possible. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 27 08:41:33 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 27 Oct 2004 09:41:33 -0400 Subject: [AccessD] OT: Math for 4 years old kid In-Reply-To: <000a01c4bc0e$3cb9f380$0100a8c0@razvoj> Message-ID: <20041027134142.LPOU8988.imf16aec.mail.bellsouth.net@SUSANONE> Try Reader Rabbit CD's. I don't know if they have any math games aimed at that age, but I know they have preschool games. Lexie loved Reader Rabbit for the longest time. Susan H. Hi, sorry for the OT post, but I can't find any suitable(printable) stuff on the Net to improve the math skills of my 4 years old boy. Anybody can recommend some good address? Many TIA, From JHewson at karta.com Wed Oct 27 08:43:52 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 27 Oct 2004 08:43:52 -0500 Subject: [AccessD] barcode and in stock managment Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068C51@karta-exc-int.Karta.com> A couple of years ago, we wanted to use barcodes for specimens used in evaluating inspectors. After much research on the code to generate the barcode, we purchased a barcode reader. After we purchased the barcode reader, we realized how simple it was. The barcode reader came with the code to generate the barcode and instructions on how to scan the items. In hindsight, we should have bought the barcode reader first, then if needed, do the research to generate the barcode. My recommendation is to decide which barcode reader you want to use first. The information that comes with the barcode reader might just have all the information you need. In Access the easiest barcode to use is called Code 39, which is easily downloaded as a font. As a font, it can be used for any alphanumeric character and can be printed on labels, forms, etc. The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl Sent: Wednesday, October 27, 2004 7:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] barcode and in stock managment Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Wed Oct 27 08:49:50 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 27 Oct 2004 14:49:50 +0100 Subject: [AccessD] OT: Math for 4 years old kid Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C40C@ntscxch1.int.rdel.co.uk> LOL! Sorry Ervin, I thought there were links towards the bottom of the page to items suitable for 4 year olds. Darned if I can find them now. I would have thought though that, the four year old child of an AccessDer should be capable of handling maths designed for an "ordinary" 8-year old ;-O Regards Chris Foote > -----Original Message----- > From: Ervin Brindza [mailto:viner at EUnet.yu] > Sent: Wednesday, October 27, 2004 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Math for 4 years old kid > > > Chris, > many thanks for the URL. My son is clever, but he is a 4 > years old, and it's > a little bit early for his Univesity study ;-) > Ervin > ----- Original Message ----- > From: "Foote, Chris" > To: "'Access Developers discussion and problem solving'" > > Sent: 27 October, 2004 12:28 PM > Subject: RE: [AccessD] OT: Math for 4 years old kid > > > > Lots of links here Ervin! > > > > http://www.education.bham.ac.uk/subjects/maths/links/default.htm > > > > Chris Foote From JColby at dispec.com Wed Oct 27 09:06:42 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 27 Oct 2004 10:06:42 -0400 Subject: [AccessD] barcode and in stock managment Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF93E@DISABILITYINS01> >The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. You might want to go with a serial port reader (or usb port these days?). The alternative as a "keyboard wedge" type (sits between the keyboard and PC, inserting the data right into the keyboard stream). These cause problems. The reason is that with the serial port readers you have control over where and when you read the bar code. I have used both and, users being users, when you use the "keyboard wedge", you ALWAYS end up with garbage in word documents, excel documents, the wrong form etc. Basically the user forgets to go to the right place before scanning and they corrupt whatever data they the insertion pointer (cursor / focus) is currently on. The serial port type is more difficult to get set up since you have to use a serial port control (comes with vba), but once set up you can turn on / off the reader (or more correctly the serial port) programmatically, thus controlling when the user can scan data. John W. Colby The DIS Database Guy -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, October 27, 2004 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] barcode and in stock managment A couple of years ago, we wanted to use barcodes for specimens used in evaluating inspectors. After much research on the code to generate the barcode, we purchased a barcode reader. After we purchased the barcode reader, we realized how simple it was. The barcode reader came with the code to generate the barcode and instructions on how to scan the items. In hindsight, we should have bought the barcode reader first, then if needed, do the research to generate the barcode. My recommendation is to decide which barcode reader you want to use first. The information that comes with the barcode reader might just have all the information you need. In Access the easiest barcode to use is called Code 39, which is easily downloaded as a font. As a font, it can be used for any alphanumeric character and can be printed on labels, forms, etc. The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl Sent: Wednesday, October 27, 2004 7:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] barcode and in stock managment Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Oct 27 09:28:19 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 27 Oct 2004 16:28:19 +0200 Subject: [AccessD] barcode and in stock managment Message-ID: <46B976F2B698FF46A4FE7636509B22DF7370@stekelbes.ithelps.local> The in-between-keyboard barcodescanner only works with PS2 type of keyboards. Some brand are migrating to USB connector keyboards. The in-between-keyboard barcodescanner does not work when no PS2 keyboard is connected. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Colby, John Verzonden: woensdag 27 oktober 2004 16:07 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] barcode and in stock managment >The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. You might want to go with a serial port reader (or usb port these days?). The alternative as a "keyboard wedge" type (sits between the keyboard and PC, inserting the data right into the keyboard stream). These cause problems. The reason is that with the serial port readers you have control over where and when you read the bar code. I have used both and, users being users, when you use the "keyboard wedge", you ALWAYS end up with garbage in word documents, excel documents, the wrong form etc. Basically the user forgets to go to the right place before scanning and they corrupt whatever data they the insertion pointer (cursor / focus) is currently on. The serial port type is more difficult to get set up since you have to use a serial port control (comes with vba), but once set up you can turn on / off the reader (or more correctly the serial port) programmatically, thus controlling when the user can scan data. John W. Colby The DIS Database Guy -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, October 27, 2004 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] barcode and in stock managment A couple of years ago, we wanted to use barcodes for specimens used in evaluating inspectors. After much research on the code to generate the barcode, we purchased a barcode reader. After we purchased the barcode reader, we realized how simple it was. The barcode reader came with the code to generate the barcode and instructions on how to scan the items. In hindsight, we should have bought the barcode reader first, then if needed, do the research to generate the barcode. My recommendation is to decide which barcode reader you want to use first. The information that comes with the barcode reader might just have all the information you need. In Access the easiest barcode to use is called Code 39, which is easily downloaded as a font. As a font, it can be used for any alphanumeric character and can be printed on labels, forms, etc. The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl Sent: Wednesday, October 27, 2004 7:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] barcode and in stock managment Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Oct 27 09:43:35 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Oct 2004 07:43:35 -0700 Subject: [AccessD] Access with a MySQL database References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Message-ID: <417FB417.6010601@shaw.ca> Something I came across from an ASP perspective http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ Barbara Ryan wrote: >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > >Any thoughts (advantages, limitations, etc.)? > >Thanks, >Barb Ryan > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Wed Oct 27 09:50:29 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 27 Oct 2004 07:50:29 -0700 Subject: [AccessD] Animation e.g. gif? Message-ID: You could use a form timer, but I don't think you would like the results because Access timers tend to interfer with absolutely everything! Charlotte Foust -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Wednesday, October 27, 2004 6:04 AM To: accessd at databaseadvisors.com Subject: [AccessD] Animation e.g. gif? Hi group, is it possible to add an animation to my Acces form with STANDARD Access 2000 controls? And I mean STANDARD! No, dll's or anything like it. Tia. Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 27 09:50:42 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 27 Oct 2004 09:50:42 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <123701F54509D9119A4F00D0B747349016D031@main2.marlow.com> It is slow, though in a single use function, it isn't noticable. Put it in a big loop, or use it all over in a report, and you'll notice delays. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 19, 2004 4:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open a form and find a record Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be > interested in the opinions of folks better versed than I in the area of > optimization. I was under the impression that a simple one-time call to > a domain function in a case like this is no big deal in terms of speed. > (I suppose it depends on the size of the table.) I do avoid using them > in iterative processes, however. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 27 10:35:42 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 17:35:42 +0200 Subject: [AccessD] Access with a MySQL database In-Reply-To: <417FB417.6010601@shaw.ca> References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> <417FB417.6010601@shaw.ca> Message-ID: <7630872802.20041027173542@cactus.dk> Hi Marty > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ Hmm ... I found this a thin cup of tea. And boy, is that site awful ... /gustav From Erwin.Craps at ithelps.be Wed Oct 27 11:19:33 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 27 Oct 2004 18:19:33 +0200 Subject: [AccessD] Access On Tablet Pc's (again) Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B54A0@stekelbes.ithelps.local> Hi group I already asked this question but never got a response to it. The list was having some mail problems at that time so I'm not sure if my mail got around. I found it rather curious no one responded to my mail. Who has some experiences with Access on a tablet pc? More specific I want to kown if (regular) Access 2003 Runs on Windows XP for Tablets PC edition? And if I should know some special stuff running on it. I'm developping an app that, for remote client side, should run on a tablet pc.... Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From BarbaraRyan at cox.net Wed Oct 27 13:14:13 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 27 Oct 2004 14:14:13 -0400 Subject: [AccessD] Access with a MySQL database References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> <417FB417.6010601@shaw.ca> Message-ID: <000a01c4bc50$c3807dc0$0a00a8c0@cx470148a> Thanks, Marty.... I had looked at this site as well as several others on the Web. I think that my main question is a performance issue --- since MySQL does not use server side cursors, is there any performance advantage over using the existing Access back-end? I could also use a SQL Server back-end using ODBC. However, it is my understanding that I would need modify code (SQL statements, queries, etc) in the Access front end to optimize performance using SQL Server (vs. an Access back-end). I am not an expert in any of this my any means, so please correct me if I've spoken heresy! Again, some considerations are that my client currently does not own SQL Server but is using MySQL in their web application. Thanks, Barb Ryan ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 10:43 AM Subject: Re: [AccessD] Access with a MySQL database > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > Barbara Ryan wrote: > > >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > > > >Any thoughts (advantages, limitations, etc.)? > > > >Thanks, > >Barb Ryan > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Wed Oct 27 13:12:15 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 27 Oct 2004 13:12:15 -0500 Subject: [AccessD] Re: Animation e.g. gif? In-Reply-To: <200410271700.i9RH0fL18479@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041027130404.01381e00@pop3.highstream.net> Sander, Access is a database program, not a tinker toy graphics program. The simple answer is "no." The complex answer is: If you want to slow the form to a crawl and give it an unprofessional, childish look, you can use the timer event to make things happen on the form that looks like animation. Access simply does not have the event model to do it. Hummm, did my prejudice about Mickey Mouse design show???? Robert At 12:00 PM 10/27/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 06:03:38 -0700 (PDT) >From: S D >Subject: [AccessD] Animation e.g. gif? >To: accessd at databaseadvisors.com >Message-ID: <20041027130338.31864.qmail at web61110.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi group, > >is it possible to add an animation to my Acces form with STANDARD Access >2000 controls? > >And I mean STANDARD! No, dll's or anything like it. > >Tia. >Sander From lists at theopg.com Wed Oct 27 13:09:08 2004 From: lists at theopg.com (MarkH) Date: Wed, 27 Oct 2004 19:09:08 +0100 Subject: [AccessD] Access On Tablet Pc's (again) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B54A0@stekelbes.ithelps.local> Message-ID: <000201c4bc50$0de42e80$9139fc3e@netboxxp> Hi Erwin I have been running Access XP on a tablet for a month with no probs (the tablet is now my main dev machine when I'm on-site and also runs MSDE)... I did a test install of 2003 and it 'seemed' to work but I only played with it for a couple of hours before restoring from a ghost. I have notice no difference other than input options etc. using Tablet XP. From what I understand its exactly the same as normal Windows (if there is any such thing :O) but with a few extra bits tacked on... I am also new to Tablets, pretty impressed so far but dissapointed with voice recognition. Good luck Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: 27 October 2004 17:20 To: Access Developers discussion and problem solving Subject: [AccessD] Access On Tablet Pc's (again) Hi group I already asked this question but never got a response to it. The list was having some mail problems at that time so I'm not sure if my mail got around. I found it rather curious no one responded to my mail. Who has some experiences with Access on a tablet pc? More specific I want to kown if (regular) Access 2003 Runs on Windows XP for Tablets PC edition? And if I should know some special stuff running on it. I'm developping an app that, for remote client side, should run on a tablet pc.... Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 From rl_stewart at highstream.net Wed Oct 27 13:20:32 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 27 Oct 2004 13:20:32 -0500 Subject: [AccessD] Re: Access with a MySQL database In-Reply-To: <200410271700.i9RH0fL18479@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041027131830.013db158@pop3.highstream.net> If they have Office 2000 or higher, they have SQL Server in the MSDE. It is good for up to 10 concurrent users. My SQL does not support stored procedures, views, or referential integrity. SQL Server, even the MSDE, does. Robert At 12:00 PM 10/27/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 07:43:35 -0700 >From: MartyConnelly >Subject: Re: [AccessD] Access with a MySQL database >To: Access Developers discussion and problem solving > >Message-ID: <417FB417.6010601 at shaw.ca> >Content-Type: text/plain; format=flowed; charset=us-ascii > >Something I came across from an ASP perspective >http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > >Barbara Ryan wrote: > > >Does anyone have any experience using an Access application as a > front-end to a MySQL database back-end? My client is interested in > converting the Access back-end to either SQL Server or MySQL. They > currently do not own SQL Server but are using MySQL in their web application. > > > >Any thoughts (advantages, limitations, etc.)? > > > >Thanks, > >Barb Ryan > > > > From accessd at shaw.ca Wed Oct 27 13:32:12 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 27 Oct 2004 11:32:12 -0700 Subject: [AccessD] Access with a MySQL database In-Reply-To: <000a01c4bc50$c3807dc0$0a00a8c0@cx470148a> Message-ID: Hi Barb: These comments are from my observations: 1. Using MySQL is slower than Access DAO when working with small to medium sized tables and having to use an ODBC driver adds another performance hit. The lose in performance is totally connection related. 2. MySQL's tables can exceed 2GB, still runs fast, even with huge files and of course it is free. 3. MS SQL does not need an ODBC drive, handles huge files, runs very fast and has an awesome set of features but can be considered expensive. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Wednesday, October 27, 2004 11:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access with a MySQL database Thanks, Marty.... I had looked at this site as well as several others on the Web. I think that my main question is a performance issue --- since MySQL does not use server side cursors, is there any performance advantage over using the existing Access back-end? I could also use a SQL Server back-end using ODBC. However, it is my understanding that I would need modify code (SQL statements, queries, etc) in the Access front end to optimize performance using SQL Server (vs. an Access back-end). I am not an expert in any of this my any means, so please correct me if I've spoken heresy! Again, some considerations are that my client currently does not own SQL Server but is using MySQL in their web application. Thanks, Barb Ryan ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 10:43 AM Subject: Re: [AccessD] Access with a MySQL database > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > Barbara Ryan wrote: > > >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > > > >Any thoughts (advantages, limitations, etc.)? > > > >Thanks, > >Barb Ryan > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Oct 27 13:49:10 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 27 Oct 2004 14:49:10 -0400 Subject: [AccessD] Re: Access with a MySQL database References: <5.1.0.14.2.20041027131830.013db158@pop3.highstream.net> Message-ID: <002101c4bc55$a5ac6fc0$0a00a8c0@cx470148a> That's good news (regarding Microsoft SQL) --- they currently are using Access 97, but are converting to XP in the near future, so looks like they'll have it. I don't think that they will have more than 10 users. Barb ----- Original Message ----- From: "Robert L. Stewart" To: Cc: Sent: Wednesday, October 27, 2004 2:20 PM Subject: [AccessD] Re: Access with a MySQL database > If they have Office 2000 or higher, they have SQL Server in the MSDE. > It is good for up to 10 concurrent users. > > My SQL does not support stored procedures, views, or referential > integrity. SQL Server, even the MSDE, does. > > Robert > > At 12:00 PM 10/27/2004 -0500, you wrote: > >Date: Wed, 27 Oct 2004 07:43:35 -0700 > >From: MartyConnelly > >Subject: Re: [AccessD] Access with a MySQL database > >To: Access Developers discussion and problem solving > > > >Message-ID: <417FB417.6010601 at shaw.ca> > >Content-Type: text/plain; format=flowed; charset=us-ascii > > > >Something I came across from an ASP perspective > >http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > > >Barbara Ryan wrote: > > > > >Does anyone have any experience using an Access application as a > > front-end to a MySQL database back-end? My client is interested in > > converting the Access back-end to either SQL Server or MySQL. They > > currently do not own SQL Server but are using MySQL in their web application. > > > > > >Any thoughts (advantages, limitations, etc.)? > > > > > >Thanks, > > >Barb Ryan > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Oct 27 15:46:55 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 27 Oct 2004 22:46:55 +0200 Subject: [AccessD] Access On Tablet Pc's (again) Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B54A1@stekelbes.ithelps.local> Aha Thank you Mark Now I now it should work. I'm pretty disapointed that no Access developers have developed an app for tablet pc's. I tought there can be a pretty big market in that area. I'm developing a app for experts that estimates real estates by a prededined list of questions that will be filled in on site or in the car and afterwards be send to the main office. What concernes voice recognition, never believed in it. I believe its a waste of time and money. They would have better invested that money straightaway in mind control. The day mind control will be working and affordable will be the day computer use will make a giant leap. Use of computer is now bottle necked by the keyboard. Speech will not resolve the slowness of user input. Mind control should... But today it is rather slow to.... About 1 command in two minutes... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MarkH Sent: Wednesday, October 27, 2004 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access On Tablet Pc's (again) Hi Erwin I have been running Access XP on a tablet for a month with no probs (the tablet is now my main dev machine when I'm on-site and also runs MSDE)... I did a test install of 2003 and it 'seemed' to work but I only played with it for a couple of hours before restoring from a ghost. I have notice no difference other than input options etc. using Tablet XP. From what I understand its exactly the same as normal Windows (if there is any such thing :O) but with a few extra bits tacked on... I am also new to Tablets, pretty impressed so far but dissapointed with voice recognition. Good luck Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: 27 October 2004 17:20 To: Access Developers discussion and problem solving Subject: [AccessD] Access On Tablet Pc's (again) Hi group I already asked this question but never got a response to it. The list was having some mail problems at that time so I'm not sure if my mail got around. I found it rather curious no one responded to my mail. Who has some experiences with Access on a tablet pc? More specific I want to kown if (regular) Access 2003 Runs on Windows XP for Tablets PC edition? And if I should know some special stuff running on it. I'm developping an app that, for remote client side, should run on a tablet pc.... Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Oct 27 16:27:04 2004 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 27 Oct 2004 23:27:04 +0200 Subject: [AccessD] compare record fields References: <200410271033.i9RAXSKg017747@mailhostC.plex.net> <13914298179.20041027125927@cactus.dk> Message-ID: <003f01c4bc6b$df6cf980$f2c581d5@pedro> Gustav, thanks for your help. Susan, i believ that the duplicate wizard only works on two tables, and gives as result only the field that isn't present in teh other table. I need the two fields with the mismatch in one record. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 12:59 PM Subject: Re: [AccessD] compare record fields > Hi Pedro > > > i have a table in which i would compare two fields in one record with each other. > > The result must be the record where one of the values don't match with one another. > > > fieldA fieldB and several other fields > > 00123 00123 > > 02345 02345 > > 06789 06689 > > > > result > > > fieldA fieldB and several other fields > > 06789 06689 > > That could be: > > SELECT > * > FROM > tblTable > WHERE > FieldA<>FieldB; > > > /gustav > > -- > _______________________________________________ > 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 Oct 27 18:03:37 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 Oct 2004 09:03:37 +1000 Subject: [AccessD] Access On Tablet Pc's (again) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B54A1@stekelbes.ithelps.local> Message-ID: <4180B5E9.25846.1220CFF9@lexacorp.com.pg> On 27 Oct 2004 at 22:46, Erwin Craps - IT Helps wrote: > What concernes voice recognition, never believed in it. I believe its a > waste of time and money. They would have better invested that money > straightaway in mind control. > The day mind control will be working and affordable will be the day > computer use will make a giant leap. > Use of computer is now bottle necked by the keyboard. Speech will not > resolve the slowness of user input. Mind control should... > But today it is rather slow to.... About 1 command in two minutes... > Take a look at Dasher I'm writing this using just a mouse and it works well with a bit of practice http://www.inference.phy.cam.ac.uk/dasher/-- Stuart From martyconnelly at shaw.ca Wed Oct 27 18:29:41 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Oct 2004 16:29:41 -0700 Subject: [AccessD] Access On Tablet Pc's (again) References: <46B976F2B698FF46A4FE7636509B22DF1B54A1@stekelbes.ithelps.local> Message-ID: <41802F65.5090606@shaw.ca> You could use these palm top mini laptop that run WinXP home Some have keyboards but they run hot and have short battery life. http://reviews.cnet.com/4520-3121_7-5538408-1.html?tag=nl.e404 A lot of developers are using C#.net or asp.netfor palm tops because they can use smarterm which allows immediate screen redesign of forms depending on screen realestate So they don't have to rewrite for different machines. Erwin Craps - IT Helps wrote: >Aha >Thank you Mark >Now I now it should work. > >I'm pretty disapointed that no Access developers have developed an app >for tablet pc's. >I tought there can be a pretty big market in that area. > >I'm developing a app for experts that estimates real estates by a >prededined list of questions that will be filled in on site or in the >car and afterwards be send to the main office. > >What concernes voice recognition, never believed in it. I believe its a >waste of time and money. They would have better invested that money >straightaway in mind control. >The day mind control will be working and affordable will be the day >computer use will make a giant leap. >Use of computer is now bottle necked by the keyboard. Speech will not >resolve the slowness of user input. Mind control should... >But today it is rather slow to.... About 1 command in two minutes... > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MarkH >Sent: Wednesday, October 27, 2004 8:09 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Access On Tablet Pc's (again) > >Hi Erwin > >I have been running Access XP on a tablet for a month with no probs (the >tablet is now my main dev machine when I'm on-site and also runs >MSDE)... I did a test install of 2003 and it 'seemed' to work but I only >played with it for a couple of hours before restoring from a ghost. > >I have notice no difference other than input options etc. using Tablet >XP. From what I understand its exactly the same as normal Windows (if >there is any such thing :O) but with a few extra bits tacked on... > >I am also new to Tablets, pretty impressed so far but dissapointed with >voice recognition. > >Good luck > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - >IT Helps >Sent: 27 October 2004 17:20 >To: Access Developers discussion and problem solving >Subject: [AccessD] Access On Tablet Pc's (again) > > >Hi group > >I already asked this question but never got a response to it. The list >was having some mail problems at that time so I'm not sure if my mail >got around. I found it rather curious no one responded to my mail. > >Who has some experiences with Access on a tablet pc? > >More specific I want to kown if (regular) Access 2003 Runs on Windows XP >for Tablets PC edition? And if I should know some special stuff running >on it. I'm developping an app that, for remote client side, should run >on a tablet pc.... > >Thx > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Wed Oct 27 20:54:12 2004 From: artful at rogers.com (Arthur Fuller) Date: Wed, 27 Oct 2004 21:54:12 -0400 Subject: [AccessD] Access with a MySQL database In-Reply-To: <417FB417.6010601@shaw.ca> References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> <417FB417.6010601@shaw.ca> Message-ID: <41805144.4080803@rogers.com> MartyConnelly wrote: > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > Barbara Ryan wrote: > >> Does anyone have any experience using an Access application as a >> front-end to a MySQL database back-end? My client is interested in >> converting the Access back-end to either SQL Server or MySQL. They >> currently do not own SQL Server but are using MySQL in their web >> application. >> >> Any thoughts (advantages, limitations, etc.)? >> >> Thanks, >> Barb Ryan >> >> > Hmph. I thought I answered this already, but it must have been a senior moment. I have been there and done that extensively, for the book (that was cancelled, and will soon re-emerge as a web site) my partner Peter Brawley and I wrote about MySQL. In brief, the basic setup is dead simple. Download MyODBC from MySQL.com and install it. Copy your current app to a new file and start there. You also have to get the data from your current database to MySQL but for the moment I'll jump over that issue. Run the linked tables wizard and choose odbc as the file type and then create a connection to your MySQL database. Check each table in the database manager before proceeding. Attempt to add a row. If you get a new row with everything marked #deleted#, then add a DateTime column to every such table and set its default to Now(). Repeat until success. Now load the forms one by one and see if they work. That should do it. I may have skipped over a few trivialities but that's the nut. Now back to the import problem. Assuming that all you have is Access and MySQL, you can do it this way: create the aforementioned MySQL database, then the MDB and the ODBC hook to it, then choose File/Get External Data/Import and then select the current Access database. Select all the tables and go. You may have data-type-conversion problems. Don't expect the first pass to be 100% successful. See what went wrong and fix it first, until finally the import works 100%. After that, your data will all be in MySQL. You may at that point choose to revise your indexing strategies, or not. Compare the versions for performance. HTH, A. From bchacc at san.rr.com Wed Oct 27 22:16:12 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 27 Oct 2004 20:16:12 -0700 Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX Message-ID: <010d01c4bc9c$7aa1ca40$6701a8c0@HAL9002> Steve sent me this personal message. Wanted me to know. Thought you all should as well. Rocky ----- Original Message ----- From: "Steve Ballmer" To: Sent: Wednesday, October 27, 2004 7:34 PM Subject: Customer Focus: Comparing Windows with Linux and UNIX In the thousands of meetings that Microsoft employees have with customers around the world every day, many of the same questions consistently surface: Does an open source platform really provide a long-term cost advantage compared with Windows? Which platform offers the most secure computing environment? Given the growing concern among customers about intellectual property indemnification, what's the best way to minimize risk? In moving from an expensive UNIX platform, what's the best alternative in terms of migration? Customers want factual information to help them make the best decisions about these issues. About a year ago, a senior Microsoft team led by General Manager Martin Taylor was created to figure out how we could do a better job helping customers evaluate our products against alternatives such as Linux/open source and proprietary UNIX. This team has worked with a number of top analyst firms that have generated independent, third-party reports on cost of acquisition, total cost of ownership, security and indemnification. Some of the studies were commissioned by Microsoft, while others were initiated and funded by the analysts. In each case, the research methodology, findings and conclusions were the sole domain of the analyst firms. This was essential: we wanted truly independent, factual information. At the same time, our worldwide sales organization is going even deeper with customers to understand their needs and create a feedback loop with our product development teams that enables us to deliver integrated solutions that support real-world customer scenarios, and comprehensively address issues such as manageability, ease of use and reliability. I'm writing to you and other business decision makers and IT professionals today to share some of the data around these key issues - and to provide examples of customers who opted to go with the Windows platform rather than Linux or UNIX, and how that's playing out for them in the real world. Much more information on this is at www.microsoft.com/getthefacts. This email is one in an occasional series of emails from Microsoft executives about technology and public-policy issues important to computer users, our industry, and anyone who cares about the future of high technology. If you would like to receive these emails in the future, please go to http://register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=155 to subscribe. TOTAL COST OF OWNERSHIP AND ACQUISITION COSTS In the past few years, you haven't been able to open a computing magazine or visit a technology Web site without running into an article about Linux and open source. Not surprising: who doesn't like the idea of a "free" operating system that just about anyone can tinker with? But as the Yankee Group commented in an independent, non-sponsored global study of 1,000 IT administrators and executives, Linux, UNIX and Windows TCO Comparison, things aren't always as they seem: "All of the major Linux vendors and distributors (including Hewlett-Packard, IBM, Novell [SUSE and Ximian] and Red Hat) have begun charging hefty premiums for must-have items such as technical service and support, product warranties and licensing indemnification." Yankee's study concluded that, in large enterprises, a significant Linux deployment or total switch from Windows to Linux would be three to four times more expensive - and take three times as long to deploy - as an upgrade from one version of Windows to a newer release. And nine out of 10 enterprise customers said that such a change wouldn't provide any tangible business gains. Yankee also noted that, for larger organizations with complex computer networks, it's important to look beyond Linux's initial low investment cost and consider all of the TCO and ROI factors. This is exactly what one of our large enterprise customers, Equifax, did recently. Equifax, a $1.2 billion U.S.-based enterprise with 4,600 employees in 13 countries, needed more computing power than its mainframe systems could deliver for rapidly searching the company's vast marketing database. They spent several months conducting an internal analysis, which proved that, compared with Linux, Windows would realize a 14% cost savings and shorten their time to market by six months. (Equifax Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15528) Another comprehensive, non-sponsored study by Forrester, entitled The Costs and Risks of Open Source, drew a similar conclusion: "The allure of free software is accelerating the deployment of open source platforms, but open source is not free and may actually increase financial and business risks." In early 2004, Forrester conducted in-depth discussions with 14 companies that had been running Linux platforms for longer than one year to see what the costs really were. Several key themes emerged: - Few companies know what they're really spending. Only five of the 14 kept detailed metrics - and each of those five found Linux more expensive (5% to 20%) than their current Microsoft environments. - Preparation and planning activities took 5% to 25% longer for Linux than Windows. - Training for IT employees was significantly higher for Linux than for Windows - on average, 15% more expensive. The reasons: training materials were less readily available, and customers spent more on training to compensate for the lack of internal knowledge about Linux. - All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources. One of our mid-market customers, Computer Builders Warehouse (CBW), came to a similar conclusion. CBW builds computers to order for education, government, and corporate customers. Several years ago, it deployed Red Hat and Mandrake versions of Linux to support its corporate, retail and e-commerce applications. Challenged with high costs, CBW subsequently migrated to Microsoft Windows Server System, and reduced its total cost of ownership by 25 percent. It also consolidated its server population by 50 percent, reduced maintenance time by 50 percent, and boosted developer productivity by 200 percent. These benefits - totaling $650,000 in savings - are dwarfed by the millions of dollars in new revenue that CBW expects as a result of bringing a key security and monitoring product to market more than two years faster than it could have done using Linux. (CBW Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15131) SECURITY About three years ago, we made software security a top priority, and since then we've invested heavily in a multi-pronged effort to improve software quality and development processes, and to reduce risks for customers through education and guidance, industry collaboration and enforcement. I think it's fair to say that no other software platform has invested as much in security R&D, process improvements and customer education as we have at Microsoft. Still, Linux has often been touted as a more secure platform. In part, this is because of the "many eyeballs" maxim of open source software that claims a correlation between the number of developers looking at code and the number of bugs found and resolved. While this has some validity, it is not necessarily the best way to develop secure software. We believe in the effectiveness of a structured software engineering process that includes a deep focus on quality, technology advances, and vigorous testing to make software more secure. A number of third-party reports have questioned how safe the Linux platform really is. For example, a recent independent study by Forrester, Is Linux More Secure than Windows?, highlighted that the four major Linux distributions have a higher incidence and severity of vulnerabilities, and are slower than Microsoft to provide security updates. According to Forrester, Microsoft had the lowest elapsed time between disclosure of a vulnerability and the release of a fix. They found that Microsoft addressed all of the 128 publicly disclosed security flaws in Windows over the 12-month period studied, and that its security updates predated major outbreaks by an average of 305 days. Other independent sources of data show similar conclusions. According to statistics posted on the security Web site Secunia (http://secunia.com/product/2535#statistics_month), Red Hat Enterprise Linux 3 has averaged 7.4 security advisories per month, compared with 1.7 advisories for Windows Server 2003. And as Yankee Group noted in its Linux, UNIX and Windows TCO Comparison study, "Linux-specific worms and viruses are every bit as pernicious as their UNIX and Windows counterparts - and in many cases they are much more stealthy." This was a deciding factor in farmaCity's selection of Windows over Linux. Headquartered in Buenos Aires, farmaCity is a rapidly growing Argentinian drugstore chain with 50 outlets and 1,200 employees. Although farmaCity's growth in recent years was a testament to its success, the company's aging technology infrastructure had become a hindrance to further expansion. After careful analysis, farmaCity concluded that Windows would reduce network administration by 30 percent compared with Linux, and would also simplify identity and desktop management. But the core reason for selecting Microsoft was the increase in network security, complemented by the ability to reduce patch-deployment time by 50 percent while cutting unsolicited e-mail by half. (farmaCity Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15269) INDEMNIFICATION Increasingly, we're hearing from customers that another factor in their consideration of computing platforms is indemnification. In 2003, we looked at our volume licensing contracts to see what we could do to increase customer satisfaction, and a top issue we heard about was patent indemnification, which then was capped at the amount the customer had paid for the software. So later that year, we lifted that cap for our volume licensing customers, who are most likely to be the target of an intellectual property lawsuit. Today, when a volume licensing customer - a business or organization ranging from as few as five computers to many thousands - licenses a Microsoft product, we provide uncapped protection for legal costs associated with a patent, copyright, trademark or trade secret claim alleging infringement by a Microsoft product. We do this because we are proud to stand behind our products, and because we understand that being on the wrong end of a software patent lawsuit could cost a customer millions of dollars, and massively disrupt their business. No vendor today stands behind Linux with full IP indemnification. In fact, it is rare for open source software to provide customers with any indemnification at all. We think Microsoft's indemnification already is one of the best offered by the leading players in the industry for volume licensing customers, and we're looking at ways to expand it to an even broader set of our customers. It's definitely something businesses want to think about as they're building or expanding their IT infrastructure. It was certainly a factor for Regal Entertainment Group, the largest movie theatre chain in the world. In 2001, they moved to Red Hat Linux. After evaluating Linux in their business for several months, however, they migrated to the Microsoft platform - not only because of lower TCO, stronger support and services, and greater reliability and manageability, but because they were more fully indemnified on IP. J.E. Henry, CIO of Regal Entertainment, told me that "reduced risk was a decision factor in selecting Windows over Linux. We needed to minimize our exposure to the distraction of potential IP infringement claims, and we had a big enough open source presence to be concerned. With the way that Microsoft stands behind its products, it's one less thing that I have to worry about." UNIX MIGRATION One of the hot topics among enterprise IT and business decision makers today is the costs and benefits of migrating enterprise resource planning systems (ERP) from costly, proprietary UNIX environments to Windows or other platforms. ERP integrates various company functions such as human resources, inventories and financials, and links a company to its vendors and customers. An independent, qualitative survey of organizations that recently completed a migration of their SAP or PeopleSoft ERP system from a UNIX environment to the Microsoft Windows Server platform found a more than 20% reduction in the number of servers required compared with UNIX. The survey, by META Group, found that in one large telecommunications company, consolidation on Windows allowed a greater than 50 percent reduction in the number of required servers. The survey also found a more than 50 percent improvement in areas such as reliability, accessibility and scalability; significant savings in cost management, IT staffing, performance monitoring and vendor management; and measurable savings in technical support and training. More than half of business function decision makers also saw significant improvements in areas such as consistency, accuracy, reporting enhancement and performance. "Windows is now a mainstream option for the vast majority of ERP projects," META Group concluded. A great case study is the Raiffeisen Bank Group, the largest private bank group in Austria with about 2,600 branches. It wanted to reduce costs and provide better customer service by consolidating the number of servers in its branches by 50 percent. Raiffeisen investigated migrating from UNIX to either Linux or Windows. After evaluating the possible solutions, the company found that Windows Server 2003 would provide the most economical solution along with better performance, while giving bank employees an integrated view of customer information that they needed to improve customer service. (Raiffeisen Bank Group Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15519) One of our mid-market customers had a similar experience. Grand Expeditions is a consortium of luxury travel companies that significantly reduced its Web development and hosting costs, and improved site reliability and performance, by moving from a combination of Linux- and UNIX-based servers to Windows Server 2003 and the Windows Server System. The new system was up and running in just 60 days, and is saving Grand Expeditions $200,000 a year. (Grand Expeditions Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15397) IN CLOSING... There is no question that customers are benefiting today from a healthy, competitive IT industry. Competition requires companies to really focus in on what customers want and need. At the same time, customers have a clearer opportunity than ever before to evaluate choices. For example, BET.com, the Internet portal created by Viacom subsidiary BET Networks, did an in-depth comparison of Red Hat Linux and Windows Server System. They found that Windows offered 30% lower TCO, was more secure and reliable, and enabled quicker time to market. As BET.com's CTO, Navarrow Wright, said: "When I looked at all the costs - not just the straight price of software - a Windows Server System-based solution made better financial sense than sticking with our Sun and Oracle environment or switching to Linux. We decided to migrate the whole enterprise from various software vendors to standardize all of our software on Microsoft." By implementing Windows Server 2003, Windows XP Professional, Office Professional Edition 2003, Exchange Server 2003, Content Management Server 2003 and Visual Studio .NET 2003, BET.com conservatively estimated that its workforce will increase productivity by 25-30%, while saving significantly in licensing and redevelopment costs. As organizations increasingly rely on IT to perform mission-critical functions, and with complexity a growing challenge, choosing the right computing platform for the long term can make the difference between profit and loss, and between future success and failure. And it's pretty clear that the facts show that Windows provides a lower total cost of ownership than Linux; the number of security vulnerabilities is lower on Windows, and Windows responsiveness on security is better than Linux; and Microsoft provides uncapped IP indemnification of their products, while no such comprehensive offering is available for Linux or open source. The vision and benefits of an integrated platform are what distinguish Microsoft's approach to software. The Windows platform today offers an unmatched level of value, applications availability, simplicity, security and productivity. For Microsoft, this is truly a cross-company effort that requires the server and client operating systems to seamlessly deliver great usability and manageability features, applications that deliver compelling scenarios, and tools that enable developers and ISVs to easily and quickly build new applications on the platform. It's important that customers have all the information they need when making critical and expensive IT decisions. If the evidence at our www.microsoft.com/getthefacts Web site doesn't sufficiently convey the benefits and value of the Microsoft platform, we want to hear from you so we can work even harder to get that information to you. If you would like to have a more detailed discussion about your company's IT needs, email Martin Taylor at martinta at microsoft.com. Steve Ballmer To contact Microsoft, write to us at One Microsoft Way, Redmond, Wash, 98052. To manage your Microsoft.com subscriptions, please sign in at the Microsoft Profile Center here: http://g.microsoft.com/mh_mshp/48. To see the Microsoft.com Privacy Statement, please go to http://www.microsoft.com/info/privacy.mspx. From accessd at shaw.ca Thu Oct 28 03:26:13 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 28 Oct 2004 01:26:13 -0700 Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX In-Reply-To: <010d01c4bc9c$7aa1ca40$6701a8c0@HAL9002> Message-ID: Hi Rocky: Thanks for passing on the information. What I found most interesting, in the article was: ...All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources.... That very comment makes me more interested in recommending and getting more involved with Linux. The market is currently so saturated with Windows Techs that the industry rate of pay is about $16.00 Canadian or $13.00 US per hour...which is ridiculous... except for young individuals, still at home with their folks. Being in a position to negotiate a fair wage package is not a down-side as far as I am concerned. That's my two cents. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 27, 2004 8:16 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX Steve sent me this personal message. Wanted me to know. Thought you all should as well. Rocky ----- Original Message ----- From: "Steve Ballmer" To: Sent: Wednesday, October 27, 2004 7:34 PM Subject: Customer Focus: Comparing Windows with Linux and UNIX In the thousands of meetings that Microsoft employees have with customers around the world every day, many of the same questions consistently surface: Does an open source platform really provide a long-term cost advantage compared with Windows? Which platform offers the most secure computing environment? Given the growing concern among customers about intellectual property indemnification, what's the best way to minimize risk? In moving from an expensive UNIX platform, what's the best alternative in terms of migration? Customers want factual information to help them make the best decisions about these issues. About a year ago, a senior Microsoft team led by General Manager Martin Taylor was created to figure out how we could do a better job helping customers evaluate our products against alternatives such as Linux/open source and proprietary UNIX. This team has worked with a number of top analyst firms that have generated independent, third-party reports on cost of acquisition, total cost of ownership, security and indemnification. Some of the studies were commissioned by Microsoft, while others were initiated and funded by the analysts. In each case, the research methodology, findings and conclusions were the sole domain of the analyst firms. This was essential: we wanted truly independent, factual information. At the same time, our worldwide sales organization is going even deeper with customers to understand their needs and create a feedback loop with our product development teams that enables us to deliver integrated solutions that support real-world customer scenarios, and comprehensively address issues such as manageability, ease of use and reliability. I'm writing to you and other business decision makers and IT professionals today to share some of the data around these key issues - and to provide examples of customers who opted to go with the Windows platform rather than Linux or UNIX, and how that's playing out for them in the real world. Much more information on this is at www.microsoft.com/getthefacts. This email is one in an occasional series of emails from Microsoft executives about technology and public-policy issues important to computer users, our industry, and anyone who cares about the future of high technology. If you would like to receive these emails in the future, please go to http://register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=155 to subscribe. TOTAL COST OF OWNERSHIP AND ACQUISITION COSTS In the past few years, you haven't been able to open a computing magazine or visit a technology Web site without running into an article about Linux and open source. Not surprising: who doesn't like the idea of a "free" operating system that just about anyone can tinker with? But as the Yankee Group commented in an independent, non-sponsored global study of 1,000 IT administrators and executives, Linux, UNIX and Windows TCO Comparison, things aren't always as they seem: "All of the major Linux vendors and distributors (including Hewlett-Packard, IBM, Novell [SUSE and Ximian] and Red Hat) have begun charging hefty premiums for must-have items such as technical service and support, product warranties and licensing indemnification." Yankee's study concluded that, in large enterprises, a significant Linux deployment or total switch from Windows to Linux would be three to four times more expensive - and take three times as long to deploy - as an upgrade from one version of Windows to a newer release. And nine out of 10 enterprise customers said that such a change wouldn't provide any tangible business gains. Yankee also noted that, for larger organizations with complex computer networks, it's important to look beyond Linux's initial low investment cost and consider all of the TCO and ROI factors. This is exactly what one of our large enterprise customers, Equifax, did recently. Equifax, a $1.2 billion U.S.-based enterprise with 4,600 employees in 13 countries, needed more computing power than its mainframe systems could deliver for rapidly searching the company's vast marketing database. They spent several months conducting an internal analysis, which proved that, compared with Linux, Windows would realize a 14% cost savings and shorten their time to market by six months. (Equifax Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15528) Another comprehensive, non-sponsored study by Forrester, entitled The Costs and Risks of Open Source, drew a similar conclusion: "The allure of free software is accelerating the deployment of open source platforms, but open source is not free and may actually increase financial and business risks." In early 2004, Forrester conducted in-depth discussions with 14 companies that had been running Linux platforms for longer than one year to see what the costs really were. Several key themes emerged: - Few companies know what they're really spending. Only five of the 14 kept detailed metrics - and each of those five found Linux more expensive (5% to 20%) than their current Microsoft environments. - Preparation and planning activities took 5% to 25% longer for Linux than Windows. - Training for IT employees was significantly higher for Linux than for Windows - on average, 15% more expensive. The reasons: training materials were less readily available, and customers spent more on training to compensate for the lack of internal knowledge about Linux. - All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources. One of our mid-market customers, Computer Builders Warehouse (CBW), came to a similar conclusion. CBW builds computers to order for education, government, and corporate customers. Several years ago, it deployed Red Hat and Mandrake versions of Linux to support its corporate, retail and e-commerce applications. Challenged with high costs, CBW subsequently migrated to Microsoft Windows Server System, and reduced its total cost of ownership by 25 percent. It also consolidated its server population by 50 percent, reduced maintenance time by 50 percent, and boosted developer productivity by 200 percent. These benefits - totaling $650,000 in savings - are dwarfed by the millions of dollars in new revenue that CBW expects as a result of bringing a key security and monitoring product to market more than two years faster than it could have done using Linux. (CBW Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15131) SECURITY About three years ago, we made software security a top priority, and since then we've invested heavily in a multi-pronged effort to improve software quality and development processes, and to reduce risks for customers through education and guidance, industry collaboration and enforcement. I think it's fair to say that no other software platform has invested as much in security R&D, process improvements and customer education as we have at Microsoft. Still, Linux has often been touted as a more secure platform. In part, this is because of the "many eyeballs" maxim of open source software that claims a correlation between the number of developers looking at code and the number of bugs found and resolved. While this has some validity, it is not necessarily the best way to develop secure software. We believe in the effectiveness of a structured software engineering process that includes a deep focus on quality, technology advances, and vigorous testing to make software more secure. A number of third-party reports have questioned how safe the Linux platform really is. For example, a recent independent study by Forrester, Is Linux More Secure than Windows?, highlighted that the four major Linux distributions have a higher incidence and severity of vulnerabilities, and are slower than Microsoft to provide security updates. According to Forrester, Microsoft had the lowest elapsed time between disclosure of a vulnerability and the release of a fix. They found that Microsoft addressed all of the 128 publicly disclosed security flaws in Windows over the 12-month period studied, and that its security updates predated major outbreaks by an average of 305 days. Other independent sources of data show similar conclusions. According to statistics posted on the security Web site Secunia (http://secunia.com/product/2535#statistics_month), Red Hat Enterprise Linux 3 has averaged 7.4 security advisories per month, compared with 1.7 advisories for Windows Server 2003. And as Yankee Group noted in its Linux, UNIX and Windows TCO Comparison study, "Linux-specific worms and viruses are every bit as pernicious as their UNIX and Windows counterparts - and in many cases they are much more stealthy." This was a deciding factor in farmaCity's selection of Windows over Linux. Headquartered in Buenos Aires, farmaCity is a rapidly growing Argentinian drugstore chain with 50 outlets and 1,200 employees. Although farmaCity's growth in recent years was a testament to its success, the company's aging technology infrastructure had become a hindrance to further expansion. After careful analysis, farmaCity concluded that Windows would reduce network administration by 30 percent compared with Linux, and would also simplify identity and desktop management. But the core reason for selecting Microsoft was the increase in network security, complemented by the ability to reduce patch-deployment time by 50 percent while cutting unsolicited e-mail by half. (farmaCity Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15269) INDEMNIFICATION Increasingly, we're hearing from customers that another factor in their consideration of computing platforms is indemnification. In 2003, we looked at our volume licensing contracts to see what we could do to increase customer satisfaction, and a top issue we heard about was patent indemnification, which then was capped at the amount the customer had paid for the software. So later that year, we lifted that cap for our volume licensing customers, who are most likely to be the target of an intellectual property lawsuit. Today, when a volume licensing customer - a business or organization ranging from as few as five computers to many thousands - licenses a Microsoft product, we provide uncapped protection for legal costs associated with a patent, copyright, trademark or trade secret claim alleging infringement by a Microsoft product. We do this because we are proud to stand behind our products, and because we understand that being on the wrong end of a software patent lawsuit could cost a customer millions of dollars, and massively disrupt their business. No vendor today stands behind Linux with full IP indemnification. In fact, it is rare for open source software to provide customers with any indemnification at all. We think Microsoft's indemnification already is one of the best offered by the leading players in the industry for volume licensing customers, and we're looking at ways to expand it to an even broader set of our customers. It's definitely something businesses want to think about as they're building or expanding their IT infrastructure. It was certainly a factor for Regal Entertainment Group, the largest movie theatre chain in the world. In 2001, they moved to Red Hat Linux. After evaluating Linux in their business for several months, however, they migrated to the Microsoft platform - not only because of lower TCO, stronger support and services, and greater reliability and manageability, but because they were more fully indemnified on IP. J.E. Henry, CIO of Regal Entertainment, told me that "reduced risk was a decision factor in selecting Windows over Linux. We needed to minimize our exposure to the distraction of potential IP infringement claims, and we had a big enough open source presence to be concerned. With the way that Microsoft stands behind its products, it's one less thing that I have to worry about." UNIX MIGRATION One of the hot topics among enterprise IT and business decision makers today is the costs and benefits of migrating enterprise resource planning systems (ERP) from costly, proprietary UNIX environments to Windows or other platforms. ERP integrates various company functions such as human resources, inventories and financials, and links a company to its vendors and customers. An independent, qualitative survey of organizations that recently completed a migration of their SAP or PeopleSoft ERP system from a UNIX environment to the Microsoft Windows Server platform found a more than 20% reduction in the number of servers required compared with UNIX. The survey, by META Group, found that in one large telecommunications company, consolidation on Windows allowed a greater than 50 percent reduction in the number of required servers. The survey also found a more than 50 percent improvement in areas such as reliability, accessibility and scalability; significant savings in cost management, IT staffing, performance monitoring and vendor management; and measurable savings in technical support and training. More than half of business function decision makers also saw significant improvements in areas such as consistency, accuracy, reporting enhancement and performance. "Windows is now a mainstream option for the vast majority of ERP projects," META Group concluded. A great case study is the Raiffeisen Bank Group, the largest private bank group in Austria with about 2,600 branches. It wanted to reduce costs and provide better customer service by consolidating the number of servers in its branches by 50 percent. Raiffeisen investigated migrating from UNIX to either Linux or Windows. After evaluating the possible solutions, the company found that Windows Server 2003 would provide the most economical solution along with better performance, while giving bank employees an integrated view of customer information that they needed to improve customer service. (Raiffeisen Bank Group Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15519) One of our mid-market customers had a similar experience. Grand Expeditions is a consortium of luxury travel companies that significantly reduced its Web development and hosting costs, and improved site reliability and performance, by moving from a combination of Linux- and UNIX-based servers to Windows Server 2003 and the Windows Server System. The new system was up and running in just 60 days, and is saving Grand Expeditions $200,000 a year. (Grand Expeditions Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15397) IN CLOSING... There is no question that customers are benefiting today from a healthy, competitive IT industry. Competition requires companies to really focus in on what customers want and need. At the same time, customers have a clearer opportunity than ever before to evaluate choices. For example, BET.com, the Internet portal created by Viacom subsidiary BET Networks, did an in-depth comparison of Red Hat Linux and Windows Server System. They found that Windows offered 30% lower TCO, was more secure and reliable, and enabled quicker time to market. As BET.com's CTO, Navarrow Wright, said: "When I looked at all the costs - not just the straight price of software - a Windows Server System-based solution made better financial sense than sticking with our Sun and Oracle environment or switching to Linux. We decided to migrate the whole enterprise from various software vendors to standardize all of our software on Microsoft." By implementing Windows Server 2003, Windows XP Professional, Office Professional Edition 2003, Exchange Server 2003, Content Management Server 2003 and Visual Studio .NET 2003, BET.com conservatively estimated that its workforce will increase productivity by 25-30%, while saving significantly in licensing and redevelopment costs. As organizations increasingly rely on IT to perform mission-critical functions, and with complexity a growing challenge, choosing the right computing platform for the long term can make the difference between profit and loss, and between future success and failure. And it's pretty clear that the facts show that Windows provides a lower total cost of ownership than Linux; the number of security vulnerabilities is lower on Windows, and Windows responsiveness on security is better than Linux; and Microsoft provides uncapped IP indemnification of their products, while no such comprehensive offering is available for Linux or open source. The vision and benefits of an integrated platform are what distinguish Microsoft's approach to software. The Windows platform today offers an unmatched level of value, applications availability, simplicity, security and productivity. For Microsoft, this is truly a cross-company effort that requires the server and client operating systems to seamlessly deliver great usability and manageability features, applications that deliver compelling scenarios, and tools that enable developers and ISVs to easily and quickly build new applications on the platform. It's important that customers have all the information they need when making critical and expensive IT decisions. If the evidence at our www.microsoft.com/getthefacts Web site doesn't sufficiently convey the benefits and value of the Microsoft platform, we want to hear from you so we can work even harder to get that information to you. If you would like to have a more detailed discussion about your company's IT needs, email Martin Taylor at martinta at microsoft.com. Steve Ballmer To contact Microsoft, write to us at One Microsoft Way, Redmond, Wash, 98052. To manage your Microsoft.com subscriptions, please sign in at the Microsoft Profile Center here: http://g.microsoft.com/mh_mshp/48. To see the Microsoft.com Privacy Statement, please go to http://www.microsoft.com/info/privacy.mspx. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd667 at yahoo.com Thu Oct 28 04:39:02 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 28 Oct 2004 02:39:02 -0700 (PDT) Subject: [AccessD] Re: Animation e.g. gif? In-Reply-To: <5.1.0.14.2.20041027130404.01381e00@pop3.highstream.net> Message-ID: <20041028093902.32468.qmail@web61110.mail.yahoo.com> :-) you should see this app! Here's a nice example: ''Added 17-05-2002, Star Wars 2: Attack of the Clones premier day! Go figure...but we all have to start somewhere. However I do not think that an hourglass gif for a very long proces is a 'childish look'. thnks anyway "Robert L. Stewart" wrote: Sander, Access is a database program, not a tinker toy graphics program. The simple answer is "no." The complex answer is: If you want to slow the form to a crawl and give it an unprofessional, childish look, you can use the timer event to make things happen on the form that looks like animation. Access simply does not have the event model to do it. Hummm, did my prejudice about Mickey Mouse design show???? Robert At 12:00 PM 10/27/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 06:03:38 -0700 (PDT) >From: S D >Subject: [AccessD] Animation e.g. gif? >To: accessd at databaseadvisors.com >Message-ID: <20041027130338.31864.qmail at web61110.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi group, > >is it possible to add an animation to my Acces form with STANDARD Access >2000 controls? > >And I mean STANDARD! No, dll's or anything like it. > >Tia. >Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From accessd667 at yahoo.com Thu Oct 28 04:54:37 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 28 Oct 2004 02:54:37 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? Message-ID: <20041028095437.20417.qmail@web61105.mail.yahoo.com> Hi group, I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. I need to improve this. This is how it 'works' now: 1 - read the file on the network to determine the number of lines 2 - start a for x=0 to NumberOfLines loop 3 - check the first x characters in the line 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) 5 - execute an update 6 - goto the next record Here's how I want to do it: 1 - copy the file from the network to the desktop 2 - import the complete file in a staging table 3 - Use an UpdateBatch mechanisme to update the BE. Question: How can i implement this UpdateBatch? I mean I have to store the records for each table and after the complete file is processed I want to update all tables. Question: I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) any tips/advice is greatly appreciated!! Regards, Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From gustav at cactus.dk Thu Oct 28 05:18:31 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Oct 2004 12:18:31 +0200 Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? In-Reply-To: <20041028095437.20417.qmail@web61105.mail.yahoo.com> References: <20041028095437.20417.qmail@web61105.mail.yahoo.com> Message-ID: <19614813350.20041028121831@cactus.dk> Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander From accessd at shaw.ca Thu Oct 28 08:24:35 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 28 Oct 2004 06:24:35 -0700 Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? In-Reply-To: <20041028095437.20417.qmail@web61105.mail.yahoo.com> Message-ID: Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 2:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? Hi group, I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. I need to improve this. This is how it 'works' now: 1 - read the file on the network to determine the number of lines 2 - start a for x=0 to NumberOfLines loop 3 - check the first x characters in the line 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) 5 - execute an update 6 - goto the next record Here's how I want to do it: 1 - copy the file from the network to the desktop 2 - import the complete file in a staging table 3 - Use an UpdateBatch mechanisme to update the BE. Question: How can i implement this UpdateBatch? I mean I have to store the records for each table and after the complete file is processed I want to update all tables. Question: I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) any tips/advice is greatly appreciated!! Regards, Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Oct 28 08:38:58 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 28 Oct 2004 09:38:58 -0400 Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux an d UNIX Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF941@DISABILITYINS01> Rocky, I invited Steve to dinner this weekend to discuss just this issue. He says Bill wants to come as well, and he specifically asked if you would be there. Can you make it? It'll be Saturday night, 8:00 pm. Plan on a late night, you know how these guys can gab. John W. Colby The DIS Database Guy -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 27, 2004 11:16 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX Steve sent me this personal message. Wanted me to know. Thought you all should as well. Rocky ----- Original Message ----- From: "Steve Ballmer" To: Sent: Wednesday, October 27, 2004 7:34 PM Subject: Customer Focus: Comparing Windows with Linux and UNIX In the thousands of meetings that Microsoft employees have with customers around the world every day, many of the same questions consistently surface: Does an open source platform really provide a long-term cost advantage compared with Windows? Which platform offers the most secure computing environment? Given the growing concern among customers about intellectual property indemnification, what's the best way to minimize risk? In moving from an expensive UNIX platform, what's the best alternative in terms of migration? Customers want factual information to help them make the best decisions about these issues. About a year ago, a senior Microsoft team led by General Manager Martin Taylor was created to figure out how we could do a better job helping customers evaluate our products against alternatives such as Linux/open source and proprietary UNIX. This team has worked with a number of top analyst firms that have generated independent, third-party reports on cost of acquisition, total cost of ownership, security and indemnification. Some of the studies were commissioned by Microsoft, while others were initiated and funded by the analysts. In each case, the research methodology, findings and conclusions were the sole domain of the analyst firms. This was essential: we wanted truly independent, factual information. At the same time, our worldwide sales organization is going even deeper with customers to understand their needs and create a feedback loop with our product development teams that enables us to deliver integrated solutions that support real-world customer scenarios, and comprehensively address issues such as manageability, ease of use and reliability. I'm writing to you and other business decision makers and IT professionals today to share some of the data around these key issues - and to provide examples of customers who opted to go with the Windows platform rather than Linux or UNIX, and how that's playing out for them in the real world. Much more information on this is at www.microsoft.com/getthefacts. This email is one in an occasional series of emails from Microsoft executives about technology and public-policy issues important to computer users, our industry, and anyone who cares about the future of high technology. If you would like to receive these emails in the future, please go to http://register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=155 to subscribe. TOTAL COST OF OWNERSHIP AND ACQUISITION COSTS In the past few years, you haven't been able to open a computing magazine or visit a technology Web site without running into an article about Linux and open source. Not surprising: who doesn't like the idea of a "free" operating system that just about anyone can tinker with? But as the Yankee Group commented in an independent, non-sponsored global study of 1,000 IT administrators and executives, Linux, UNIX and Windows TCO Comparison, things aren't always as they seem: "All of the major Linux vendors and distributors (including Hewlett-Packard, IBM, Novell [SUSE and Ximian] and Red Hat) have begun charging hefty premiums for must-have items such as technical service and support, product warranties and licensing indemnification." Yankee's study concluded that, in large enterprises, a significant Linux deployment or total switch from Windows to Linux would be three to four times more expensive - and take three times as long to deploy - as an upgrade from one version of Windows to a newer release. And nine out of 10 enterprise customers said that such a change wouldn't provide any tangible business gains. Yankee also noted that, for larger organizations with complex computer networks, it's important to look beyond Linux's initial low investment cost and consider all of the TCO and ROI factors. This is exactly what one of our large enterprise customers, Equifax, did recently. Equifax, a $1.2 billion U.S.-based enterprise with 4,600 employees in 13 countries, needed more computing power than its mainframe systems could deliver for rapidly searching the company's vast marketing database. They spent several months conducting an internal analysis, which proved that, compared with Linux, Windows would realize a 14% cost savings and shorten their time to market by six months. (Equifax Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15528) Another comprehensive, non-sponsored study by Forrester, entitled The Costs and Risks of Open Source, drew a similar conclusion: "The allure of free software is accelerating the deployment of open source platforms, but open source is not free and may actually increase financial and business risks." In early 2004, Forrester conducted in-depth discussions with 14 companies that had been running Linux platforms for longer than one year to see what the costs really were. Several key themes emerged: - Few companies know what they're really spending. Only five of the 14 kept detailed metrics - and each of those five found Linux more expensive (5% to 20%) than their current Microsoft environments. - Preparation and planning activities took 5% to 25% longer for Linux than Windows. - Training for IT employees was significantly higher for Linux than for Windows - on average, 15% more expensive. The reasons: training materials were less readily available, and customers spent more on training to compensate for the lack of internal knowledge about Linux. - All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources. One of our mid-market customers, Computer Builders Warehouse (CBW), came to a similar conclusion. CBW builds computers to order for education, government, and corporate customers. Several years ago, it deployed Red Hat and Mandrake versions of Linux to support its corporate, retail and e-commerce applications. Challenged with high costs, CBW subsequently migrated to Microsoft Windows Server System, and reduced its total cost of ownership by 25 percent. It also consolidated its server population by 50 percent, reduced maintenance time by 50 percent, and boosted developer productivity by 200 percent. These benefits - totaling $650,000 in savings - are dwarfed by the millions of dollars in new revenue that CBW expects as a result of bringing a key security and monitoring product to market more than two years faster than it could have done using Linux. (CBW Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15131) SECURITY About three years ago, we made software security a top priority, and since then we've invested heavily in a multi-pronged effort to improve software quality and development processes, and to reduce risks for customers through education and guidance, industry collaboration and enforcement. I think it's fair to say that no other software platform has invested as much in security R&D, process improvements and customer education as we have at Microsoft. Still, Linux has often been touted as a more secure platform. In part, this is because of the "many eyeballs" maxim of open source software that claims a correlation between the number of developers looking at code and the number of bugs found and resolved. While this has some validity, it is not necessarily the best way to develop secure software. We believe in the effectiveness of a structured software engineering process that includes a deep focus on quality, technology advances, and vigorous testing to make software more secure. A number of third-party reports have questioned how safe the Linux platform really is. For example, a recent independent study by Forrester, Is Linux More Secure than Windows?, highlighted that the four major Linux distributions have a higher incidence and severity of vulnerabilities, and are slower than Microsoft to provide security updates. According to Forrester, Microsoft had the lowest elapsed time between disclosure of a vulnerability and the release of a fix. They found that Microsoft addressed all of the 128 publicly disclosed security flaws in Windows over the 12-month period studied, and that its security updates predated major outbreaks by an average of 305 days. Other independent sources of data show similar conclusions. According to statistics posted on the security Web site Secunia (http://secunia.com/product/2535#statistics_month), Red Hat Enterprise Linux 3 has averaged 7.4 security advisories per month, compared with 1.7 advisories for Windows Server 2003. And as Yankee Group noted in its Linux, UNIX and Windows TCO Comparison study, "Linux-specific worms and viruses are every bit as pernicious as their UNIX and Windows counterparts - and in many cases they are much more stealthy." This was a deciding factor in farmaCity's selection of Windows over Linux. Headquartered in Buenos Aires, farmaCity is a rapidly growing Argentinian drugstore chain with 50 outlets and 1,200 employees. Although farmaCity's growth in recent years was a testament to its success, the company's aging technology infrastructure had become a hindrance to further expansion. After careful analysis, farmaCity concluded that Windows would reduce network administration by 30 percent compared with Linux, and would also simplify identity and desktop management. But the core reason for selecting Microsoft was the increase in network security, complemented by the ability to reduce patch-deployment time by 50 percent while cutting unsolicited e-mail by half. (farmaCity Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15269) INDEMNIFICATION Increasingly, we're hearing from customers that another factor in their consideration of computing platforms is indemnification. In 2003, we looked at our volume licensing contracts to see what we could do to increase customer satisfaction, and a top issue we heard about was patent indemnification, which then was capped at the amount the customer had paid for the software. So later that year, we lifted that cap for our volume licensing customers, who are most likely to be the target of an intellectual property lawsuit. Today, when a volume licensing customer - a business or organization ranging from as few as five computers to many thousands - licenses a Microsoft product, we provide uncapped protection for legal costs associated with a patent, copyright, trademark or trade secret claim alleging infringement by a Microsoft product. We do this because we are proud to stand behind our products, and because we understand that being on the wrong end of a software patent lawsuit could cost a customer millions of dollars, and massively disrupt their business. No vendor today stands behind Linux with full IP indemnification. In fact, it is rare for open source software to provide customers with any indemnification at all. We think Microsoft's indemnification already is one of the best offered by the leading players in the industry for volume licensing customers, and we're looking at ways to expand it to an even broader set of our customers. It's definitely something businesses want to think about as they're building or expanding their IT infrastructure. It was certainly a factor for Regal Entertainment Group, the largest movie theatre chain in the world. In 2001, they moved to Red Hat Linux. After evaluating Linux in their business for several months, however, they migrated to the Microsoft platform - not only because of lower TCO, stronger support and services, and greater reliability and manageability, but because they were more fully indemnified on IP. J.E. Henry, CIO of Regal Entertainment, told me that "reduced risk was a decision factor in selecting Windows over Linux. We needed to minimize our exposure to the distraction of potential IP infringement claims, and we had a big enough open source presence to be concerned. With the way that Microsoft stands behind its products, it's one less thing that I have to worry about." UNIX MIGRATION One of the hot topics among enterprise IT and business decision makers today is the costs and benefits of migrating enterprise resource planning systems (ERP) from costly, proprietary UNIX environments to Windows or other platforms. ERP integrates various company functions such as human resources, inventories and financials, and links a company to its vendors and customers. An independent, qualitative survey of organizations that recently completed a migration of their SAP or PeopleSoft ERP system from a UNIX environment to the Microsoft Windows Server platform found a more than 20% reduction in the number of servers required compared with UNIX. The survey, by META Group, found that in one large telecommunications company, consolidation on Windows allowed a greater than 50 percent reduction in the number of required servers. The survey also found a more than 50 percent improvement in areas such as reliability, accessibility and scalability; significant savings in cost management, IT staffing, performance monitoring and vendor management; and measurable savings in technical support and training. More than half of business function decision makers also saw significant improvements in areas such as consistency, accuracy, reporting enhancement and performance. "Windows is now a mainstream option for the vast majority of ERP projects," META Group concluded. A great case study is the Raiffeisen Bank Group, the largest private bank group in Austria with about 2,600 branches. It wanted to reduce costs and provide better customer service by consolidating the number of servers in its branches by 50 percent. Raiffeisen investigated migrating from UNIX to either Linux or Windows. After evaluating the possible solutions, the company found that Windows Server 2003 would provide the most economical solution along with better performance, while giving bank employees an integrated view of customer information that they needed to improve customer service. (Raiffeisen Bank Group Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15519) One of our mid-market customers had a similar experience. Grand Expeditions is a consortium of luxury travel companies that significantly reduced its Web development and hosting costs, and improved site reliability and performance, by moving from a combination of Linux- and UNIX-based servers to Windows Server 2003 and the Windows Server System. The new system was up and running in just 60 days, and is saving Grand Expeditions $200,000 a year. (Grand Expeditions Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15397) IN CLOSING... There is no question that customers are benefiting today from a healthy, competitive IT industry. Competition requires companies to really focus in on what customers want and need. At the same time, customers have a clearer opportunity than ever before to evaluate choices. For example, BET.com, the Internet portal created by Viacom subsidiary BET Networks, did an in-depth comparison of Red Hat Linux and Windows Server System. They found that Windows offered 30% lower TCO, was more secure and reliable, and enabled quicker time to market. As BET.com's CTO, Navarrow Wright, said: "When I looked at all the costs - not just the straight price of software - a Windows Server System-based solution made better financial sense than sticking with our Sun and Oracle environment or switching to Linux. We decided to migrate the whole enterprise from various software vendors to standardize all of our software on Microsoft." By implementing Windows Server 2003, Windows XP Professional, Office Professional Edition 2003, Exchange Server 2003, Content Management Server 2003 and Visual Studio .NET 2003, BET.com conservatively estimated that its workforce will increase productivity by 25-30%, while saving significantly in licensing and redevelopment costs. As organizations increasingly rely on IT to perform mission-critical functions, and with complexity a growing challenge, choosing the right computing platform for the long term can make the difference between profit and loss, and between future success and failure. And it's pretty clear that the facts show that Windows provides a lower total cost of ownership than Linux; the number of security vulnerabilities is lower on Windows, and Windows responsiveness on security is better than Linux; and Microsoft provides uncapped IP indemnification of their products, while no such comprehensive offering is available for Linux or open source. The vision and benefits of an integrated platform are what distinguish Microsoft's approach to software. The Windows platform today offers an unmatched level of value, applications availability, simplicity, security and productivity. For Microsoft, this is truly a cross-company effort that requires the server and client operating systems to seamlessly deliver great usability and manageability features, applications that deliver compelling scenarios, and tools that enable developers and ISVs to easily and quickly build new applications on the platform. It's important that customers have all the information they need when making critical and expensive IT decisions. If the evidence at our www.microsoft.com/getthefacts Web site doesn't sufficiently convey the benefits and value of the Microsoft platform, we want to hear from you so we can work even harder to get that information to you. If you would like to have a more detailed discussion about your company's IT needs, email Martin Taylor at martinta at microsoft.com. Steve Ballmer To contact Microsoft, write to us at One Microsoft Way, Redmond, Wash, 98052. To manage your Microsoft.com subscriptions, please sign in at the Microsoft Profile Center here: http://g.microsoft.com/mh_mshp/48. To see the Microsoft.com Privacy Statement, please go to http://www.microsoft.com/info/privacy.mspx. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Oct 28 13:43:14 2004 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 28 Oct 2004 20:43:14 +0200 Subject: [AccessD] barcode and in stock managment References: <46B976F2B698FF46A4FE7636509B22DF7370@stekelbes.ithelps.local> Message-ID: <003701c4bd27$ec0f5ae0$f5c581d5@pedro> Hello All, thanks for your reply. You maybe missunderstood my question. I already work with barcodes for years. They don't have that many secrets for me. I asked for help on a database for Stock managment, for examples of such a database. Pedro Janssen ----- Original Message ----- From: "Erwin Craps - IT Helps" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 4:28 PM Subject: RE: [AccessD] barcode and in stock managment > The in-between-keyboard barcodescanner only works with PS2 type of > keyboards. > Some brand are migrating to USB connector keyboards. > > The in-between-keyboard barcodescanner does not work when no PS2 > keyboard is connected. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens Colby, John > Verzonden: woensdag 27 oktober 2004 16:07 > Aan: 'Access Developers discussion and problem solving' > Onderwerp: RE: [AccessD] barcode and in stock managment > > >The barcode reader we purchased acted like any input device. Whatever > field the cursor is in, is where the data is placed. > > You might want to go with a serial port reader (or usb port these > days?). > > The alternative as a "keyboard wedge" type (sits between the keyboard > and PC, inserting the data right into the keyboard stream). These cause > problems. > > The reason is that with the serial port readers you have control over > where and when you read the bar code. I have used both and, users being > users, when you use the "keyboard wedge", you ALWAYS end up with garbage > in word documents, excel documents, the wrong form etc. Basically the > user forgets to go to the right place before scanning and they corrupt > whatever data they the insertion pointer (cursor / focus) is currently > on. > > The serial port type is more difficult to get set up since you have to > use a serial port control (comes with vba), but once set up you can turn > on / off the reader (or more correctly the serial port) > programmatically, thus controlling when the user can scan data. > > John W. Colby > The DIS Database Guy > > > -----Original Message----- > From: Jim Hewson [mailto:JHewson at karta.com] > Sent: Wednesday, October 27, 2004 9:44 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] barcode and in stock managment > > > > A couple of years ago, we wanted to use barcodes for specimens used in > evaluating inspectors. > After much research on the code to generate the barcode, we purchased a > barcode reader. > After we purchased the barcode reader, we realized how simple it was. > The barcode reader came with the code to generate the barcode and > instructions on how to scan the items. > In hindsight, we should have bought the barcode reader first, then if > needed, do the research to generate the barcode. > My recommendation is to decide which barcode reader you want to use > first. > The information that comes with the barcode reader might just have all > the information you need. > In Access the easiest barcode to use is called Code 39, which is easily > downloaded as a font. As a font, it can be used for any alphanumeric > character and can be printed on labels, forms, etc. > > The barcode reader we purchased acted like any input device. Whatever > field the cursor is in, is where the data is placed. > > HTH > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > Sent: Wednesday, October 27, 2004 7:38 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] barcode and in stock managment > > > Hello group, > > who can point me in the right direction on the development of a database > where i use barcode with: In Stock managment. > > Thanks > > Pedro Janssen > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd667 at yahoo.com Thu Oct 28 15:02:35 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 28 Oct 2004 13:02:35 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? *SOLVED* In-Reply-To: <19614813350.20041028121831@cactus.dk> Message-ID: <20041028200235.33860.qmail@web61108.mail.yahoo.com> Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. From rl_stewart at highstream.net Thu Oct 28 15:22:21 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 28 Oct 2004 15:22:21 -0500 Subject: [AccessD] Re: Access with a MySQL database In-Reply-To: <200410280955.i9S9tsL27348@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041028151929.049a6780@pop3.highstream.net> Barb, That is what I figured. The only thing you need to watch out for when creating recordsets in code is in the db.openrecordset. On the end of it, you need to add dbseechanges. If you will change the queries to views as you can, you will also get better performance. But, essentially, you can almost do nothing to the front-end and make the change over to SQL Server. Robert At 04:55 AM 10/28/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 14:49:10 -0400 >From: "Barbara Ryan" >Subject: Re: [AccessD] Re: Access with a MySQL database >To: "Access Developers discussion and problem solving" > >Message-ID: <002101c4bc55$a5ac6fc0$0a00a8c0 at cx470148a> >Content-Type: text/plain; charset="iso-8859-1" > >That's good news (regarding Microsoft SQL) --- they currently are using >Access 97, but are converting to XP in the near future, so looks like >they'll have it. I don't think that they will have more than 10 users. > >Barb > > >----- Original Message ----- >From: "Robert L. Stewart" >To: >Cc: >Sent: Wednesday, October 27, 2004 2:20 PM >Subject: [AccessD] Re: Access with a MySQL database > > > > If they have Office 2000 or higher, they have SQL Server in the MSDE. > > It is good for up to 10 concurrent users. > > > > My SQL does not support stored procedures, views, or referential > > integrity. SQL Server, even the MSDE, does. > > > > Robert From accessd at shaw.ca Thu Oct 28 16:39:04 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 28 Oct 2004 14:39:04 -0700 Subject: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* In-Reply-To: <20041028200235.33860.qmail@web61108.mail.yahoo.com> Message-ID: Hi Sanders: That is great and the solution was very creative. A code sample would be in order... Excellent solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 01:49:51 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 08:49:51 +0200 Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? *SOLVED* In-Reply-To: <20041028200235.33860.qmail@web61108.mail.yahoo.com> References: <20041028200235.33860.qmail@web61108.mail.yahoo.com> Message-ID: <1711731299.20041029084951@cactus.dk> Hi Sander Nice! However, if it adds 11 seconds to read a 250K file off the network compared to read it from local disk, it is not a "slow Novell network" just a slow network where something represents a bottleneck which needs an upgrade. /gustav > Jim, Gustav, > thnx for the replies. > However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. > Load the file (wich I first copied to the desktop) in an array; > then I opened 3 rsts > Then I loop-ed through the file until the UBOUND(array) was found > did a addnew + update after each found 'tag' > exited the loop, > closed the rsts > and voila! Remember the 25 hours.....how about 3 seconds!!! > Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) > The problem was that the 'programmer' that designed and build the app did the following: > While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... > Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. > Sander From accessd667 at yahoo.com Fri Oct 29 02:21:07 2004 From: accessd667 at yahoo.com (S D) Date: Fri, 29 Oct 2004 00:21:07 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* In-Reply-To: Message-ID: <20041029072107.87715.qmail@web61101.mail.yahoo.com> Here ya go (BTW I did NOT invent this naming convention!!!!!!!! FS used to be an object as was 'a', astrLineContents used to be strLineContents, etc.) If you need more info => ask! Dim FS As FileSystemObject Dim a As TextStream Dim strBuff As String Dim astrLineContents() As String Set a = FS.OpenTextFile(strFileName) strBuff = a.ReadAll a.Close astrLineContents = Split(strBuff, Chr(10)) lngMessageNumber = Val(Mid(astrLineContents(2), 21, 9)) strDateConversion = Mid(astrLineContents(3), 5, 8) IntArrayCounter = UBound(astrLineContents) + 1 Set db = CurrentDb() Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) For intJ = 0 To UBound(astrLineContents) strLineStart = Left(astrLineContents(intJ), 7) Select Case strLineStart Case "#MEDTD1" 'Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) recD1.AddNew recD1.Update 'recD1.Close DoEvents Case "#MEDTD2" 'Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) recD2.AddNew recD2.Update 'recD2.Close DoEvents Case "#MEDTD3" 'Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) recD3.AddNew recD3.Update 'recS1.Close DoEvents End Select Next intJ recD1.Close recD2.Close recD3.Close "Jim Lawrence (AccessD)" wrote: Hi Sanders: That is great and the solution was very creative. A code sample would be in order... Excellent solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From accessd667 at yahoo.com Fri Oct 29 02:23:02 2004 From: accessd667 at yahoo.com (S D) Date: Fri, 29 Oct 2004 00:23:02 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? *SOLVED* In-Reply-To: <1711731299.20041029084951@cactus.dk> Message-ID: <20041029072302.85990.qmail@web61106.mail.yahoo.com> I didn't mean to say that Novell has slow networks but this one is! "a bottleneck"?? We've got several crates full of bottlenecks :-) Gustav Brock wrote: Hi Sander Nice! However, if it adds 11 seconds to read a 250K file off the network compared to read it from local disk, it is not a "slow Novell network" just a slow network where something represents a bottleneck which needs an upgrade. /gustav > Jim, Gustav, > thnx for the replies. > However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. > Load the file (wich I first copied to the desktop) in an array; > then I opened 3 rsts > Then I loop-ed through the file until the UBOUND(array) was found > did a addnew + update after each found 'tag' > exited the loop, > closed the rsts > and voila! Remember the 25 hours.....how about 3 seconds!!! > Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) > The problem was that the 'programmer' that designed and build the app did the following: > While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... > Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From paul.hartland at isharp.co.uk Fri Oct 29 02:33:45 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 08:33:45 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel Message-ID: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> To all, I have the following code in a database: Dim objExcel As Excel.Application Dim objWB As Excel.Workbook Dim strSaveAs As String Set objExcel = New Excel.Application Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a path provided by the user strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" objWB.SaveAs strSaveAs objWB.Close Set objWB = Nothing objExcel.Quit Set objExcel = Nothing This should be so simple but I get the following error message on the objExcel.Workbooks.OpenText line: Expected Function or Variable Can anyone help on this...... Thanks in advance for any help. PAUL HARTLAND Database Designer/Programmer paul.hartland at isharp.co.uk ISHARP DDI - 01922 472031 Mobile - 07730 523179 ISHARP (Information Services for Hospitality, Audit, Retail and Pharmacy) provide IT resources for the Christie Group Stock & Inventory Services companies. From gustav at cactus.dk Fri Oct 29 03:42:14 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 10:42:14 +0200 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> References: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> Message-ID: <1228474155.20041029104214@cactus.dk> Hi Paul Try with Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) /gustav > I have the following code in a database: > Dim objExcel As Excel.Application > Dim objWB As Excel.Workbook > Dim strSaveAs As String > Set objExcel = New Excel.Application > Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a > path provided by the user > strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > objWB.SaveAs strSaveAs > objWB.Close > Set objWB = Nothing > objExcel.Quit > Set objExcel = Nothing > This should be so simple but I get the following error message on the > objExcel.Workbooks.OpenText line: > Expected Function or Variable From paul.hartland at isharp.co.uk Fri Oct 29 05:28:29 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 11:28:29 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C4689365500C3@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C46893655228E@primary.orridge.co.uk> Gustav, Tried the line you sent and got the following error message now: Method 'Open' of object 'Workbooks' failed Any ideas ? Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 29 October 2004 09:42 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel Hi Paul Try with Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) /gustav > I have the following code in a database: > Dim objExcel As Excel.Application > Dim objWB As Excel.Workbook > Dim strSaveAs As String > Set objExcel = New Excel.Application > Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a > path provided by the user > strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > objWB.SaveAs strSaveAs > objWB.Close > Set objWB = Nothing > objExcel.Quit > Set objExcel = Nothing > This should be so simple but I get the following error message on the > objExcel.Workbooks.OpenText line: > Expected Function or Variable -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 07:38:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 14:38:01 +0200 Subject: [AccessD] FTP command line, passive mode Message-ID: <17922621718.20041029143801@cactus.dk> Hi all A client has an app which uses a lot of calls of the standard Windows FTP command line utility with script files. However, the client now need it to run in passive mode which the Windows FTP thing can not. I can rewrite the app using 3D-FTP but that will be a lot of work - so I wonder if anyone is aware of a direct replacement which can understand the script files you can pass to Windows FTP? /gustav From gustav at cactus.dk Fri Oct 29 07:50:40 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 14:50:40 +0200 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893655228E@primary.orridge.co.uk> References: <668C5C868606C641857281147C46893655228E@primary.orridge.co.uk> Message-ID: <1823381100.20041029145040@cactus.dk> Hi Paul This works all the time for me. Something else must be going on at your side. Are you sure the filename is stated correctly? Put in Debug.Print strLoc and read. /gustav > Gustav, > Tried the line you sent and got the following error message now: > Method 'Open' of object 'Workbooks' failed > Any ideas ? > Paul > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 29 October 2004 09:42 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel > Hi Paul > Try with > Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) > /gustav >> I have the following code in a database: >> Dim objExcel As Excel.Application >> Dim objWB As Excel.Workbook >> Dim strSaveAs As String >> Set objExcel = New Excel.Application >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a >> path provided by the user >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" >> objWB.SaveAs strSaveAs >> objWB.Close >> Set objWB = Nothing >> objExcel.Quit >> Set objExcel = Nothing >> This should be so simple but I get the following error message on the >> objExcel.Workbooks.OpenText line: >> Expected Function or Variable From accessd at shaw.ca Fri Oct 29 08:01:29 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 29 Oct 2004 06:01:29 -0700 Subject: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* In-Reply-To: <20041029072107.87715.qmail@web61101.mail.yahoo.com> Message-ID: Thnks Sander...Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Friday, October 29, 2004 12:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Here ya go (BTW I did NOT invent this naming convention!!!!!!!! FS used to be an object as was 'a', astrLineContents used to be strLineContents, etc.) If you need more info => ask! Dim FS As FileSystemObject Dim a As TextStream Dim strBuff As String Dim astrLineContents() As String Set a = FS.OpenTextFile(strFileName) strBuff = a.ReadAll a.Close astrLineContents = Split(strBuff, Chr(10)) lngMessageNumber = Val(Mid(astrLineContents(2), 21, 9)) strDateConversion = Mid(astrLineContents(3), 5, 8) IntArrayCounter = UBound(astrLineContents) + 1 Set db = CurrentDb() Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) For intJ = 0 To UBound(astrLineContents) strLineStart = Left(astrLineContents(intJ), 7) Select Case strLineStart Case "#MEDTD1" 'Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) recD1.AddNew recD1.Update 'recD1.Close DoEvents Case "#MEDTD2" 'Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) recD2.AddNew recD2.Update 'recD2.Close DoEvents Case "#MEDTD3" 'Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) recD3.AddNew recD3.Update 'recS1.Close DoEvents End Select Next intJ recD1.Close recD2.Close recD3.Close "Jim Lawrence (AccessD)" wrote: Hi Sanders: That is great and the solution was very creative. A code sample would be in order... Excellent solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Fri Oct 29 08:15:11 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 14:15:11 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C468936550110@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C468936552296@primary.orridge.co.uk> Yeah the path is returned as follows C:\PNProject\Critpath_Fin.csv Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 29 October 2004 13:51 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel Hi Paul This works all the time for me. Something else must be going on at your side. Are you sure the filename is stated correctly? Put in Debug.Print strLoc and read. /gustav > Gustav, > Tried the line you sent and got the following error message now: > Method 'Open' of object 'Workbooks' failed > Any ideas ? > Paul > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: 29 October 2004 09:42 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel > Hi Paul > Try with > Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) > /gustav >> I have the following code in a database: >> Dim objExcel As Excel.Application >> Dim objWB As Excel.Workbook >> Dim strSaveAs As String >> Set objExcel = New Excel.Application >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a >> path provided by the user >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" >> objWB.SaveAs strSaveAs >> objWB.Close >> Set objWB = Nothing >> objExcel.Quit >> Set objExcel = Nothing >> This should be so simple but I get the following error message on the >> objExcel.Workbooks.OpenText line: >> Expected Function or Variable -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 29 08:31:55 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 09:31:55 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C468936552296@primary.orridge.co.uk> References: <668C5C868606C641857281147C468936550110@primary.orridge.co.uk> <668C5C868606C641857281147C468936552296@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 14:15:11 +0100, Paul Hartland (ISHARP) wrote: > Yeah the path is returned as follows > > C:\PNProject\Critpath_Fin.csv Have you set a reference to the Excel Object? -- 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 paul.hartland at isharp.co.uk Fri Oct 29 08:49:58 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 14:49:58 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893655013F@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C46893655229F@primary.orridge.co.uk> Yes see original code sent below: >> I have the following code in a database: >> Dim objExcel As Excel.Application >> Dim objWB As Excel.Workbook >> Dim strSaveAs As String >> Set objExcel = New Excel.Application >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a >> path provided by the user >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" >> objWB.SaveAs strSaveAs >> objWB.Close >> Set objWB = Nothing >> objExcel.Quit >> Set objExcel = Nothing Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: 29 October 2004 14:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel On Fri, 29 Oct 2004 14:15:11 +0100, Paul Hartland (ISHARP) wrote: > Yeah the path is returned as follows > > C:\PNProject\Critpath_Fin.csv Have you set a reference to the Excel Object? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 29 08:47:43 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 29 Oct 2004 09:47:43 -0400 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <17922621718.20041029143801@cactus.dk> Message-ID: <000601c4bdbd$ddea6090$0200a8c0@COA3> What does "passive mode" mean in this context? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 29, 2004 8:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] FTP command line, passive mode Hi all A client has an app which uses a lot of calls of the standard Windows FTP command line utility with script files. However, the client now need it to run in passive mode which the Windows FTP thing can not. I can rewrite the app using 3D-FTP but that will be a lot of work - so I wonder if anyone is aware of a direct replacement which can understand the script files you can pass to Windows FTP? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 29 09:17:14 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 10:17:14 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893655229F@primary.orridge.co.uk> References: <668C5C868606C641857281147C46893655013F@primary.orridge.co.uk> <668C5C868606C641857281147C46893655229F@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 14:49:58 +0100, Paul Hartland (ISHARP) wrote: > Yes see original code sent below: > >> I have the following code in a database: > > >> Dim objExcel As Excel.Application > >> Dim objWB As Excel.Workbook > >> Dim strSaveAs As String > > >> Set objExcel = New Excel.Application > >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is > a > >> path provided by the user > > >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > > >> objWB.SaveAs strSaveAs > > >> objWB.Close > >> Set objWB = Nothing > >> objExcel.Quit > >> Set objExcel = Nothing I meant from the VBE Tools| References and then select Microsoft Excel x.0 Object Library not dimming a variable. -- 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 paul.hartland at isharp.co.uk Fri Oct 29 09:33:06 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 15:33:06 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C468936550162@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> Bryan, Yes it's pointing to the Excel 8.0 object library, using Access 97. The CSV file by the way has Unix end of line characters if that makes a difference... Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: 29 October 2004 15:17 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel On Fri, 29 Oct 2004 14:49:58 +0100, Paul Hartland (ISHARP) wrote: > Yes see original code sent below: > >> I have the following code in a database: > > >> Dim objExcel As Excel.Application > >> Dim objWB As Excel.Workbook > >> Dim strSaveAs As String > > >> Set objExcel = New Excel.Application > >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is > a > >> path provided by the user > > >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > > >> objWB.SaveAs strSaveAs > > >> objWB.Close > >> Set objWB = Nothing > >> objExcel.Quit > >> Set objExcel = Nothing I meant from the VBE Tools| References and then select Microsoft Excel x.0 Object Library not dimming a variable. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Fri Oct 29 09:46:45 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 29 Oct 2004 10:46:45 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059F63@mercury.tnco-inc.com> Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From carbonnb at gmail.com Fri Oct 29 09:46:53 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 10:46:53 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> References: <668C5C868606C641857281147C468936550162@primary.orridge.co.uk> <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 15:33:06 +0100, Paul Hartland (ISHARP) wrote: > Bryan, > > Yes it's pointing to the Excel 8.0 object library, using Access 97. The CSV > file by the way has Unix end of line characters if that makes a > difference... Nope it shouldn't. I just figured out what the problem may be: The line: Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a path provided by the user should be: objExcel.Workbooks.OpenText strLoc OpenText requires the Workbooks object. You were trying to set a workbook (no s) object as the result of the OpenText. If you need a reference to the workbook object that gets opened, you can use this line: Set objWB = objExcel.Workbooks.Open(strLoc) Hope this make sense. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Fri Oct 29 09:47:41 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 10:47:41 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: References: <668C5C868606C641857281147C468936550162@primary.orridge.co.uk> <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 10:46:53 -0400, Bryan Carbonnell wrote: > On Fri, 29 Oct 2004 15:33:06 +0100, Paul Hartland (ISHARP) > wrote: > > Bryan, > > > > Yes it's pointing to the Excel 8.0 object library, using Access 97. The CSV > > file by the way has Unix end of line characters if that makes a > > difference... > > Nope it shouldn't. > > I just figured out what the problem may be: > > The line: > Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a > path provided by the user > > should be: > objExcel.Workbooks.OpenText strLoc > > OpenText requires the Workbooks object. > > You were trying to set a workbook (no s) object as the result of the OpenText. > > If you need a reference to the workbook object that gets opened, you > can use this line: > Set objWB = objExcel.Workbooks.Open(strLoc) > > Hope this make sense. Forgot to add, Unix LF don't make a difference. -- 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 joeget at vgernet.net Fri Oct 29 09:54:05 2004 From: joeget at vgernet.net (John Eget) Date: Fri, 29 Oct 2004 10:54:05 -0400 Subject: [AccessD] access security Message-ID: <00ef01c4bdc7$26daedc0$45c2f63f@Desktop> I am trying to fix a security issue at my site. My managers like to edit or delete records that they think are inappropriate in a product audit database and usually fail to inform anyone of this. I have locked them out of the backend access by the front end with the directory properties of windows for the back end. But this also does not allow them to enter records either. But I would also like to take one step further and not allow individuals that are entering records into the database from either deleting or editing other individual records. Can anyone share with me how they may have done this in the past? Thanks in advance John From cfoust at infostatsystems.com Fri Oct 29 10:19:44 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Oct 2004 08:19:44 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 bchacc at san.rr.com Fri Oct 29 10:32:39 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 08:32:39 -0700 Subject: [AccessD] Shortcuts Working without Alt Key Message-ID: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> Dear List: Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From tdd-inc at shaw.ca Fri Oct 29 10:32:50 2004 From: tdd-inc at shaw.ca (Technical Designs) Date: Fri, 29 Oct 2004 08:32:50 -0700 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> Message-ID: <005501c4bdcc$8fda6850$7801a8c0@cadcam> Paul, In your line... strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" shouldn't the left ( be equal to the right ) Phil -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: Friday, October 29, 2004 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Open CSV file using Excel object and save as Excel To all, I have the following code in a database: Dim objExcel As Excel.Application Dim objWB As Excel.Workbook Dim strSaveAs As String Set objExcel = New Excel.Application Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a path provided by the user strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" objWB.SaveAs strSaveAs objWB.Close Set objWB = Nothing objExcel.Quit Set objExcel = Nothing This should be so simple but I get the following error message on the objExcel.Workbooks.OpenText line: Expected Function or Variable Can anyone help on this...... Thanks in advance for any help. PAUL HARTLAND Database Designer/Programmer paul.hartland at isharp.co.uk ISHARP DDI - 01922 472031 Mobile - 07730 523179 ISHARP (Information Services for Hospitality, Audit, Retail and Pharmacy) provide IT resources for the Christie Group Stock & Inventory Services companies. From mikedorism at adelphia.net Fri Oct 29 10:36:16 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 11:36:16 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059F63@mercury.tnco-inc.com> Message-ID: <000201c4bdcd$07f4de10$060aa845@hargrove.internal> Try the code below... Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com ************************************ Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim objSave as Object Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) ' Create the Redemption object Set objSafe = CreateObject("Redemption.SafeTaskItem") objSafe.Item = objOutlookTsk With objSafe ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) .Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objSafe = nothing Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function From mikedorism at adelphia.net Fri Oct 29 10:37:56 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 11:37:56 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. In-Reply-To: Message-ID: <000301c4bdcd$43625680$060aa845@hargrove.internal> Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 Lambert.Heenan at AIG.com Fri Oct 29 10:32:08 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 29 Oct 2004 11:32:08 -0400 Subject: [AccessD] access security Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471AB31@xlivmbx21.aig.com> They can't enter records because you've taken away their write permissions to the back-end folder - so it looks read-only to them. The best solution is to use the built in Access security. While it's not immune to cracking, it will keep busy people who don't have time for hacking at bay. Alternatively, just ensure that the users NEVER get to see the database window and so get direct access to tables and queries where they can delete things. In your forms you can control what actions take place quite easily. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget > Sent: Friday, October 29, 2004 10:54 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] access security > > I am trying to fix a security issue at my site. My managers like to edit > or delete records that they think are inappropriate in a product audit > database and usually fail to inform anyone of this. I have locked them out > of the backend access by the front end with the directory properties of > windows for the back end. But this also does not allow them to enter > records either. But I would also like to take one step further and not > allow individuals that are entering records into the database from either > deleting or editing other individual records. Can anyone share with me how > they may have done this in the past? > Thanks in advance > John > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 29 11:16:47 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Oct 2004 09:16:47 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Message-ID: I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 JRojas at tnco-inc.com Fri Oct 29 11:44:22 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 29 Oct 2004 12:44:22 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059F67@mercury.tnco-inc.com> Thanks for the help so far! To Charlotte: I am using the unlicensed version until I can get my code to work. I am only using it right now for testing. If I can get it to do what I need it to do, I will purchase it right away! To M&D: Thanks for the code. I tried it out and it works as planned. The only issue that I have is that the recipient cannot open the item. This is the problem that I had run into before I posted to the AccessD list. When the recipient tries to open the task request they get an error message of "Can't open this item. The property does not exist. The field you want to modify is not valid for this type of item." Any idea what is going on? TIA again! JR -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From JRojas at tnco-inc.com Fri Oct 29 11:45:00 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 29 Oct 2004 12:45:00 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059F68@mercury.tnco-inc.com> I am using the code the M&D Manning provided for me. JR -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlook task. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From mikedorism at adelphia.net Fri Oct 29 11:48:57 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 12:48:57 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. In-Reply-To: Message-ID: <000601c4bdd7$2f08f130$060aa845@hargrove.internal> Totally understood. We are an all Microsoft shop so it is a little easier for us to make that assumption. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 pharold at proftesting.com Fri Oct 29 11:42:40 2004 From: pharold at proftesting.com (Perry Harold) Date: Fri, 29 Oct 2004 12:42:40 -0400 Subject: [AccessD] Shortcuts Working without Alt Key In-Reply-To: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> Message-ID: <000301c4bdd6$4fad8780$082da8c0@D58BT131> Stuck Key? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, October 29, 2004 11:33 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Shortcuts Working without Alt Key Dear List: Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Oct 29 11:58:55 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 29 Oct 2004 09:58:55 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> Message-ID: <418276CF.1070701@shaw.ca> Could be orange juice in the keyboard, or maybe one of disabled accessibilty options has been turned. in Access press the shift button rapidly for 5 seconds. This will allow you to set "sticky" keys. If it has been turned on previously check settings tab when window pops ups up in response to pressing shift rapidly. Rocky Smolin - Beach Access Software wrote: >Dear List: > >Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. > >MTIA > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Fri Oct 29 12:01:50 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 29 Oct 2004 12:01:50 -0500 Subject: [AccessD] Shortcuts Working without Alt Key Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371DA@corp-es01.fleetpride.com> Scroll lock on? -----Original Message----- From: Perry Harold [mailto:pharold at proftesting.com] Sent: Friday, October 29, 2004 11:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shortcuts Working without Alt Key Stuck Key? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, October 29, 2004 11:33 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Shortcuts Working without Alt Key Dear List: Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 29 12:07:20 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Oct 2004 10:07:20 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Message-ID: Out clients are all over the world and many rig-site users aren't particularly computer literate, so they may have Outlook Express, Outlook, or something else entirely, and they may not even know which! We can't take chances. Charlotte Foust -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 9:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Totally understood. We are an all Microsoft shop so it is a little easier for us to make that assumption. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 bchacc at san.rr.com Fri Oct 29 12:20:11 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 10:20:11 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <000301c4bdd6$4fad8780$082da8c0@D58BT131> Message-ID: <01cb01c4bddb$8c327120$6701a8c0@HAL9002> No. It's the same on three different boxes. Now, there's a possibility I'm getting senile or losing my beans here. I use the underscore on all main menu command buttons so that the user doesn't have to use the mouse. Now I've ALWAYS thought that to use those underscores you had to use the Alt key simultaneously with the underscored character. So maybe I've never tried it without the Alt key. Now someone just told me that it always worked that way - no alt key required. So how do are those underscore shortcuts SUPPOSED to work? Rocky ----- Original Message ----- From: "Perry Harold" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 29, 2004 9:42 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > Stuck Key? > > Perry Harold > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, October 29, 2004 11:33 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Shortcuts Working without Alt Key > > > Dear List: > > Suddenly, the shortcuts on my forms (the underlined characters) are > working > without pressing the ALT key. This is no good! Does anyone know how this > could happen? It happens on all mdb files. > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Oct 29 12:29:55 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 10:29:55 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> <418276CF.1070701@shaw.ca> Message-ID: <01d501c4bddc$e7fd79e0$6701a8c0@HAL9002> Wow. A new feature. Never saw that before. But it didn't seem to have any effect on the menus. For example, my exit button has the word Exit with the x underscored. So when I press X the onClick event is triggered and the app closes. I always thought I needed to press Alt-X to get that to work. No? TIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, October 29, 2004 9:58 AM Subject: Re: [AccessD] Shortcuts Working without Alt Key > Could be orange juice in the keyboard, or maybe one of disabled > accessibilty options has been turned. > in Access press the shift button rapidly for 5 seconds. This will allow > you to set "sticky" keys. If it has > been turned on previously check settings tab when window pops ups up in > response to pressing shift rapidly. > > Rocky Smolin - Beach Access Software wrote: > >>Dear List: >> >>Suddenly, the shortcuts on my forms (the underlined characters) are >>working without pressing the ALT key. This is no good! Does anyone know >>how this could happen? It happens on all mdb files. >>MTIA >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Oct 29 12:30:14 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 10:30:14 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <6A6AA9DF57E4F046BDA1E273BDDB67723371DA@corp-es01.fleetpride.com> Message-ID: <01e001c4bddc$f3be5b50$6701a8c0@HAL9002> No. Rocky ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 29, 2004 10:01 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > Scroll lock on? > > -----Original Message----- > From: Perry Harold [mailto:pharold at proftesting.com] > Sent: Friday, October 29, 2004 11:43 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > > Stuck Key? > > Perry Harold > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, October 29, 2004 11:33 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Shortcuts Working without Alt Key > > > Dear List: > > Suddenly, the shortcuts on my forms (the underlined characters) are > working > without pressing the ALT key. This is no good! Does anyone know how this > could happen? It happens on all mdb files. > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > 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 cyx5 at cdc.gov Fri Oct 29 12:35:20 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 29 Oct 2004 13:35:20 -0400 Subject: [AccessD] Shortcuts Working without Alt Key Message-ID: If the form that you are using does not have any data fields on it, then you can use the straight out press of the letter. If there is data fields on the form, the alt-key combo does it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, October 29, 2004 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Shortcuts Working without Alt Key No. It's the same on three different boxes. Now, there's a possibility I'm getting senile or losing my beans here. I use the underscore on all main menu command buttons so that the user doesn't have to use the mouse. Now I've ALWAYS thought that to use those underscores you had to use the Alt key simultaneously with the underscored character. So maybe I've never tried it without the Alt key. Now someone just told me that it always worked that way - no alt key required. So how do are those underscore shortcuts SUPPOSED to work? Rocky ----- Original Message ----- From: "Perry Harold" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 29, 2004 9:42 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > Stuck Key? > > Perry Harold > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, October 29, 2004 11:33 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Shortcuts Working without Alt Key > > > Dear List: > > Suddenly, the shortcuts on my forms (the underlined characters) are > working > without pressing the ALT key. This is no good! Does anyone know how this > could happen? It happens on all mdb files. > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Fri Oct 29 12:44:58 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 13:44:58 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059F67@mercury.tnco-inc.com> Message-ID: <000d01c4bddf$0254b900$060aa845@hargrove.internal> I would contact Dmitri for help. It might be a problem with the object model that he hasn't run across or a bug within Redemption itself. Mike and Doris Manning mikedorism at adelphia.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Friday, October 29, 2004 12:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Thanks for the help so far! To Charlotte: I am using the unlicensed version until I can get my code to work. I am only using it right now for testing. If I can get it to do what I need it to do, I will purchase it right away! To M&D: Thanks for the code. I tried it out and it works as planned. The only issue that I have is that the recipient cannot open the item. This is the problem that I had run into before I posted to the AccessD list. When the recipient tries to open the task request they get an error message of "Can't open this item. The property does not exist. The field you want to modify is not valid for this type of item." Any idea what is going on? TIA again! JR -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 Susan.Klos at fldoe.org Fri Oct 29 13:06:02 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 29 Oct 2004 14:06:02 -0400 Subject: [AccessD] unbound report? Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE73935@doesefpeml02.eus.fldoe.int> I think I am going to need an unbound report for this part of my application. I have several crosstab queries. Each is based on two joined tables and gives a summary of the number of clients per month who used various available services. i.e. how many clients per month ate breakfast, lunch, and dinner. How many stayed in the motel facility. How many stayed in the cabins. How many used the RV/Tent camping facility. Etc. My problem is that when I go to create a report there might be no clients using one or more of these facilities during any given month. How do I create a report that will show the usage as 0 during a month where the query that I want to fill the report has no February, March, or April fields because no guests camped during those months? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From Jim.Hale at FleetPride.com Fri Oct 29 13:42:36 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 29 Oct 2004 13:42:36 -0500 Subject: [AccessD] unbound report? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371DC@corp-es01.fleetpride.com> Check out p 157 of Getz's ADH. He suggests using the IN clause. EX: PIVOT column-headings-field [IN(value1[,value2[,...etc]])] Jim Hale -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, October 29, 2004 1:06 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] unbound report? I think I am going to need an unbound report for this part of my application. I have several crosstab queries. Each is based on two joined tables and gives a summary of the number of clients per month who used various available services. i.e. how many clients per month ate breakfast, lunch, and dinner. How many stayed in the motel facility. How many stayed in the cabins. How many used the RV/Tent camping facility. Etc. My problem is that when I go to create a report there might be no clients using one or more of these facilities during any given month. How do I create a report that will show the usage as 0 during a month where the query that I want to fill the report has no February, March, or April fields because no guests camped during those months? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ 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 stephen at bondsoftware.co.nz Fri Oct 29 13:42:51 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 30 Oct 2004 07:42:51 +1300 Subject: [AccessD] unbound report? Message-ID: <70F3D727890C784291D8433E9C418F298FD8@server.bondsoftware.co.nz> In the crosstab query Properties, look at Column Headings. The A2K help says 'use this property to specify the order or to limit the number of columns displayed', but you can use it to force an otherwise empty column to display as well. Stephen Bond > -----Original Message----- > From: Klos, Susan [mailto:Susan.Klos at fldoe.org] > Sent: Saturday, 30 October 2004 7:06 a.m. > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] unbound report? > > > I think I am going to need an unbound report for this part of my > application. I have several crosstab queries. Each is based > on two joined > tables and gives a summary of the number of clients per month who used > various available services. i.e. how many clients per month > ate breakfast, > lunch, and dinner. How many stayed in the motel facility. > How many stayed > in the cabins. How many used the RV/Tent camping facility. Etc. My > problem is that when I go to create a report there might be > no clients using > one or more of these facilities during any given month. How > do I create a > report that will show the usage as 0 during a month where the > query that I > want to fill the report has no February, March, or April > fields because no > guests camped during those months? > > > > Susan Klos > > Senior Database Analyst > > Evaluation and Reporting > > Florida Department of Education > > 850-245-0708 > > sc 205-0708 > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Oct 29 13:59:42 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 11:59:42 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: Message-ID: <02b201c4bde9$73201ad0$6701a8c0@HAL9002> WHO KNEW???!!!! I feel like such a newbie sometimes. Thanks for the heads up, Karen. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Friday, October 29, 2004 10:35 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > If the form that you are using does not have any data fields on it, then > you can use the straight out press of the letter. If there is data > fields on the form, the alt-key combo does it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, October 29, 2004 1:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Shortcuts Working without Alt Key > > > No. It's the same on three different boxes. > > Now, there's a possibility I'm getting senile or losing my beans here. > I > use the underscore on all main menu command buttons so that the user > doesn't > have to use the mouse. > > Now I've ALWAYS thought that to use those underscores you had to use the > Alt > key simultaneously with the underscored character. So maybe I've never > tried it without the Alt key. > > Now someone just told me that it always worked that way - no alt key > required. > > So how do are those underscore shortcuts SUPPOSED to work? > > Rocky > > ----- Original Message ----- > From: "Perry Harold" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 29, 2004 9:42 AM > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > >> Stuck Key? >> >> Perry Harold >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - >> Beach Access Software >> Sent: Friday, October 29, 2004 11:33 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] Shortcuts Working without Alt Key >> >> >> Dear List: >> >> Suddenly, the shortcuts on my forms (the underlined characters) are >> working >> without pressing the ALT key. This is no good! Does anyone know how > this >> could happen? It happens on all mdb files. >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Oct 29 17:38:38 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 30 Oct 2004 08:38:38 +1000 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <000601c4bdbd$ddea6090$0200a8c0@COA3> References: <17922621718.20041029143801@cactus.dk> Message-ID: <4183530E.22988.39D653E@lexacorp.com.pg> On 29 Oct 2004 at 9:47, Steve Conklin (Developer at Ultr wrote: > What does "passive mode" mean in this context? > See RFC 959: The data transfer process, in its normal "active" state, establishes the data connection with the "listening" data port. It sets up parameters for transfer and storage, and transfers data on command from its PI. The DTP can be placed in a "passive" state to listen for, rather than initiate a connection on the data port. ----8<----- PASSIVE (PASV) This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command. The response to this command includes the host and port address this server is listening on. -- Stuart From dw-murphy at cox.net Fri Oct 29 18:07:29 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 29 Oct 2004 16:07:29 -0700 Subject: [AccessD] Message on deleting records In-Reply-To: <02b201c4bde9$73201ad0$6701a8c0@HAL9002> Message-ID: <000001c4be0c$138d9f70$8500a8c0@murphyf3vdfepi> Hi Folks, I have a data entry form with a subform on it. On new record entry a cancel button is visible so if the user decides to not complete the entry of the new record they can cancel out of it. Since several fields on the form are auto filled and the user may have, entered data, moved onto the subform or whatever, when they hit cancel I run a delete query for the record on the subform and one for the record on the main form using their primary keys. They queries are of the form; "Delete * From tablewhatever where fldID = recordIDFromForm" All this works great except that when the form closes and the queries have run I get an Access message saying "You can not add or change a record because a related record is required in tblLot". The delete queries run and delete their respective records with no problem, but I don't know why I am getting this message. The queries run in the order of child record, parent record. Any thoughts on how to get rid of this message would be appreciated. I have turned warnings off before running the delete queries. Doug From dw-murphy at cox.net Fri Oct 29 18:40:00 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 29 Oct 2004 16:40:00 -0700 Subject: [AccessD] Message on deleting records In-Reply-To: <000001c4be0c$138d9f70$8500a8c0@murphyf3vdfepi> Message-ID: <000001c4be10$a370f660$8500a8c0@murphyf3vdfepi> Cancel the request! This apparently is one of those which closes first things, the form or subform. The delete code is run in the main form and the subform is apparently still open when it is run. I can trap the error in the subform and prevent the message. Sorry for the wasted bandwidth. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Friday, October 29, 2004 4:07 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Message on deleting records Hi Folks, I have a data entry form with a subform on it. On new record entry a cancel button is visible so if the user decides to not complete the entry of the new record they can cancel out of it. Since several fields on the form are auto filled and the user may have, entered data, moved onto the subform or whatever, when they hit cancel I run a delete query for the record on the subform and one for the record on the main form using their primary keys. They queries are of the form; "Delete * From tablewhatever where fldID = recordIDFromForm" All this works great except that when the form closes and the queries have run I get an Access message saying "You can not add or change a record because a related record is required in tblLot". The delete queries run and delete their respective records with no problem, but I don't know why I am getting this message. The queries run in the order of child record, parent record. Any thoughts on how to get rid of this message would be appreciated. I have turned warnings off before running the delete queries. Doug -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 29 19:28:50 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 29 Oct 2004 20:28:50 -0400 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <4183530E.22988.39D653E@lexacorp.com.pg> Message-ID: <003701c4be17$6e27bdc0$0200a8c0@COA3> Thanks, Stuart. I have only used FTP command line to login/upload/download, so I don't know all of its intricacies. But according to what I read further on RFC 959, wouldn't an "Active" session need to be initiated first, then, to issue the PASV command? ... I ask this in pursuit of the answer to the original question (which wasn't mine, but an interesting topic!) Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, October 29, 2004 6:39 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] FTP command line, passive mode On 29 Oct 2004 at 9:47, Steve Conklin (Developer at Ultr wrote: > What does "passive mode" mean in this context? > See RFC 959: The data transfer process, in its normal "active" state, establishes the data connection with the "listening" data port. It sets up parameters for transfer and storage, and transfers data on command from its PI. The DTP can be placed in a "passive" state to listen for, rather than initiate a connection on the data port. ----8<----- PASSIVE (PASV) This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command. The response to this command includes the host and port address this server is listening on. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Oct 29 20:31:44 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 30 Oct 2004 11:31:44 +1000 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <003701c4be17$6e27bdc0$0200a8c0@COA3> References: <4183530E.22988.39D653E@lexacorp.com.pg> Message-ID: <41837BA0.13814.43BDF5F@lexacorp.com.pg> On 29 Oct 2004 at 20:28, Steve Conklin (Developer at Ultr wrote: > Thanks, Stuart. > I have only used FTP command line to login/upload/download, so I don't > know all of its intricacies. But according to what I read further on > RFC 959, wouldn't an "Active" session need to be initiated first, then, > to issue the PASV command? ... I ask this in pursuit of the answer to > the original question (which wasn't mine, but an interesting topic!) > There are two connections involved in a FTP session, control and data. A control connection is established first on the standard control port and then a data connection is established. The active/passive differentiation is in the way the port for the data connection is selected. In an active session, the client connecting to the server specifies what port is to be used for the data connection (either the default or a user specified port using the PORT command). Using PASV to establish the data connection tells the FTP Server to pick an available port and tell you to listen on it. This is necessary when you are talking to a busy FTP server with lots of simulatneous connections - only the server knows what ports it has available at the time. -- Stuart From martyconnelly at shaw.ca Fri Oct 29 23:04:28 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 29 Oct 2004 21:04:28 -0700 Subject: [AccessD] FTP command line, passive mode References: <000601c4bdbd$ddea6090$0200a8c0@COA3> Message-ID: <418312CC.3030209@shaw.ca> How about using a watched folder or directory, when a file is added to a folder then do something Creating a Watched Folder with FindChangeNotification API http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm I didn't realize you could ftp download with a couple of lines of code. Someone was looking for this, you could stick this in html via vbscript or javascript The popup window allows you to specify where to place the file. Private Declare Function DoFileDownload Lib "shdocvw" _ (ByVal lpszFile As String) As Long Sub ftptestrun() Dim sDownload As String sDownload = StrConv("http://www5.brinkster.com/mconnelly/GenericDB/suppliers.csv", vbUnicode) Call DoFileDownload(sDownload) End Sub Steve Conklin (Developer at UltraDNT) wrote: >What does "passive mode" mean in this context? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, October 29, 2004 8:38 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] FTP command line, passive mode > > >Hi all > >A client has an app which uses a lot of calls of the standard Windows >FTP command line utility with script files. > >However, the client now need it to run in passive mode which the Windows >FTP thing can not. > >I can rewrite the app using 3D-FTP but that will be a lot of work - so I >wonder if anyone is aware of a direct replacement which can understand >the script files you can pass to Windows FTP? > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From gustav at cactus.dk Sat Oct 30 06:07:57 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Oct 2004 13:07:57 +0200 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <17922621718.20041029143801@cactus.dk> References: <17922621718.20041029143801@cactus.dk> Message-ID: <4911418739.20041030130757@cactus.dk> Hi all Well, Google is God if you didn't knew. A search on: FTP command line replacement revealed in a second this nice piece of freeware: MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 FTPS is a command-line FTP client similar to the FTP.EXE that comes with Windows 2000, but it also implements secure FTP (with SSL), and passive mode. When used with MOVEit DMZ FTP server, also does on-the-fly compression and integrity checking. Written by Standard Networks, Inc. See http://www.stdnet.com --- Download is here: http://www.standardnetworks.com/products/?category_number=7&subcategory_number=1 /gustav > A client has an app which uses a lot of calls of the standard Windows > FTP command line utility with script files. > However, the client now need it to run in passive mode which the > Windows FTP thing can not. > I can rewrite the app using 3D-FTP but that will be a lot of work - so > I wonder if anyone is aware of a direct replacement which can > understand the script files you can pass to Windows FTP? > /gustav From gustav at cactus.dk Sat Oct 30 05:10:08 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Oct 2004 12:10:08 +0200 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <418312CC.3030209@shaw.ca> References: <000601c4bdbd$ddea6090$0200a8c0@COA3> <418312CC.3030209@shaw.ca> Message-ID: <517949230.20041030121008@cactus.dk> Hi Marty Interesting, but that also would require a complete rewrite of the FTP up- and download routines which is what I try to avoid. /gustav > How about using a watched folder or directory, when a file is added to a > folder then do something > Creating a Watched Folder with FindChangeNotification API > http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm > I didn't realize you could ftp download with a couple of lines of code. > Someone was looking for this, you could stick this in html via vbscript > or javascript > The popup window allows you to specify where to place the file. > Private Declare Function DoFileDownload Lib "shdocvw" _ > (ByVal lpszFile As String) As Long > Sub ftptestrun() > Dim sDownload As String > sDownload = > StrConv("http://www5.brinkster.com/mconnelly/GenericDB/suppliers.csv", > vbUnicode) > Call DoFileDownload(sDownload) > End Sub > Steve Conklin (Developer at UltraDNT) wrote: >>What does "passive mode" mean in this context? >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Friday, October 29, 2004 8:38 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] FTP command line, passive mode >> >> >>Hi all >> >>A client has an app which uses a lot of calls of the standard Windows >>FTP command line utility with script files. >> >>However, the client now need it to run in passive mode which the Windows >>FTP thing can not. >> >>I can rewrite the app using 3D-FTP but that will be a lot of work - so I >>wonder if anyone is aware of a direct replacement which can understand >>the script files you can pass to Windows FTP? >> >>/gustav From andy at minstersystems.co.uk Sat Oct 30 08:18:00 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 30 Oct 2004 14:18:00 +0100 Subject: [AccessD] Shortcuts Working without Alt Key In-Reply-To: <02b201c4bde9$73201ad0$6701a8c0@HAL9002> Message-ID: <00f901c4be82$e1af1430$b274d0d5@minster33c3r25> I'm with you there Rocky. I didn't know that either. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 29 October 2004 20:00 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Shortcuts Working without Alt Key > > > WHO KNEW???!!!! > > I feel like such a newbie sometimes. > > Thanks for the heads up, Karen. > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > ----- Original Message ----- > From: "Nicholson, Karen" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 29, 2004 10:35 AM > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > > > If the form that you are using does not have any data fields on it, > > then you can use the straight out press of the letter. If there is > > data fields on the form, the alt-key combo does it. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > - Beach Access Software > > Sent: Friday, October 29, 2004 1:20 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Shortcuts Working without Alt Key > > > > > > No. It's the same on three different boxes. > > > > Now, there's a possibility I'm getting senile or losing my > beans here. > > I use the underscore on all main menu command buttons so > that the user > > doesn't > > have to use the mouse. > > > > Now I've ALWAYS thought that to use those underscores you > had to use > > the Alt key simultaneously with the underscored character. > So maybe > > I've never tried it without the Alt key. > > > > Now someone just told me that it always worked that way - > no alt key > > required. > > > > So how do are those underscore shortcuts SUPPOSED to work? > > > > Rocky > > > > ----- Original Message ----- > > From: "Perry Harold" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Friday, October 29, 2004 9:42 AM > > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > > > > >> Stuck Key? > >> > >> Perry Harold > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - > >> Beach Access Software > >> Sent: Friday, October 29, 2004 11:33 AM > >> To: AccessD at databaseadvisors.com > >> Subject: [AccessD] Shortcuts Working without Alt Key > >> > >> > >> Dear List: > >> > >> Suddenly, the shortcuts on my forms (the underlined > characters) are > >> working without pressing the ALT key. This is no good! > Does anyone > >> know how > > this > >> could happen? It happens on all mdb files. > >> > >> MTIA > >> > >> Rocky Smolin > >> Beach Access Software > >> http://www.e-z-mrp.com > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Oct 30 09:36:37 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 30 Oct 2004 07:36:37 -0700 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <4911418739.20041030130757@cactus.dk> Message-ID: Hi Gustav: Seems like the ticket but I wonder what the product costs as a viewer will have to ask for a quote to receive that information. Shock or pleasant surprise? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, October 30, 2004 4:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FTP command line, passive mode Hi all Well, Google is God if you didn't knew. A search on: FTP command line replacement revealed in a second this nice piece of freeware: MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 FTPS is a command-line FTP client similar to the FTP.EXE that comes with Windows 2000, but it also implements secure FTP (with SSL), and passive mode. When used with MOVEit DMZ FTP server, also does on-the-fly compression and integrity checking. Written by Standard Networks, Inc. See http://www.stdnet.com --- Download is here: http://www.standardnetworks.com/products/?category_number=7&subcategory_numb er=1 /gustav > A client has an app which uses a lot of calls of the standard Windows > FTP command line utility with script files. > However, the client now need it to run in passive mode which the > Windows FTP thing can not. > I can rewrite the app using 3D-FTP but that will be a lot of work - so > I wonder if anyone is aware of a direct replacement which can > understand the script files you can pass to Windows FTP? > /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Oct 30 09:49:04 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Oct 2004 16:49:04 +0200 Subject: [AccessD] FTP command line, passive mode In-Reply-To: References: Message-ID: <8224685746.20041030164904@cactus.dk> Hi Jim Looks like USD 25.00: https://secure.stdnet.com/moveitstore/store.asp /gustav > Hi Gustav: > Seems like the ticket but I wonder what the product costs as a viewer will > have to ask for a quote to receive that information. Shock or pleasant > surprise? > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, October 30, 2004 4:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FTP command line, passive mode > Hi all > Well, Google is God if you didn't knew. A search on: > FTP command line replacement > revealed in a second this nice piece of freeware: > MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 > FTPS is a command-line FTP client similar to the FTP.EXE > that comes with Windows 2000, but it also implements secure FTP > (with SSL), and passive mode. When used with MOVEit DMZ FTP server, > also does on-the-fly compression and integrity checking. > Written by Standard Networks, Inc. See http://www.stdnet.com > --- > Download is here: > http://www.standardnetworks.com/products/?category_number=7&subcategory_numb > er=1 > /gustav >> A client has an app which uses a lot of calls of the standard Windows >> FTP command line utility with script files. >> However, the client now need it to run in passive mode which the >> Windows FTP thing can not. >> I can rewrite the app using 3D-FTP but that will be a lot of work - so >> I wonder if anyone is aware of a direct replacement which can >> understand the script files you can pass to Windows FTP? >> /gustav From accessd at shaw.ca Sat Oct 30 10:27:24 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 30 Oct 2004 08:27:24 -0700 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <8224685746.20041030164904@cactus.dk> Message-ID: Gustav: Not bad... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, October 30, 2004 7:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FTP command line, passive mode Hi Jim Looks like USD 25.00: https://secure.stdnet.com/moveitstore/store.asp /gustav > Hi Gustav: > Seems like the ticket but I wonder what the product costs as a viewer will > have to ask for a quote to receive that information. Shock or pleasant > surprise? > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, October 30, 2004 4:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FTP command line, passive mode > Hi all > Well, Google is God if you didn't knew. A search on: > FTP command line replacement > revealed in a second this nice piece of freeware: > MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 > FTPS is a command-line FTP client similar to the FTP.EXE > that comes with Windows 2000, but it also implements secure FTP > (with SSL), and passive mode. When used with MOVEit DMZ FTP server, > also does on-the-fly compression and integrity checking. > Written by Standard Networks, Inc. See http://www.stdnet.com > --- > Download is here: > http://www.standardnetworks.com/products/?category_number=7&subcategory_numb > er=1 > /gustav >> A client has an app which uses a lot of calls of the standard Windows >> FTP command line utility with script files. >> However, the client now need it to run in passive mode which the >> Windows FTP thing can not. >> I can rewrite the app using 3D-FTP but that will be a lot of work - so >> I wonder if anyone is aware of a direct replacement which can >> understand the script files you can pass to Windows FTP? >> /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Oct 30 13:47:58 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 30 Oct 2004 11:47:58 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. References: <0CC84C9461AE6445AD5A602001C41C4B059F68@mercury.tnco-inc.com> Message-ID: <4183E1DE.2010901@shaw.ca> Here is another email method. I am not sure of all of the ramifications of this method. Any comments? I just saw a site where you can purchase one client access to a remote Exchange Server over the net paying by the month. Just to add further email oddities. 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can?t do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30-60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "martyconnelly at gmail.com" .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Joe Rojas wrote: >I am using the code the M&D Manning provided for me. > >JR > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Friday, October 29, 2004 11:20 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlook >task. > >It would be more useful to see the Redemption code you're trying to use. >You have licensed the Redemption library, right? There is quite a bit >of help that comes with it. Redemption code doesn't use the >Outlook.Application object like that. It uses MAPI.Message and >MAPI.Recipient and MAPI.Session. > >Charlotte Foust > > >-----Original Message----- >From: Joe Rojas [mailto:JRojas at tnco-inc.com] >Sent: Friday, October 29, 2004 7:47 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] OT: Help with using Redemption to assing an Outlook >task. > > >Hi All, > >I am asking this group my question on Redemption because I have seen >several times when Redemption was offered as a solution for bypassing >Outlook's e-mail security features. > >Below is a function that I am currently using that sends/assigns a task >the Outlook Object Model only and works perfectly. I want to port this >code so that it is using Redemption in order to bypass the e-mail >security features. I have been trying to the past two days and have not >had any luck. > >Can someone please help me with this? > >TIA! >JR > >Public Function SendTask() > > Dim objOutlook As Outlook.Application > Dim objOutlookTsk As Outlook.TaskItem > > Dim strRecipList() As String > Dim strNum As String > Dim DDueDate As Date > Dim strNote As String > Dim strBody As String > Dim i As Integer > > strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") > strNum = Forms![DMR Form]![tbDMRNum] > DDueDate = Forms!PrevActions!tbDueDate > strNote = Forms![DMR Form]!tbPartNo > strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ > "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies >subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ > "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies >subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ > "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies >subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf > > > ' Create the Outlook session. > Set objOutlook = CreateObject("Outlook.Application") > > ' Create the message. > Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) > > With objOutlookTsk > ' Add the To recipient(s) to the message. > For i = 0 To UBound(strRecipList) > objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo > Next > > ' Set the Subject, Body, and Importance of the message. > .Subject = "Corrective Action for DMR#" & strNum & " - (" & >strNote & ")" > .Body = strBody > .Importance = olImportanceHigh 'High importance > .ReminderSet = True > .ReminderTime = DDueDate - 7 > .DueDate = DDueDate > > > ' Resolve each Recipient's name. > For Each objOutlookRecip In .Recipients > objOutlookRecip.Resolve > If Not objOutlookRecip.Resolve Then > objOutlookTsk.Display > End If > Next > > .Save > .Assign > .Send > > End With > Set objOutlookTsk = Nothing > Set objOutlook = Nothing > > MsgBox "Task has been assigned.", , "Task sent" > >End Function > > > >This electronic transmission is strictly confidential to TNCO, Inc. and >intended solely for the addressee. It may contain information which is >covered by legal, professional, or other privileges. If you are not the >intended addressee, or someone authorized by the intended addressee to >receive transmissions on behalf of the addressee, you must not retain, >disclose in any form, copy, or take any action in reliance on this >transmission. If you have received this transmission in error, please >notify the sender as soon as possible and destroy this message. While >TNCO, Inc. uses virus protection, the recipient should check this email >and any attachments for the presence of viruses. TNCO, Inc. accepts no >liability for any damage 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 > > > >This electronic transmission is strictly confidential to TNCO, Inc. and >intended solely for the addressee. It may contain information which is >covered by legal, professional, or other privileges. If you are not the >intended addressee, or someone authorized by the intended addressee to >receive transmissions on behalf of the addressee, you must not retain, >disclose in any form, copy, or take any action in reliance on this >transmission. If you have received this transmission in error, please notify >the sender as soon as possible and destroy this message. While TNCO, Inc. >uses virus protection, the recipient should check this email and any >attachments for the presence of viruses. TNCO, Inc. accepts no liability for >any damage caused by any virus transmitted by this email. > > -- Marty Connelly Victoria, B.C. Canada From pcs at azizaz.com Sun Oct 31 20:50:56 2004 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 1 Nov 2004 12:50:56 +1000 Subject: [AccessD] CurrentDB Error Message-ID: <009501c4bfbd$9d132be0$fa10a8c0@Albatross> Hi, I have a some Access97 database applications that have been working for years. They are currently sitting on WinXP with AccessXP installed as well. Been working on the XP box for over a year! Recently when making a minor modification and doing a 'Compile and Save' I get the following message on the first instance of CurrentDb Compile Error: Funtion or interface marked as restricted, or the function uses Automation type not supported in Visual Basic. I have reference to Microsoft DAO Object Library 3.6 The dao.dll is version 03.60.8618.0 Even if I try to disambiguate the thing, the compile error comes up: like: dim db as DAO.Database set db = CurrentDb when compiling it will error on the set db = CurrentDb line. Can anyone help me to shed light on what is going on? Regards Borge Gold Coast, Australia --- Outgoing mail is certified Virus Free by AVG Anti Virus System. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 5/10/2004 From gustav at cactus.dk Fri Oct 1 04:32:46 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Oct 2004 11:32:46 +0200 Subject: [AccessD] date query In-Reply-To: <008701c4a736$51891f30$f3c581d5@pedro> References: <000c01c4a27d$9b424600$f9c581d5@pedro> <691989590.20040925091522@cactus.dk> <008701c4a736$51891f30$f3c581d5@pedro> Message-ID: <49180140.20041001113246@cactus.dk> Hi Pedro > Gustav, sometimes i don't trust myself > to show a query that isn't working. > Because i expect that the solution is simple, > i sometimes think "what do the other members > of the group will think of such an easy question". That's a bad excuse. No one is pointing fingers here - it's simply not the spirit of the list. Contrary, sometimes you (anyone) can be blind for the obvious fix which new eyes may catch in a few seconds. /gustav From ssharkins at bellsouth.net Fri Oct 1 06:33:27 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 1 Oct 2004 07:33:27 -0400 Subject: [AccessD] date query In-Reply-To: <49180140.20041001113246@cactus.dk> Message-ID: <20041001113328.RIJU1790.imf18aec.mail.bellsouth.net@SUSANONE> Contrary, sometimes you (anyone) can be blind for the obvious fix which new eyes may catch in a few seconds. =============My routine is to ask the question and bingo -- light goes on. There's something about phrasing the problem as a question that seems to trigger something in my brain. And if you could only see the number of SQL statements with a misplaced " or & -- you'd know Gustav speaks the truth. ;) Susan H. From bheygood at abestsystems.com Fri Oct 1 09:37:11 2004 From: bheygood at abestsystems.com (Bob Heygood) Date: Fri, 1 Oct 2004 07:37:11 -0700 Subject: [AccessD] Access - Advantage - Mediwin In-Reply-To: <49180140.20041001113246@cactus.dk> Message-ID: hello to the list, I created an app years ago that interfaced with the client's medical practice software. The software is Mediwin, which uses the Advantage db engine. After an upgrade to the Mediwin version, my ODBC calls fail for "Can't lock all records" message from Jet. Some pursuit of the ODBC help indicates that a network failure could also be an issue. And sure enough, they had the network guy in about the same time. Very odd that I can still link to the table of interest sometimes and even export to Excel, but can't open the table in datasheet view nor successfully run any of my code. Naturally, no one thought to let me know that the upgrade was happening. And I am concerned that the vendor of the Mediwin software is not being helpful because they would love to recreate most of my work themselves. And of course, the client is now 10 days behind in sending out correspondence that should have been done automatically from my program thru Word.... So, any insight/comments on ODBC, Advantage, Mediwin or a comforting word would be appreciated. best, bob accesspro at nospamcox.net From michael.mattys at adelphia.net Fri Oct 1 10:35:31 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Fri, 1 Oct 2004 11:35:31 -0400 Subject: [AccessD] Access - Advantage - Mediwin References: Message-ID: <060101c4a7cc$4a5555d0$6401a8c0@default> ----- Original Message ----- From: "Bob Heygood" To: "Access Developers discussion and problem solving" Sent: Friday, October 01, 2004 10:37 AM Subject: [AccessD] Access - Advantage - Mediwin > hello to the list, > I created an app years ago that interfaced with the client's medical > practice software. > The software is Mediwin, which uses the Advantage db engine. > After an upgrade to the Mediwin version, my ODBC calls fail for "Can't lock > all records" message from Jet. Some pursuit of the ODBC help indicates that > a network failure could also be an issue. And sure enough, they had the > network guy in about the same time. > Very odd that I can still link to the table of interest sometimes and even > export to Excel, but can't open the table in datasheet view nor successfully > run any of my code. Bob, I am working with another medical practice software called DME VI (formerly Dezine) whose creators have decided to make their own data definition files and ODBC drivers to prevent linking to their tables without paying first. I wouldn't be surprised if this has/will become a standard practice in the medical software industry. You may want to check if that's the wall you've run into. ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From kwilliam at ashlandnet.com Fri Oct 1 10:28:20 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 11:28:20 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 From carbonnb at gmail.com Fri Oct 1 10:55:01 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 1 Oct 2004 11:55:01 -0400 Subject: [AccessD] Publishing Application In-Reply-To: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> References: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> Message-ID: On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way to > publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From Jim.Hale at FleetPride.com Fri Oct 1 11:02:50 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 1 Oct 2004 11:02:50 -0500 Subject: [AccessD] Access - Advantage - Mediwin Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF76@corp-es01.fleetpride.com> I recall a similar problem several years with an ODBC driver that interfaced with a package that used Foxpro. When the package was updated the driver quite working. The solution was to get an updated ODBC driver. HTH Jim Hale -----Original Message----- From: Bob Heygood [mailto:bheygood at abestsystems.com] Sent: Friday, October 01, 2004 9:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access - Advantage - Mediwin hello to the list, I created an app years ago that interfaced with the client's medical practice software. The software is Mediwin, which uses the Advantage db engine. After an upgrade to the Mediwin version, my ODBC calls fail for "Can't lock all records" message from Jet. Some pursuit of the ODBC help indicates that a network failure could also be an issue. And sure enough, they had the network guy in about the same time. Very odd that I can still link to the table of interest sometimes and even export to Excel, but can't open the table in datasheet view nor successfully run any of my code. Naturally, no one thought to let me know that the upgrade was happening. And I am concerned that the vendor of the Mediwin software is not being helpful because they would love to recreate most of my work themselves. And of course, the client is now 10 days behind in sending out correspondence that should have been done automatically from my program thru Word.... So, any insight/comments on ODBC, Advantage, Mediwin or a comforting word would be appreciated. best, bob accesspro at nospamcox.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Fri Oct 1 11:06:12 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 1 Oct 2004 12:06:12 -0400 Subject: [AccessD] Publishing Application In-Reply-To: <001801c4a7cb$4890def0$64aba8c0@ashlandnet.com> Message-ID: <000e01c4a7d0$92a8d1f0$060aa845@hargrove.internal> Yes. You need to include the Access Runtime files with your application. If you have a copy of Office Developer Edition, these files will automatically be included if you use the Package and Deployment Add-In. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 11:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Publishing Application Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Fri Oct 1 12:12:54 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 13:12:54 -0400 Subject: [AccessD] Publishing Application In-Reply-To: <000e01c4a7d0$92a8d1f0$060aa845@hargrove.internal> Message-ID: <000001c4a7d9$e3feb980$64aba8c0@ashlandnet.com> I guess...if you don't have Developer Edition....out of luck, huh? Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 01, 2004 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Yes. You need to include the Access Runtime files with your application. If you have a copy of Office Developer Edition, these files will automatically be included if you use the Package and Deployment Add-In. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 11:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Publishing Application Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kwilliam at ashlandnet.com Fri Oct 1 12:12:54 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 13:12:54 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <000101c4a7d9$e43755b0$64aba8c0@ashlandnet.com> Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 1 12:39:41 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 1 Oct 2004 13:39:41 -0400 Subject: [AccessD] Publishing Application Message-ID: It does do some .dll dancing. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 1 13:17:30 2004 From: john at winhaven.net (John Bartow) Date: Fri, 1 Oct 2004 13:17:30 -0500 Subject: [AccessD] Publishing Application In-Reply-To: <000101c4a7d9$e43755b0$64aba8c0@ashlandnet.com> Message-ID: Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 1 13:41:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 1 Oct 2004 20:41:36 +0200 Subject: [AccessD] MsgBox, global setting for Title Message-ID: <2542110181.20041001204136@cactus.dk> Hi all Can you somehow set a global string for Title of MsgBox so you don't have to set it each and everywhere? I faintly recall this can be done ... but how? /gustav From kwilliam at ashlandnet.com Fri Oct 1 13:44:14 2004 From: kwilliam at ashlandnet.com (Keith Williamson) Date: Fri, 1 Oct 2004 14:44:14 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <000001c4a7e6$a7273de0$64aba8c0@ashlandnet.com> Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 1 14:01:45 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 1 Oct 2004 15:01:45 -0400 Subject: [AccessD] MsgBox, global setting for Title Message-ID: In a function? MsgBox cstrMessage, vbInformation, cstrTitle Const cstrMessage As String = _ "You are not authorized to open this form." Const cstrTitle As String = _ "Restricted Form" -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 01, 2004 2:42 PM To: AccessD at databaseadvisors.com Subject: [AccessD] MsgBox, global setting for Title Hi all Can you somehow set a global string for Title of MsgBox so you don't have to set it each and everywhere? I faintly recall this can be done ... but how? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 1 14:08:36 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 1 Oct 2004 15:08:36 -0400 Subject: [AccessD] Publishing Application Message-ID: So while we are on the subject, sort of, that last time I used a front end updater it was the Ted Avery version. Is there an up to date version for XP or another alternative out there? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 2:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Fri Oct 1 15:28:27 2004 From: reuben at gfconsultants.com (Reuben Cummings) Date: Fri, 1 Oct 2004 15:28:27 -0500 Subject: [AccessD] Publishing Application In-Reply-To: <000001c4a7e6$a7273de0$64aba8c0@ashlandnet.com> Message-ID: In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Fri Oct 1 13:59:39 2004 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 1 Oct 2004 20:59:39 +0200 Subject: [AccessD] date query References: <20041001113328.RIJU1790.imf18aec.mail.bellsouth.net@SUSANONE> Message-ID: <000001c4a7fe$694d1e50$f4c581d5@pedro> Hello Gustav and Susan, i didn't want to offend anyone. Its not that i believe that people of the list will point fingers. Its more that i sometimes don't trust myself in this list, by showing examples. I know this is a bad excuse. I will to do better in the future. Greetings Pedro Janssen ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 01, 2004 1:33 PM Subject: RE: [AccessD] date query > > Contrary, sometimes you (anyone) can be blind for the obvious fix which new > eyes may catch in a few seconds. > > =============My routine is to ask the question and bingo -- light goes on. > There's something about phrasing the problem as a question that seems to > trigger something in my brain. And if you could only see the number of SQL > statements with a misplaced " or & -- you'd know Gustav speaks the truth. ;) > > > Susan H. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Oct 1 17:21:21 2004 From: john at winhaven.net (John Bartow) Date: Fri, 1 Oct 2004 17:21:21 -0500 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:39:09 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:39:09 -0700 Subject: [AccessD] Publishing Application Message-ID: It isn't the runtime folder that causes the problems using the PD wizard, it's the fact that it blindly updates dlls, whether or not it should. If you're developing on the same platform and against the same versions that exist on the target machines, you're OK, but it they're running Office 97 and you're installing runtime 2002, you can run into headaches unless you use one of the more intelligent installers. Charlotte Foust -----Original Message----- From: Reuben Cummings [mailto:reuben at gfconsultants.com] Sent: Friday, October 01, 2004 1:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:40:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:40:59 -0700 Subject: [AccessD] MsgBox, global setting for Title Message-ID: It picks up the AppTitle property as the default. So if your AppTitle isn't set, you get Microsoft Access as the msgbox title unless you override it with a title string argument. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 01, 2004 11:42 AM To: AccessD at databaseadvisors.com Subject: [AccessD] MsgBox, global setting for Title Hi all Can you somehow set a global string for Title of MsgBox so you don't have to set it each and everywhere? I faintly recall this can be done ... but how? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:42:59 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:42:59 -0700 Subject: [AccessD] Publishing Application Message-ID: That is correct up through Office 2002. You have to have the developer *tools* in order to distribute a runtime. Otherwise, you have no license to do so. Charlotte Foust -----Original Message----- From: Keith Williamson [mailto:kwilliam at ashlandnet.com] Sent: Friday, October 01, 2004 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application I guess...if you don't have Developer Edition....out of luck, huh? Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 01, 2004 12:06 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Yes. You need to include the Access Runtime files with your application. If you have a copy of Office Developer Edition, these files will automatically be included if you use the Package and Deployment Add-In. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 11:28 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Publishing Application Okay...this may seem like a stupid question. But....is there any way to publish an Access application to people that don't have MS Access?? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 1 17:45:02 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Oct 2004 15:45:02 -0700 Subject: [AccessD] Publishing Application Message-ID: The only time they run into problems is if they *don't* use a desktop shortcut to open the application. They need a shortcut that points to the runtime executable as well as to the database it should open. There is no actual "interference" between the runtime and an installed version, but you can't necessarily mix and match. Charlotte Foust -----Original Message----- From: Keith Williamson [mailto:kwilliam at ashlandnet.com] Sent: Friday, October 01, 2004 10:13 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From greggs at msn.com Fri Oct 1 18:38:17 2004 From: greggs at msn.com (Gregg) Date: Fri, 1 Oct 2004 18:38:17 -0500 Subject: [AccessD] BE Compact, Backup, and Server Restart In-Reply-To: <40ADBB12.11214.50EE316@localhost> Message-ID: We have developed a VB program that will (1) compact an Access Database using Jet Comp, (2) optionally saves a copy, and (3) optionally restart the system. We put it in our customer's server task scheduler to restart the server, compact the BE, and save a copy. Anyone interested in using it... enjoy. We would love to have some feedback. http://highimpactsolutions.com/shareware/Default.htm Below are the technical details. This program is designed to run from a command line. The purpose is to compact an Access database using the JETCOMP.EXE command line arguments with the addition of -b:{fullpath to backup location} and -r for rebooting the PC. If the -dest: argument is not found the database will be compacted to the -src: location. C:\PROGRA~1\HISCOMP\HISCOMP.EXE -src:"c:\mydb.mdb" -v4 -r would compact a database to its original location and reboot the machine. For a list of command line arguments run C:\PROGRA~1\HISCOMP\JETCOMP.exe /? Gregg Steinbrenner High Impact Solutions 972-223-4559 From Developer at UltraDNT.com Fri Oct 1 19:55:59 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 1 Oct 2004 20:55:59 -0400 Subject: [AccessD] Publishing Application In-Reply-To: Message-ID: <000901c4a81a$9550c0d0$0200a8c0@COA3> Is that a variation of "will it play in Peoria?" I have seen Access RT's from 2.0 forward on OS's from 95 on in all its variations, and it is damn-near flawless when there is no previous Office installation. *However* - if there is another Access version on the PC, or might be in the future, use a 3rd party install tool. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 bellsouth.net Fri Oct 1 22:03:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 1 Oct 2004 23:03:43 -0400 Subject: [AccessD] date query In-Reply-To: <000001c4a7fe$694d1e50$f4c581d5@pedro> Message-ID: <20041002030343.GPUD1789.imf25aec.mail.bellsouth.net@SUSANONE> Whatever you're comfortable with. :) Susan H. Hello Gustav and Susan, i didn't want to offend anyone. Its not that i believe that people of the list will point fingers. Its more that i sometimes don't trust myself in this list, by showing examples. I know this is a bad excuse. I will to do better in the future. From gustav at cactus.dk Sat Oct 2 04:53:32 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 11:53:32 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: References: Message-ID: <1586931456.20041002115332@cactus.dk> Hi Karen Thanks Karen. That's similar to what I'm using now. I was looking for an application wide built in setting. /gustav > In a function? > MsgBox cstrMessage, vbInformation, cstrTitle > Const cstrMessage As String = _ > "You are not authorized to open this form." > Const cstrTitle As String = _ > "Restricted Form" > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, October 01, 2004 2:42 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] MsgBox, global setting for Title > Hi all > Can you somehow set a global string for Title of MsgBox so you don't > have to set it each and everywhere? > I faintly recall this can be done ... but how? From gustav at cactus.dk Sat Oct 2 04:58:44 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 11:58:44 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: References: Message-ID: <827243435.20041002115844@cactus.dk> Hi Charlotte Thanks. The only problem is that it doesn't work ... In the debug window: ? Currentdb.Properties("AppTitle").Value MyTitle Still, the title of a messagebox: Msgbox "Test" is "Microsoft Access" and not "MyTitle". I have done a title bar refresh and even a relaunch with no luck. What am I missing? /gustav > It picks up the AppTitle property as the default. So if your AppTitle > isn't set, you get Microsoft Access as the msgbox title unless you > override it with a title string argument. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Friday, October 01, 2004 11:42 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] MsgBox, global setting for Title > Hi all > Can you somehow set a global string for Title of MsgBox so you don't > have to set it each and everywhere? > I faintly recall this can be done ... but how? From gustav at cactus.dk Sat Oct 2 05:28:05 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 12:28:05 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: <827243435.20041002115844@cactus.dk> References: <827243435.20041002115844@cactus.dk> Message-ID: <639004247.20041002122805@cactus.dk> Hi Charlotte et all This property didn't exist if this is what you are referring to: CurrentProject.Properties("AppTitle") But adding it and setting its value to "MyTitle" doesn't make any difference to the default MsgBox title. /gustav > Hi Charlotte > Thanks. The only problem is that it doesn't work ... > In the debug window: > ? Currentdb.Properties("AppTitle").Value > MyTitle > Still, the title of a messagebox: > Msgbox "Test" > is "Microsoft Access" and not "MyTitle". > I have done a title bar refresh and even a relaunch with no luck. > What am I missing? > /gustav >> It picks up the AppTitle property as the default. So if your AppTitle >> isn't set, you get Microsoft Access as the msgbox title unless you >> override it with a title string argument. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Friday, October 01, 2004 11:42 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] MsgBox, global setting for Title >> Hi all >> Can you somehow set a global string for Title of MsgBox so you don't >> have to set it each and everywhere? >> I faintly recall this can be done ... but how? From gustav at cactus.dk Sat Oct 2 08:08:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 2 Oct 2004 15:08:01 +0200 Subject: [AccessD] FTP class using WinINET API Message-ID: <17618599514.20041002150801@cactus.dk> Hi all For those interested in FTP transfer and classes in Access, go have a look at this month's open article in Smart Access (beware of line breaks in URL): http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod=Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C1922F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 Note: This link is valid this October only. /gustav From bchacc at san.rr.com Sat Oct 2 08:48:12 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 2 Oct 2004 06:48:12 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: <005801c4a886$75a81410$6601a8c0@HAL9002> Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From john at winhaven.net Sat Oct 2 11:21:44 2004 From: john at winhaven.net (John Bartow) Date: Sat, 2 Oct 2004 11:21:44 -0500 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <005801c4a886$75a81410$6601a8c0@HAL9002> Message-ID: Hi Rocky, It depends on a lot of things like version of Access, number of MDA, MDE, MDB, FE, BE, Active X, Add-ons, etc. I checked an small, basic A97 app with which the installation includes FE/BE, User manual/instructions(.pdf), A97 runtime, 3 MDA libraries, 2 ocx files, installation dialogs with custom graphics and options, license agreements, readme files, the scripts to install the necessary files/settings to export to text, excel, dbase, the MDAC version I want installed (which a moot point on most PCs now but better safe than sorry, adobe acrobat v6, special registry settings, self register ocx files, install some fonts/icons/shortcuts/program groups, create an uninstall file, and various other obscure things. I have compiled in a stand alone Wise/SageKey installation .exe that is useable in W95-WinXP and it is 43MB. It takes approx. 30 seconds to install if the Acrobat Reader v6 option isn't selected. The Acrobat file is an install file included within my install file and is over 15MB as is. Same with the MDAC file which is over 7MB. I chose to do it this way because I distribute the app on CD so the size just doesn't matter. If it was distributed via download I would approach it differently. Just out of curiosity I made a copy of this folder/script and stripped everything out except the FE/BE and runtime. The installation .exe was less then 10MB. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 8:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 2 12:40:30 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 02 Oct 2004 13:40:30 -0400 Subject: [AccessD] FTP class using WinINET API In-Reply-To: <17618599514.20041002150801@cactus.dk> Message-ID: <000f01c4a8a6$ed51b910$e8dafea9@ColbyM6805> How timely. I'm doing this export project to a mainframe and we have to ftp the text files to them. Thanks! John W. Colby www.ColbyConsulting.com From martyconnelly at shaw.ca Sat Oct 2 12:47:11 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 02 Oct 2004 10:47:11 -0700 Subject: [AccessD] FTP class using WinINET API References: <17618599514.20041002150801@cactus.dk> Message-ID: <415EE99F.5@shaw.ca> Interesting explanation of WinInet but just remember a lot of sites are switching to FTPS and SFTP, so you may have to hook in all the Crypto API stuff Gustav Brock wrote: >Hi all > >For those interested in FTP transfer and classes in Access, go have a >look at this month's open article in Smart Access (beware of line >breaks in URL): > >http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod=Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C1922F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 > >Note: This link is valid this October only. > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From dw-murphy at cox.net Sat Oct 2 12:56:50 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 2 Oct 2004 10:56:50 -0700 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <005801c4a886$75a81410$6601a8c0@HAL9002> Message-ID: <000001c4a8a9$31d26d30$8500a8c0@murphyf3vdfepi> Rocky, We are using Wise and Sagekey for our Access 2002 install. The installer file overhead is 40M, which includes all the MS runtime stuff. I user the Sagekey script that does not install Internet Explorer. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 6:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Oct 2 14:59:30 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 2 Oct 2004 12:59:30 -0700 Subject: [AccessD] Size of Installable with SageKey References: <000001c4a8a9$31d26d30$8500a8c0@murphyf3vdfepi> Message-ID: <00ca01c4a8ba$57193630$6601a8c0@HAL9002> Doug: Thanks. Is that a switchable option (the IE thing) or do you have to buy it like that? Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 10:56 AM Subject: RE: [AccessD] Size of Installable with SageKey > Rocky, > > We are using Wise and Sagekey for our Access 2002 install. The installer > file overhead is 40M, which includes all the MS runtime stuff. I user the > Sagekey script that does not install Internet Explorer. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable run-time > of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but > I know a lot of access stuff has to be dragged along. How big does the > installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Sat Oct 2 15:39:33 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Sat, 2 Oct 2004 13:39:33 -0700 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <00ca01c4a8ba$57193630$6601a8c0@HAL9002> Message-ID: <001c01c4a8bf$f051f760$8500a8c0@murphyf3vdfepi> The downloadable version of the scripts, the one we use, only requires IE4 which should be on any machine that our software is put on. This script does not install IE. If you use ADO library 2.6 you will need to use the CD version of the scripts and it does load IE which includes MDAC 2.6. I suspect the CD version of the scripts includes both packages. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 12:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Doug: Thanks. Is that a switchable option (the IE thing) or do you have to buy it like that? Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 10:56 AM Subject: RE: [AccessD] Size of Installable with SageKey > Rocky, > > We are using Wise and Sagekey for our Access 2002 install. The > installer file overhead is 40M, which includes all the MS runtime > stuff. I user the Sagekey script that does not install Internet > Explorer. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable run-time > of an access mde with the Wise/Sagekey combo? The mde is only about > 6MB but > I know a lot of access stuff has to be dragged along. How big does > the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Oct 2 19:20:31 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 2 Oct 2004 17:20:31 -0700 Subject: [AccessD] Size of Installable with SageKey References: <001c01c4a8bf$f051f760$8500a8c0@murphyf3vdfepi> Message-ID: <011301c4a8de$cb828070$6601a8c0@HAL9002> Doug: When you say it only requires IE4 does that mean that IE4 must be present on the target machine? What if it's not there? What if they have a later version? TIA Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 1:39 PM Subject: RE: [AccessD] Size of Installable with SageKey > The downloadable version of the scripts, the one we use, only requires IE4 > which should be on any machine that our software is put on. This script > does not install IE. If you use ADO library 2.6 you will need to use the CD > version of the scripts and it does load IE which includes MDAC 2.6. I > suspect the CD version of the scripts includes both packages. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Saturday, October 02, 2004 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > Thanks. Is that a switchable option (the IE thing) or do you have to buy it > like that? > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 10:56 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Rocky, > > > > We are using Wise and Sagekey for our Access 2002 install. The > > installer file overhead is 40M, which includes all the MS runtime > > stuff. I user the Sagekey script that does not install Internet > > Explorer. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > run-time > > of an access mde with the Wise/Sagekey combo? The mde is only about > > 6MB > but > > I know a lot of access stuff has to be dragged along. How big does > > the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Helmut.E.Kotsch at t-online.de Sun Oct 3 06:57:56 2004 From: Helmut.E.Kotsch at t-online.de (Helmut Kotsch) Date: Sun, 3 Oct 2004 13:57:56 +0200 Subject: AW: [AccessD] FTP class using WinINET API In-Reply-To: <17618599514.20041002150801@cactus.dk> Message-ID: Hi, has anyone been able to unpack the ZIP file? Is advertised as "410ZAMFIR.ZIP" downloaded as "410zamfir_SA04j1.zip". I get failure messages when trying to extract. Helmut Kotsch -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Gustav Brock Gesendet: Samstag, 2. Oktober 2004 15:08 An: Access Developers discussion and problem solving Betreff: [AccessD] FTP class using WinINET API Hi all For those interested in FTP transfer and classes in Access, go have a look at this month's open article in Smart Access (beware of line breaks in URL): http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod= Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C192 2F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 Note: This link is valid this October only. /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sun Oct 3 10:34:35 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 3 Oct 2004 11:34:35 -0400 Subject: [AccessD] way off topic -- Word question Message-ID: <20041003153456.XNRU1756.imf17aec.mail.bellsouth.net@SUSANONE> Does anyone have an expression that would print the word count in a header or footer? Susan H. From jimdettman at earthlink.net Sun Oct 3 11:31:04 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Sun, 3 Oct 2004 12:31:04 -0400 Subject: [AccessD] way off topic -- Word question In-Reply-To: <20041003153456.XNRU1756.imf17aec.mail.bellsouth.net@SUSANONE> Message-ID: Susan, Open the header/footer. Position to where you want it. Click Insert/Field. In the right hand column, select NumWords Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Sunday, October 03, 2004 11:35 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] way off topic -- Word question Does anyone have an expression that would print the word count in a header or footer? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From conny at qad.se Sun Oct 3 11:32:32 2004 From: conny at qad.se (Conny Johansson) Date: Sun, 3 Oct 2004 18:32:32 +0200 Subject: SV: [AccessD] way off topic -- Word question In-Reply-To: <20041003153456.XNRU1756.imf17aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041003163220.B2D2137E4B@smtp2-1-sn4.m-sp.skanova.net> {DOCPROPERTY Words \* MERGEFORMAT} If you don't use fields then write the text, select the text and hit CTRL + F9 to make it a field {} Conny Johansson -----Ursprungligt meddelande----- Fr?n: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] F?r Susan Harkins Skickat: den 3 oktober 2004 17:35 Till: 'Access Developers discussion and problem solving' ?mne: [AccessD] way off topic -- Word question Does anyone have an expression that would print the word count in a header or footer? Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Outbound message clean. Virus Database (VPS): 0440-3, 2004-10-01 Tested on: 2004-10-03 18:32:31 avast! is copyright (c) 2000-2003 ALWIL Software. From ssharkins at bellsouth.net Sun Oct 3 11:34:30 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 3 Oct 2004 12:34:30 -0400 Subject: [AccessD] way off topic -- Word question In-Reply-To: Message-ID: <20041003163429.UAWW1786.imf19aec.mail.bellsouth.net@SUSANONE> Of for Pete's sakes... Thank you Jim. Susan H. Open the header/footer. Position to where you want it. Click Insert/Field. In the right hand column, select NumWords From jwcolby at colbyconsulting.com Sun Oct 3 12:09:51 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 03 Oct 2004 13:09:51 -0400 Subject: [AccessD] FTP class using WinINET API In-Reply-To: Message-ID: <001201c4a96b$d08d9130$e8dafea9@ColbyM6805> I did unzip it, yes. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Helmut Kotsch Sent: Sunday, October 03, 2004 7:58 AM To: Access Developers discussion and problem solving Subject: AW: [AccessD] FTP class using WinINET API Hi, has anyone been able to unpack the ZIP file? Is advertised as "410ZAMFIR.ZIP" downloaded as "410zamfir_SA04j1.zip". I get failure messages when trying to extract. Helmut Kotsch -----Ursprungliche Nachricht----- Von: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]Im Auftrag von Gustav Brock Gesendet: Samstag, 2. Oktober 2004 15:08 An: Access Developers discussion and problem solving Betreff: [AccessD] FTP class using WinINET API Hi all For those interested in FTP transfer and classes in Access, go have a look at this month's open article in Smart Access (beware of line breaks in URL): http://www.pinpub.com/ME2/Audiences/dirmod.asp?sid=&nm=&type=Publishing&mod= Publications%3A%3AArticle&mid=8F3A7027421841978F18BE895F87F791&AudID=C01C192 2F71E483AB162D148B15A6F6D&tier=4&id=591D8610892D4BAF96FD4D5EA88C6059 Note: This link is valid this October only. /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mmmtbig at bellsouth.net Sun Oct 3 12:24:13 2004 From: mmmtbig at bellsouth.net (Myke Myers) Date: Sun, 3 Oct 2004 13:24:13 -0400 Subject: [AccessD] Access 97 Runtime on Windows NT Not Showing Bitmap Images in Reports Message-ID: <007d01c4a96d$d084f3c0$6501a8c0@tbig1> Recently, a client has complained that a custom app I developed for them has quit displaying bitmap images in reports. They are using an Access 97 Runtime on Windows NT. Anyone have any ideas on why this would happen? TIA, Myke From dw-murphy at cox.net Sun Oct 3 12:37:38 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Sun, 3 Oct 2004 10:37:38 -0700 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: <011301c4a8de$cb828070$6601a8c0@HAL9002> Message-ID: <000601c4a96f$b0c8a520$8500a8c0@murphyf3vdfepi> Rocky, My understanding is that IE is present on all windows machines. The Access 2002 runtime will only work on Windows 98 and later operating systems. I belive that IE 4 or 5 came as part of Windows 98. We have had no issues with not installing IE with our package. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Doug: When you say it only requires IE4 does that mean that IE4 must be present on the target machine? What if it's not there? What if they have a later version? TIA Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 1:39 PM Subject: RE: [AccessD] Size of Installable with SageKey > The downloadable version of the scripts, the one we use, only requires > IE4 which should be on any machine that our software is put on. This > script does not install IE. If you use ADO library 2.6 you will need > to use the CD > version of the scripts and it does load IE which includes MDAC 2.6. I > suspect the CD version of the scripts includes both packages. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Saturday, October 02, 2004 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > Thanks. Is that a switchable option (the IE thing) or do you have to > buy it > like that? > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 10:56 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Rocky, > > > > We are using Wise and Sagekey for our Access 2002 install. The > > installer file overhead is 40M, which includes all the MS runtime > > stuff. I user the Sagekey script that does not install Internet > > Explorer. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > run-time > > of an access mde with the Wise/Sagekey combo? The mde is only about > > 6MB > but > > I know a lot of access stuff has to be dragged along. How big does > > the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Oct 3 12:46:13 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 3 Oct 2004 19:46:13 +0200 Subject: [AccessD] Access 97 Runtime on Windows NT Not Showing Bitmap Images in Reports In-Reply-To: <007d01c4a96d$d084f3c0$6501a8c0@tbig1> References: <007d01c4a96d$d084f3c0$6501a8c0@tbig1> Message-ID: <14134597578.20041003194613@cactus.dk> Hi Myke It could be a printer or screen driver problem, or perhaps the mdb file needs a compact. /gustav > Recently, a client has complained that a custom app I developed for them has > quit displaying bitmap images in reports. > They are using an Access 97 Runtime on Windows NT. From jwcolby at colbyconsulting.com Sun Oct 3 13:44:48 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 03 Oct 2004 14:44:48 -0400 Subject: [AccessD] Cross posted - Folding@home Message-ID: <001301c4a979$12b14180$e8dafea9@ColbyM6805> I just wanted to call everyone's attention to Folding at home. I know a lot of you know about this project, I did and got involved for awhile (through Google's team I think) but over time forgot about it. http://folding.stanford.edu/ Folding at home is a project by Stanford University which essentially builds a mega super computer created by using our home / office computers to form a huge network capable of thousands of times more processing power than even the largest dedicated super computers. http://folding.stanford.edu/stats.html Will take you directly to a page where you can see some statistics for the supercomputer as it exists at this instant in time. This system downloads an executable onto a computer which runs in the idle thread. This means that while the CPU utilized jumps to 100%, it is all idle time ad if your programs need CPU cycles folding at home will not interfere with your program in any way. I had 4 3ghz computers sitting in my home office doing nothing. They are now contributing to mankind's knowledgebase. John W. Colby www.ColbyConsulting.com From serbach at new.rr.com Sun Oct 3 14:55:04 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Sun, 3 Oct 2004 14:55:04 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers Message-ID: <20041003145504.1200913132.serbach@new.rr.com> Dear Group, I helped a friend get MS Office 2000 up and running on his PC yesterday after his PC vendor re-formatted the drive (virus infestation) and re-installed Windows XP Home w/SP2. This system also has a canned Access application that installs Access 2000 Runtime. I installed that AFTER I'd upgraded Office 2000 to SP3. That took a bit of trial and error. Whenever the Runtime install asked about overwriting existing DLLs I told it NO. Now when my friend runs the Access applications that he uses (his wife runs the Access Runtime app), his reports come out funny. That is, for all the text boxes that contain numerals (phone numbers, dates, currency, other numbers), the FORMATTING of the data (e.g., parentheses around negatives, dollar signs and decimals for currency, slashes for dates, hyphens and slashes for phone numbers) appear in the report preview, but there are NO NUMERALS! The dollar signs are at varying distances from the decimal points as if there are numbers there, but no numerals are visible. The fields on the reports are all VISIBLE. As an experiment, I tried changing the background color to yellow and the text color to red for one of the text box objects in design mode. But when I preview the report, the format symbols are red but the background is still white, not yellow. I change the font weight to Bold and I see bold dollar signs and decimal points. I add a shadow border around the text box, but that doesn't show up in preview mode. I change the text alignment to Left, and all the dollar signs line up on the left...but still no numbers. I've checked the query. All the numbers are there. Again, this is just for fields that have numerals in them. The names of the individuals are there in the report preview, just no numbers or dates or phone numbers (except for the formatting symbols). What does this sound like to you? Thanks, Steve Erbach Neenah, WI From serbach at new.rr.com Mon Oct 4 05:12:20 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 05:12:20 -0500 Subject: [AccessD] Cross posted - Folding@home In-Reply-To: <001301c4a979$12b14180$e8dafea9@ColbyM6805> References: <001301c4a979$12b14180$e8dafea9@ColbyM6805> Message-ID: <20041004051220.976313251.serbach@new.rr.com> John, >> http://folding.stanford.edu/ << Sounds similar to the seti at home project. Steve Erbach Neenah, WI From serbach at new.rr.com Mon Oct 4 05:14:57 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 05:14:57 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041003145504.1200913132.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> Message-ID: <20041004051457.1242222750.serbach@new.rr.com> Dear Group, Some additional info on this: I suspect that it has something to do with the fact that Office 2000 Premium (w/Access) and Access Runtime 2000 have been installed and un-installed and re-installed on this system. Moreover, anything on a report has numbers on it, even a street address, will appear without the numbers. Page x of y, a long-format date, etc. Steve Erbach Neenah, WI From gustav at cactus.dk Mon Oct 4 07:58:10 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Oct 2004 14:58:10 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041004051457.1242222750.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> Message-ID: <4821994175.20041004145810@cactus.dk> Hi Steven Did you carefully look up the archive on this? I faintly recall a similar situation. /gustav > Dear Group, > Some additional info on this: I suspect that it has something to do with the fact that Office 2000 Premium (w/Access) and Access Runtime 2000 have been installed and un-installed and re-installed > on this system. > Moreover, anything on a report has numbers on it, even a street address, will appear without the numbers. Page x of y, a long-format date, etc. > Steve Erbach > Neenah, WI From jimdettman at earthlink.net Mon Oct 4 08:01:48 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Mon, 4 Oct 2004 09:01:48 -0400 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041003145504.1200913132.serbach@new.rr.com> Message-ID: Steve, First thing I check is the regional settings in Windows. If all look OK, change one of them, then change it back. There was an old Windows bug related to this. Might still be in XP. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steven W. Erbach Sent: Sunday, October 03, 2004 3:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] A2K: Report number format visible but not numbers Dear Group, I helped a friend get MS Office 2000 up and running on his PC yesterday after his PC vendor re-formatted the drive (virus infestation) and re-installed Windows XP Home w/SP2. This system also has a canned Access application that installs Access 2000 Runtime. I installed that AFTER I'd upgraded Office 2000 to SP3. That took a bit of trial and error. Whenever the Runtime install asked about overwriting existing DLLs I told it NO. Now when my friend runs the Access applications that he uses (his wife runs the Access Runtime app), his reports come out funny. That is, for all the text boxes that contain numerals (phone numbers, dates, currency, other numbers), the FORMATTING of the data (e.g., parentheses around negatives, dollar signs and decimals for currency, slashes for dates, hyphens and slashes for phone numbers) appear in the report preview, but there are NO NUMERALS! The dollar signs are at varying distances from the decimal points as if there are numbers there, but no numerals are visible. The fields on the reports are all VISIBLE. As an experiment, I tried changing the background color to yellow and the text color to red for one of the text box objects in design mode. But when I preview the report, the format symbols are red but the background is still white, not yellow. I change the font weight to Bold and I see bold dollar signs and decimal points. I add a shadow border around the text box, but that doesn't show up in preview mode. I change the text alignment to Left, and all the dollar signs line up on the left...but still no numbers. I've checked the query. All the numbers are there. Again, this is just for fields that have numerals in them. The names of the individuals are there in the report preview, just no numbers or dates or phone numbers (except for the formatting symbols). What does this sound like to you? Thanks, Steve Erbach Neenah, WI -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Oct 4 08:56:25 2004 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 4 Oct 2004 08:56:25 -0500 Subject: [AccessD] Publishing Application In-Reply-To: <000901c4a81a$9550c0d0$0200a8c0@COA3> Message-ID: I have to think the problems result from what type of use do the other versions of Access get on the PC with runtime installed. I have installed runtime on computers before and after Access 97 thru 02 were installed and never have had a problem. However, these clients are not using Access much (or if at all). So I probably am not qualified to argue either way on dll problems. Now, concerning Illinois. I can't vouch for how the Illini can handle such issues. But I know we, as Boilers, not Hoosiers, have very few problems. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Steve Conklin (Developer at UltraDNT) Sent: Friday, October 01, 2004 7:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Is that a variation of "will it play in Peoria?" I have seen Access RT's from 2.0 forward on OS's from 95 on in all its variations, and it is damn-near flawless when there is no previous Office installation. *However* - if there is another Access version on the PC, or might be in the future, use a 3rd party install tool. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Oct 4 09:24:40 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Mon, 4 Oct 2004 10:24:40 -0400 Subject: [AccessD] Publishing Application Message-ID: "will it play in Peoria?" I used to resemble that remark:) Mark -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Friday, October 01, 2004 8:56 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Is that a variation of "will it play in Peoria?" I have seen Access RT's from 2.0 forward on OS's from 95 on in all its variations, and it is damn-near flawless when there is no previous Office installation. *However* - if there is another Access version on the PC, or might be in the future, use a 3rd party install tool. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 6:21 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Hi Reuben, But the big question is - does it work in Illinois? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Reuben Cummings Sent: Friday, October 01, 2004 3:28 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application In my experience, the Access Runtime is installed in a folder with RT(run time) in the path. This differentiates it from a standard Access install. I have never had any installation problems using Access Runtime and the Package and Deployment wizard. But, then again, I only have about 300 installs around the state of Indiana; maybe I haven't tried it enough yet. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 1:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....thanks. I was hoping there was something a little less expensive. :( I really don't intend to do this too often.....but we'll see how that goes. Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 01, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Publishing Application Keith, This is where the Wise Install Builder & SageKey Scripts come into play. Basically; Wise is a full-blown installation development program. SageKey is a company that writes scripts for the Wise or Install Shield products to provide foolproof Access Runtime Installations - which also don't allow your application to get screwed up by having the wrong version of Access already (or later) installed on the end user PC. This is a costly venture to be sure, but it is well worth it when it comes to having a professional looking installation that actually works on every PC regardless of what the end user has installed. And it cuts down tremendously on the support issues. I've used this combo for 5 years now and can honestly say I have had little if any problem with installations or version conflict. So, in essence, if you're in it for the long run it pays for itself. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Keith Williamson Sent: Friday, October 01, 2004 12:13 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Publishing Application Okay....let me ask this....What happens if the user Does have access, but a different version. Will the Access Runtime (for 2002) interfere with their version of Access? Thanks, Keith E. Williamson Ashland Equipment, Inc phone # (410) 273-1856 fax # (410) 273-1859 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Friday, October 01, 2004 11:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Publishing Application On Fri, 1 Oct 2004 11:28:20 -0400, Keith Williamson wrote: > Okay...this may seem like a stupid question. But....is there any way > to publish an Access application to people that don't have MS Access?? Create an Access Runtime installation. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Rich_Lavsa at pghcorning.com Mon Oct 4 10:21:56 2004 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 4 Oct 2004 11:21:56 -0400 Subject: [AccessD] LDB File, Orphaned Logins Message-ID: <833956F5C117124A89417638FDB11290EBD2C7@goexchange.pghcorning.com> Hello all, I have a database that has been working for almost 2 years now with no trouble. It is split, with security. Both BE and FE share same MDW file. There have been no changes to this database for about a year. Recently the users are complaining about it becoming slow. I looked into some things, compressed and repair FE and BE. Still no luck. I noticed that even though everyone was out of the database that there were still LDB files (1 for BE and 1 for MDW) left on the server. I opened them in notepad and saw about 8 users still logged in, 5 of which were the same person. I tried to delete the LDB files, of which I got an error "cannot delete file due to a sharing violation". I have never had a corrupt database or LDB file, I'm hoping this isn't my first as this is a fairly large and complex database. Any help on how to clear these users out of the LDB File would be greatly appreciated. Thanks, Rich From hoopesg at hotmail.com Mon Oct 4 10:59:03 2004 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 04 Oct 2004 10:59:03 -0500 Subject: [AccessD] Clearing form for next entry Message-ID: I have a form set up to gather information about bank deposits. The user enters in all of one type of deposit, then needs to clear the form and start over for the next type of deposit. I hate to maker her close and repoen the form just to clear it out. I've got a procedure that archives all of the records to a history folder but I can't figure out how to keep the screen from showing #Deleted# in all of the fields once the table gets cleared out to accept the new deposit. I tried turning off the Echo but it didn't do a thing, and I've tried a Requery but no luck. For a couple of business-rule reasons I can't just put a new field in for "deposit type", we actually need to clear the table and process the data and give them a clean form for the next deposit. Can someone tell me where I'm screwing up? Thanks, Gina _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ From cfoust at infostatsystems.com Mon Oct 4 11:03:17 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 09:03:17 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: No, I think Win98 still had IE 2.x or 3.x. Version 4 and later didn't come along until later. Charlotte Foust -----Original Message----- From: Doug Murphy [mailto:dw-murphy at cox.net] Sent: Sunday, October 03, 2004 10:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Size of Installable with SageKey Rocky, My understanding is that IE is present on all windows machines. The Access 2002 runtime will only work on Windows 98 and later operating systems. I belive that IE 4 or 5 came as part of Windows 98. We have had no issues with not installing IE with our package. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 02, 2004 5:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Doug: When you say it only requires IE4 does that mean that IE4 must be present on the target machine? What if it's not there? What if they have a later version? TIA Rocky ----- Original Message ----- From: "Doug Murphy" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 02, 2004 1:39 PM Subject: RE: [AccessD] Size of Installable with SageKey > The downloadable version of the scripts, the one we use, only requires > IE4 which should be on any machine that our software is put on. This > script does not install IE. If you use ADO library 2.6 you will need > to use the CD > version of the scripts and it does load IE which includes MDAC 2.6. I > suspect the CD version of the scripts includes both packages. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Saturday, October 02, 2004 12:59 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > Thanks. Is that a switchable option (the IE thing) or do you have to > buy it > like that? > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 10:56 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Rocky, > > > > We are using Wise and Sagekey for our Access 2002 install. The > > installer file overhead is 40M, which includes all the MS runtime > > stuff. I user the Sagekey script that does not install Internet > > Explorer. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > run-time > > of an access mde with the Wise/Sagekey combo? The mde is only about > > 6MB > but > > I know a lot of access stuff has to be dragged along. How big does > > the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 4 11:09:24 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 09:09:24 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: Ours run about 60Mb, which includes graphics and help files, along with the runtime files. We include some custom controls and some custom libraries as well as test data that can be loaded. Everything fits nicely on a CD. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Saturday, October 02, 2004 6:48 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.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 Oct 4 11:26:12 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 04 Oct 2004 12:26:12 -0400 Subject: [AccessD] Clearing form for next entry In-Reply-To: Message-ID: <003c01c4aa2e$e11761c0$e8dafea9@ColbyM6805> Just put a me.requery in the afterdelete method. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gina Hoopes Sent: Monday, October 04, 2004 11:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Clearing form for next entry I have a form set up to gather information about bank deposits. The user enters in all of one type of deposit, then needs to clear the form and start over for the next type of deposit. I hate to maker her close and repoen the form just to clear it out. I've got a procedure that archives all of the records to a history folder but I can't figure out how to keep the screen from showing #Deleted# in all of the fields once the table gets cleared out to accept the new deposit. I tried turning off the Echo but it didn't do a thing, and I've tried a Requery but no luck. For a couple of business-rule reasons I can't just put a new field in for "deposit type", we actually need to clear the table and process the data and give them a clean form for the next deposit. Can someone tell me where I'm screwing up? Thanks, Gina _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today - it's FREE! hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 4 11:28:36 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 09:28:36 -0700 Subject: [AccessD] Clearing form for next entry References: Message-ID: <017701c4aa2f$330ea880$6601a8c0@HAL9002> Gina: If it's a bound form can't you just GoTo acNewRecord after the data in the form is saved? Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Gina Hoopes" To: Sent: Monday, October 04, 2004 8:59 AM Subject: [AccessD] Clearing form for next entry > I have a form set up to gather information about bank deposits. The user > enters in all of one type of deposit, then needs to clear the form and start > over for the next type of deposit. I hate to maker her close and repoen the > form just to clear it out. I've got a procedure that archives all of the > records to a history folder but I can't figure out how to keep the screen > from showing #Deleted# in all of the fields once the table gets cleared out > to accept the new deposit. I tried turning off the Echo but it didn't do a > thing, and I've tried a Requery but no luck. For a couple of business-rule > reasons I can't just put a new field in for "deposit type", we actually need > to clear the table and process the data and give them a clean form for the > next deposit. Can someone tell me where I'm screwing up? > > Thanks, > Gina > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today - it's FREE! > hthttp://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Mon Oct 4 11:29:35 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 4 Oct 2004 18:29:35 +0200 Subject: [AccessD] Clearing form for next entry In-Reply-To: References: Message-ID: <3234679676.20041004182935@cactus.dk> Hi Gina Try: With Me .Painting = False ' run your clean up code. .Requery .Painting = True End With /gustav > I have a form set up to gather information about bank deposits. The user > enters in all of one type of deposit, then needs to clear the form and start > over for the next type of deposit. I hate to maker her close and repoen the > form just to clear it out. I've got a procedure that archives all of the > records to a history folder but I can't figure out how to keep the screen > from showing #Deleted# in all of the fields once the table gets cleared out > to accept the new deposit. I tried turning off the Echo but it didn't do a > thing, and I've tried a Requery but no luck. For a couple of business-rule > reasons I can't just put a new field in for "deposit type", we actually need > to clear the table and process the data and give them a clean form for the > next deposit. Can someone tell me where I'm screwing up? From hoopesg at hotmail.com Mon Oct 4 11:45:47 2004 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 04 Oct 2004 11:45:47 -0500 Subject: [AccessD] Clearing form for next entry Message-ID: Perfect! Thanks, Gustav! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 04, 2004 11:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Clearing form for next entry Hi Gina Try: With Me .Painting = False ' run your clean up code. .Requery .Painting = True End With /gustav > I have a form set up to gather information about bank deposits. The > user enters in all of one type of deposit, then needs to clear the > form and start over for the next type of deposit. I hate to maker her > close and repoen the form just to clear it out. I've got a procedure > that archives all of the records to a history folder but I can't > figure out how to keep the screen from showing #Deleted# in all of the > fields once the table gets cleared out to accept the new deposit. I > tried turning off the Echo but it didn't do a thing, and I've tried a > Requery but no luck. For a couple of business-rule reasons I can't > just put a new field in for "deposit type", we actually need to clear > the table and process the data and give them a clean form for the next deposit. Can someone tell me where I'm screwing up? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Thanks, Gina _________________________________________________________________ Don?t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ From serbach at new.rr.com Mon Oct 4 12:10:06 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 12:10:06 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <4821994175.20041004145810@cactus.dk> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> Message-ID: <20041004121006.1004197457.serbach@new.rr.com> Gustav, Well, I've asked a few questinos of the archives, but I get messages dealing with page numbering and text box length. I tried "invisible number" and got a lot of messages with the word "invisible" in them. How careful should I be? Steve Erbach Neenah, WI > ------------Original Message------------ > From: Gustav Brock > To: "Access Developers discussion and problem solving" > Date: Mon, Oct-4-2004 8:10 AM > Subject: Re: [AccessD] A2K: Report number format visible but not numbers > > Hi Steven > > Did you carefully look up the archive on this? > I faintly recall a similar situation. > > /gustav > > From serbach at new.rr.com Mon Oct 4 12:11:09 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 4 Oct 2004 12:11:09 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: References: <20041003145504.1200913132.serbach@new.rr.com> Message-ID: <20041004121109.1122793450.serbach@new.rr.com> Jim, I did look at the Regional Settings but I didn't change any of them. Worth a shot. Thanks. I'll pass it along to my friend. Steve Erbach Neenah, WI From Rich_Lavsa at pghcorning.com Mon Oct 4 12:53:17 2004 From: Rich_Lavsa at pghcorning.com (Lavsa, Rich) Date: Mon, 4 Oct 2004 13:53:17 -0400 Subject: [AccessD] LDB File, Orphaned Logins (Resolved) Message-ID: <833956F5C117124A89417638FDB11290EBD2C9@goexchange.pghcorning.com> Well I walked over to the network administrator and ask if he could reboot the server for me, as I remembered reading somewhere some time ago (can't remember where) that sometimes you may need to reboot the machine to delete the LDB file. In doing so, he opened his Active Directory User Interface and went to the server in question. He looked to see who was logged in, then he went into Sessions, there he could see every file that everyone is using. At the top of the list were all my users (including the one with 5 sessions running against the same LDB and MDW file). I ask him if he could manually close these files and said only if I know they weren't using them. I knew everyone was out of the system because of the problem so we did it. I ask a user to log in and out to give the database a chance to clean up its own LDB files and sure enough it did. And the speed is back to what it should be. I don't know if I stumbled upon anything in looking at the sessions of a server but it might be worth noting for anyone out there that has an issue with Orphaned users in LDB file. Thanks for all who responded, Rich -----Original Message----- From: Lavsa, Rich [mailto:Rich_Lavsa at pghcorning.com] Sent: Monday, October 04, 2004 11:22 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] LDB File, Orphaned Logins Hello all, I have a database that has been working for almost 2 years now with no trouble. It is split, with security. Both BE and FE share same MDW file. There have been no changes to this database for about a year. Recently the users are complaining about it becoming slow. I looked into some things, compressed and repair FE and BE. Still no luck. I noticed that even though everyone was out of the database that there were still LDB files (1 for BE and 1 for MDW) left on the server. I opened them in notepad and saw about 8 users still logged in, 5 of which were the same person. I tried to delete the LDB files, of which I got an error "cannot delete file due to a sharing violation". I have never had a corrupt database or LDB file, I'm hoping this isn't my first as this is a fairly large and complex database. Any help on how to clear these users out of the LDB File would be greatly appreciated. Thanks, Rich -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Christian.Brock at hoffman.army.mil Mon Oct 4 11:43:54 2004 From: Christian.Brock at hoffman.army.mil (Brock, Christian T, HRC-Alexandria) Date: Mon, 4 Oct 2004 12:43:54 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: With Access 97, Wise InstallBuilder 8.1, using Sagekey's script for Access 97, I have one application who's files add up to 5.09MB that is turned into a 10.6 MB installation file. Christian Brock -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Saturday, 02 October 2004 09:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Oct 4 13:33:55 2004 From: john at winhaven.net (John Bartow) Date: Mon, 4 Oct 2004 13:33:55 -0500 Subject: [AccessD] Size of Installable with SageKey In-Reply-To: Message-ID: Hi Christian, Just an FYI. I recently upgraded my Wise InstallBuilder 8.1 to Wise Installation System 9 for a VERY reasonable price. Don't know if they're still offering it but its worth a check. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Brock, Christian T, HRC-Alexandria Sent: Monday, October 04, 2004 11:44 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Size of Installable with SageKey With Access 97, Wise InstallBuilder 8.1, using Sagekey's script for Access 97, I have one application who's files add up to 5.09MB that is turned into a 10.6 MB installation file. Christian Brock -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Saturday, 02 October 2004 09:48 To: AccessD at databaseadvisors.com Subject: [AccessD] Size of Installable with SageKey Dear List: Does anyone know what the overhead is when you make an installable run-time of an access mde with the Wise/Sagekey combo? The mde is only about 6MB but I know a lot of access stuff has to be dragged along. How big does the installable file end up being? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 4 14:06:45 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 12:06:45 -0700 Subject: [AccessD] Size of Installable with SageKey References: Message-ID: <020301c4aa45$4af12700$6601a8c0@HAL9002> Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along with > the runtime files. We include some custom controls and some custom > libraries as well as test data that can be loaded. Everything fits > nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is only > about 6MB but I know a lot of access stuff has to be dragged along. How > big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Mon Oct 4 15:01:06 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 13:01:06 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: The Access XP runtime is big. It installs to about an uncompressed 20 Mb of files. Perhaps a quarter of our installer is the application files themselves, so say 15 Mb. Charlotte Foust -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Monday, October 04, 2004 12:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along > with the runtime files. We include some custom controls and some > custom libraries as well as test data that can be loaded. Everything > fits nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is > only about 6MB but I know a lot of access stuff has to be dragged > along. How big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Oct 4 15:03:48 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 13:03:48 -0700 Subject: [AccessD] MsgBox, global setting for Title Message-ID: I think I'm the one missing things! Somewhere along the way, probably in the switch from Access Basic to VBA, that seems to have changed. I think I would create a messagebox class and have it pass the app title as the default title to the actual function if I wanted to avoid having to supply it myself. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Saturday, October 02, 2004 3:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MsgBox, global setting for Title Hi Charlotte et all This property didn't exist if this is what you are referring to: CurrentProject.Properties("AppTitle") But adding it and setting its value to "MyTitle" doesn't make any difference to the default MsgBox title. /gustav > Hi Charlotte > Thanks. The only problem is that it doesn't work ... > In the debug window: > ? Currentdb.Properties("AppTitle").Value > MyTitle > Still, the title of a messagebox: > Msgbox "Test" > is "Microsoft Access" and not "MyTitle". > I have done a title bar refresh and even a relaunch with no luck. What > am I missing? > /gustav >> It picks up the AppTitle property as the default. So if your >> AppTitle isn't set, you get Microsoft Access as the msgbox title >> unless you override it with a title string argument. >> Charlotte Foust >> -----Original Message----- >> From: Gustav Brock [mailto:gustav at cactus.dk] >> Sent: Friday, October 01, 2004 11:42 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] MsgBox, global setting for Title >> Hi all >> Can you somehow set a global string for Title of MsgBox so you don't >> have to set it each and everywhere? >> I faintly recall this can be done ... but how? -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Oct 4 16:18:22 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 4 Oct 2004 17:18:22 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: < -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 04, 2004 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along with > the runtime files. We include some custom controls and some custom > libraries as well as test data that can be loaded. Everything fits > nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is only > about 6MB but I know a lot of access stuff has to be dragged along. How > big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 4 16:44:25 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 14:44:25 -0700 Subject: [AccessD] Size of Installable with SageKey References: Message-ID: <032201c4aa5b$51c61b60$6601a8c0@HAL9002> Well, overhead of 20 ain't too bad. Our app is only about 3-4MB and there's no ocx files, MDAC, none of that stuff. Just real plain vanilla Access. Oh, yeah, DAO. Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 1:01 PM Subject: RE: [AccessD] Size of Installable with SageKey > The Access XP runtime is big. It installs to about an uncompressed 20 > Mb of files. Perhaps a quarter of our installer is the application > files themselves, so say 15 Mb. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Monday, October 04, 2004 12:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Charlotte: > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > program to people without Access. So it would have to be a run time. > And it would probably be available as a download from our website. > > Do you know of that 60MB how much is your stuff and how much is Access? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 04, 2004 9:09 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Ours run about 60Mb, which includes graphics and help files, along > > with the runtime files. We include some custom controls and some > > custom libraries as well as test data that can be loaded. Everything > > fits nicely on a CD. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > > run-time of an access mde with the Wise/Sagekey combo? The mde is > > only about 6MB but I know a lot of access stuff has to be dragged > > along. How big does the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 4 16:45:10 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 14:45:10 -0700 Subject: [AccessD] Size of Installable with SageKey References: Message-ID: <032801c4aa5b$6c93d4f0$6601a8c0@HAL9002> If it does then they're cured, and we move from Analysis to treatment. How are YOU sleeping these days? Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Scott Marcus" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 2:18 PM Subject: RE: [AccessD] Size of Installable with SageKey > < Analysis program to people without Access. > > Now that's a lot of people. VBG > Aer you hoping that the Analysis program puts them to sleep? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, October 04, 2004 3:07 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > Charlotte: > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > program to people without Access. So it would have to be a run time. > And it would probably be available as a download from our website. > > Do you know of that 60MB how much is your stuff and how much is Access? > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 04, 2004 9:09 AM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > Ours run about 60Mb, which includes graphics and help files, along > with > > the runtime files. We include some custom controls and some custom > > libraries as well as test data that can be loaded. Everything fits > > nicely on a CD. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Saturday, October 02, 2004 6:48 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] Size of Installable with SageKey > > > > > > Dear List: > > > > Does anyone know what the overhead is when you make an installable > > run-time of an access mde with the Wise/Sagekey combo? The mde is > only > > about 6MB but I know a lot of access stuff has to be dragged along. > How > > big does the installable file end up being? > > > > MTIA > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 4 16:46:05 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 14:46:05 -0700 Subject: [AccessD] FOR JOE HECHT Fw: Returned mail: see transcript for details Message-ID: <034301c4aa5b$8d22f200$6601a8c0@HAL9002> Joe: I tried to send you a Sleep Doctor but got this back. Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Monday, October 04, 2004 2:28 PM Subject: Returned mail: see transcript for details > The original message was received at Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > from 24-25-217-158.san.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > (reason: 550 jmhla%@earthlink.net...User unknown) > > ----- Transcript of session follows ----- > ... while talking to mx5.earthlink.net.: > >>> RCPT To: > <<< 550 jmhla%@earthlink.net...User unknown > 550 5.1.1 ... User unknown > ---------------------------------------------------------------------------- ---- > Received: from HAL9002 (24-25-217-158.san.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id i94LS7uY003554 > for ; Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > Message-ID: <02d401c4aa59$0c274d10$6601a8c0 at HAL9002> > From: "Rocky Smolin - Beach Access Software" > To: > References: <200410042101.i94L1EPx009993 at lamx02.mgw.rr.com> > Subject: Re: Sleep disorder software > Date: Mon, 4 Oct 2004 14:28:09 -0700 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="----=_NextPart_000_02D0_01C4AA1E.5F66CD10" > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2800.1437 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From cfoust at infostatsystems.com Mon Oct 4 16:47:51 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Oct 2004 14:47:51 -0700 Subject: [AccessD] Size of Installable with SageKey Message-ID: If they still can't sleep, someone can drop the installer on their heads! LOL Charlotte Foust -----Original Message----- From: Scott Marcus [mailto:marcus at tsstech.com] Sent: Monday, October 04, 2004 2:18 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Size of Installable with SageKey < -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 04, 2004 3:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Size of Installable with SageKey Charlotte: I'm thinking about sending out beta tests of our Sleep Disorder Analysis program to people without Access. So it would have to be a run time. And it would probably be available as a download from our website. Do you know of that 60MB how much is your stuff and how much is Access? Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 9:09 AM Subject: RE: [AccessD] Size of Installable with SageKey > Ours run about 60Mb, which includes graphics and help files, along with > the runtime files. We include some custom controls and some custom > libraries as well as test data that can be loaded. Everything fits > nicely on a CD. > > Charlotte Foust > > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Saturday, October 02, 2004 6:48 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Size of Installable with SageKey > > > Dear List: > > Does anyone know what the overhead is when you make an installable > run-time of an access mde with the Wise/Sagekey combo? The mde is only > about 6MB but I know a lot of access stuff has to be dragged along. How > big does the installable file end up being? > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Mon Oct 4 17:43:08 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Mon, 4 Oct 2004 18:43:08 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: <20041004224308.CZLJ29837.fed1rmmtao12.cox.net@smtp.west.cox.net> Could be but the info I have indicates that V4 came out during the Windows 95 era and was part of Windows 98. > > From: "Charlotte Foust" > Date: 2004/10/04 Mon PM 12:03:17 EDT > To: "Access Developers discussion and problem solving" > > Subject: RE: [AccessD] Size of Installable with SageKey > > No, I think Win98 still had IE 2.x or 3.x. Version 4 and later didn't > come along until later. > > Charlotte Foust > > > -----Original Message----- > From: Doug Murphy [mailto:dw-murphy at cox.net] > Sent: Sunday, October 03, 2004 10:38 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Size of Installable with SageKey > > > Rocky, > > My understanding is that IE is present on all windows machines. The > Access 2002 runtime will only work on Windows 98 and later operating > systems. I belive that IE 4 or 5 came as part of Windows 98. We have > had no issues with not installing IE with our package. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Saturday, October 02, 2004 5:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Size of Installable with SageKey > > > Doug: > > When you say it only requires IE4 does that mean that IE4 must be > present on the target machine? What if it's not there? What if they > have a later version? > > TIA > > Rocky > > ----- Original Message ----- > From: "Doug Murphy" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 02, 2004 1:39 PM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > The downloadable version of the scripts, the one we use, only requires > > IE4 which should be on any machine that our software is put on. This > > script does not install IE. If you use ADO library 2.6 you will need > > to use the > CD > > version of the scripts and it does load IE which includes MDAC 2.6. I > > suspect the CD version of the scripts includes both packages. > > > > Doug > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Saturday, October 02, 2004 12:59 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > > > Doug: > > > > Thanks. Is that a switchable option (the IE thing) or do you have to > > buy > it > > like that? > > > > Rocky > > > > ----- Original Message ----- > > From: "Doug Murphy" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Saturday, October 02, 2004 10:56 AM > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > Rocky, > > > > > > We are using Wise and Sagekey for our Access 2002 install. The > > > installer file overhead is 40M, which includes all the MS runtime > > > stuff. I user the Sagekey script that does not install Internet > > > Explorer. > > > > > > Doug > > > > > > -----Original Message----- > > > From: accessd-bounces at databaseadvisors.com > > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > > Smolin - Beach Access Software > > > Sent: Saturday, October 02, 2004 6:48 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Size of Installable with SageKey > > > > > > > > > Dear List: > > > > > > Does anyone know what the overhead is when you make an installable > > run-time > > > of an access mde with the Wise/Sagekey combo? The mde is only about > > > 6MB > > but > > > I know a lot of access stuff has to be dragged along. How big does > > > the installable file end up being? > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dw-murphy at cox.net Mon Oct 4 17:53:45 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Mon, 4 Oct 2004 18:53:45 -0400 Subject: [AccessD] Size of Installable with SageKey Message-ID: <20041004225345.CQL24687.fed1rmmtao05.cox.net@smtp.west.cox.net> Rocky, I may have missed the message that said what version of Access you are using. If your using XP or 3003 I think your package is going to be 50 meg or larger. Doug > > From: "Rocky Smolin - Beach Access Software" > Date: 2004/10/04 Mon PM 05:44:25 EDT > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Size of Installable with SageKey > > Well, overhead of 20 ain't too bad. Our app is only about 3-4MB and there's > no ocx files, MDAC, none of that stuff. Just real plain vanilla Access. > Oh, yeah, DAO. > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 04, 2004 1:01 PM > Subject: RE: [AccessD] Size of Installable with SageKey > > > > The Access XP runtime is big. It installs to about an uncompressed 20 > > Mb of files. Perhaps a quarter of our installer is the application > > files themselves, so say 15 Mb. > > > > Charlotte Foust > > > > > > -----Original Message----- > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > Sent: Monday, October 04, 2004 12:07 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > > > Charlotte: > > > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > > program to people without Access. So it would have to be a run time. > > And it would probably be available as a download from our website. > > > > Do you know of that 60MB how much is your stuff and how much is Access? > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, October 04, 2004 9:09 AM > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > Ours run about 60Mb, which includes graphics and help files, along > > > with the runtime files. We include some custom controls and some > > > custom libraries as well as test data that can be loaded. Everything > > > fits nicely on a CD. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > > Sent: Saturday, October 02, 2004 6:48 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] Size of Installable with SageKey > > > > > > > > > Dear List: > > > > > > Does anyone know what the overhead is when you make an installable > > > run-time of an access mde with the Wise/Sagekey combo? The mde is > > > only about 6MB but I know a lot of access stuff has to be dragged > > > along. How big does the installable file end up being? > > > > > > MTIA > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 4 20:40:48 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 4 Oct 2004 18:40:48 -0700 Subject: [AccessD] Size of Installable with SageKey References: <20041004225345.CQL24687.fed1rmmtao05.cox.net@smtp.west.cox.net> Message-ID: <036601c4aa7c$5765ea20$6601a8c0@HAL9002> Doug: I'm using A2K. Rocky ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Monday, October 04, 2004 3:53 PM Subject: Re: Re: [AccessD] Size of Installable with SageKey > Rocky, > > I may have missed the message that said what version of Access you are using. If your using XP or 3003 I think your package is going to be 50 meg or larger. > > Doug > > > > From: "Rocky Smolin - Beach Access Software" > > Date: 2004/10/04 Mon PM 05:44:25 EDT > > To: "Access Developers discussion and problem solving" > > > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > Well, overhead of 20 ain't too bad. Our app is only about 3-4MB and there's > > no ocx files, MDAC, none of that stuff. Just real plain vanilla Access. > > Oh, yeah, DAO. > > > > Rocky > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Monday, October 04, 2004 1:01 PM > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > The Access XP runtime is big. It installs to about an uncompressed 20 > > > Mb of files. Perhaps a quarter of our installer is the application > > > files themselves, so say 15 Mb. > > > > > > Charlotte Foust > > > > > > > > > -----Original Message----- > > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > > Sent: Monday, October 04, 2004 12:07 PM > > > To: Access Developers discussion and problem solving > > > Subject: Re: [AccessD] Size of Installable with SageKey > > > > > > > > > Charlotte: > > > > > > I'm thinking about sending out beta tests of our Sleep Disorder Analysis > > > program to people without Access. So it would have to be a run time. > > > And it would probably be available as a download from our website. > > > > > > Do you know of that 60MB how much is your stuff and how much is Access? > > > > > > Rocky > > > > > > ----- Original Message ----- > > > From: "Charlotte Foust" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Monday, October 04, 2004 9:09 AM > > > Subject: RE: [AccessD] Size of Installable with SageKey > > > > > > > > > > Ours run about 60Mb, which includes graphics and help files, along > > > > with the runtime files. We include some custom controls and some > > > > custom libraries as well as test data that can be loaded. Everything > > > > fits nicely on a CD. > > > > > > > > Charlotte Foust > > > > > > > > > > > > -----Original Message----- > > > > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > > > > Sent: Saturday, October 02, 2004 6:48 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] Size of Installable with SageKey > > > > > > > > > > > > Dear List: > > > > > > > > Does anyone know what the overhead is when you make an installable > > > > run-time of an access mde with the Wise/Sagekey combo? The mde is > > > > only about 6MB but I know a lot of access stuff has to be dragged > > > > along. How big does the installable file end up being? > > > > > > > > MTIA > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > http://www.e-z-mrp.com > > > > > > > > -- > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > -- > > > > _______________________________________________ > > > > AccessD mailing list > > > > AccessD at databaseadvisors.com > > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhla at earthlink.net Tue Oct 5 00:13:52 2004 From: jmhla at earthlink.net (Joe Hecht) Date: Mon, 4 Oct 2004 22:13:52 -0700 Subject: [AccessD] FOR JOE HECHT Fw: Returned mail: see transcript fordetails In-Reply-To: <034301c4aa5b$8d22f200$6601a8c0@HAL9002> Message-ID: <200410050513.i955DfL06830@databaseadvisors.com> Where did the % sign come from? The address is right except for %. Joe Hecht jmhla at earthlink.net 28g -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 04, 2004 2:46 PM To: AccessD at databaseadvisors.com Subject: [AccessD] FOR JOE HECHT Fw: Returned mail: see transcript fordetails Joe: I tried to send you a Sleep Doctor but got this back. Rocky ----- Original Message ----- From: "Mail Delivery Subsystem" To: Sent: Monday, October 04, 2004 2:28 PM Subject: Returned mail: see transcript for details > The original message was received at Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > from 24-25-217-158.san.rr.com [24.25.217.158] > > ----- The following addresses had permanent fatal errors ----- > > (reason: 550 jmhla%@earthlink.net...User unknown) > > ----- Transcript of session follows ----- > ... while talking to mx5.earthlink.net.: > >>> RCPT To: > <<< 550 jmhla%@earthlink.net...User unknown > 550 5.1.1 ... User unknown > ---------------------------------------------------------------------------- ---- > Received: from HAL9002 (24-25-217-158.san.rr.com [24.25.217.158]) > by ms-smtp-03-eri0.socal.rr.com (8.12.10/8.12.7) with SMTP id i94LS7uY003554 > for ; Mon, 4 Oct 2004 14:28:07 -0700 (PDT) > Message-ID: <02d401c4aa59$0c274d10$6601a8c0 at HAL9002> > From: "Rocky Smolin - Beach Access Software" > To: > References: <200410042101.i94L1EPx009993 at lamx02.mgw.rr.com> > Subject: Re: Sleep disorder software > Date: Mon, 4 Oct 2004 14:28:09 -0700 > MIME-Version: 1.0 > Content-Type: multipart/mixed; > boundary="----=_NextPart_000_02D0_01C4AA1E.5F66CD10" > X-Priority: 3 > X-MSMail-Priority: Normal > X-Mailer: Microsoft Outlook Express 6.00.2800.1437 > X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 > X-Virus-Scanned: Symantec AntiVirus Scan Engine > From gustav at cactus.dk Tue Oct 5 05:32:43 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Oct 2004 12:32:43 +0200 Subject: [AccessD] MsgBox, global setting for Title In-Reply-To: References: Message-ID: <7912699991.20041005123243@cactus.dk> Hi Charlotte OK, thanks. Then I guess it's time to bury this dog. I'll stick to my global variable ... /gustav > I think I'm the one missing things! Somewhere along the way, probably > in the switch from Access Basic to VBA, that seems to have changed. I > think I would create a messagebox class and have it pass the app title > as the default title to the actual function if I wanted to avoid having > to supply it myself. > Charlotte Foust > -----Original Message----- > From: Gustav Brock [mailto:gustav at cactus.dk] > Sent: Saturday, October 02, 2004 3:28 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MsgBox, global setting for Title > Hi Charlotte et all > This property didn't exist if this is what you are referring to: > CurrentProject.Properties("AppTitle") > But adding it and setting its value to "MyTitle" doesn't make any > difference to the default MsgBox title. > /gustav >> Hi Charlotte >> Thanks. The only problem is that it doesn't work ... >> In the debug window: >> ? Currentdb.Properties("AppTitle").Value >> MyTitle >> Still, the title of a messagebox: >> Msgbox "Test" >> is "Microsoft Access" and not "MyTitle". >> I have done a title bar refresh and even a relaunch with no luck. What >> am I missing? >> /gustav >>> It picks up the AppTitle property as the default. So if your >>> AppTitle isn't set, you get Microsoft Access as the msgbox title >>> unless you override it with a title string argument. >>> Charlotte Foust >>> -----Original Message----- >>> From: Gustav Brock [mailto:gustav at cactus.dk] >>> Sent: Friday, October 01, 2004 11:42 AM >>> To: AccessD at databaseadvisors.com >>> Subject: [AccessD] MsgBox, global setting for Title >>> Hi all >>> Can you somehow set a global string for Title of MsgBox so you don't >>> have to set it each and everywhere? >>> I faintly recall this can be done ... but how? From gustav at cactus.dk Tue Oct 5 05:40:50 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 5 Oct 2004 12:40:50 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041004121006.1004197457.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> Message-ID: <4813187803.20041005124050@cactus.dk> Hi Steven Well, it's up to your fantasy! How about "dissappear"? However, I my recall incorrectly. /gustav > Gustav, > Well, I've asked a few questinos of the archives, but I get messages dealing with page numbering and text box length. I tried "invisible number" and got a lot of messages with the word "invisible" > in them. How careful should I be? > Steve Erbach > Neenah, WI >> ------------Original Message------------ >> From: Gustav Brock >> To: "Access Developers discussion and problem solving" >> Date: Mon, Oct-4-2004 8:10 AM >> Subject: Re: [AccessD] A2K: Report number format visible but not numbers >> >> Hi Steven >> >> Did you carefully look up the archive on this? >> I faintly recall a similar situation. >> >> /gustav From john at winhaven.net Tue Oct 5 08:25:44 2004 From: john at winhaven.net (John Bartow) Date: Tue, 5 Oct 2004 08:25:44 -0500 Subject: [AccessD] x-posted XP SP2 on CD Message-ID: For those that haven't installed it yet, you can get XP SP2 on CD: http://www.microsoft.com/windowsxp/downloads/updates/sp2/cdorder/en_us/defau lt.mspx?urlID=425822449 From paul.hartland at fsmail.net Tue Oct 5 09:41:50 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Tue, 5 Oct 2004 16:41:50 +0200 (CEST) Subject: [AccessD] Turning Custom MenuBar Options On/Off Message-ID: <26402479.1096987310101.JavaMail.www@wwinf3001> To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From cfoust at infostatsystems.com Tue Oct 5 10:17:30 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 5 Oct 2004 08:17:30 -0700 Subject: [AccessD] Turning Custom MenuBar Options On/Off Message-ID: What do you mean by "turning the various options on/off"? Are you asking about disabling some of the items on the menus? If so, what are the conditions involved? Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, October 05, 2004 7:42 AM To: accessd Subject: [AccessD] Turning Custom MenuBar Options On/Off To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Oct 5 10:25:06 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 5 Oct 2004 11:25:06 -0400 Subject: [AccessD] Turning Custom MenuBar Options On/Off In-Reply-To: <916187228923D311A6FE00A0CC3FAA309C4AE1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB8BC@ADGSERVER> Paul, Here is some example code for you: With CommandBars("Wrap Reports/Utils") .Controls("Letters").Enabled = bTF .Controls("Reports").Enabled = bTF With .Controls("Utilities") .Controls("Certificate Default Values").Enabled = bTF .Controls("Conversion Log").Enabled = bTF .Controls("Coverages").Enabled = bTF End With end with The name of the command bar is "Wrap Reports/Utils". There is a sub menu named "Utilities". You could use something like: CommandBars("Wrap Reports/Utils").Controls("Utilities").Controls("Coverages").Enabled = true You should also be able to set visible instead of the enabled as shown here. The code is in a function that is passed a boolean. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of paul.hartland at fsmail.net Sent: Tuesday, October 05, 2004 10:42 AM To: accessd Subject: [AccessD] Turning Custom MenuBar Options On/Off To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland From awithing at twcny.rr.com Tue Oct 5 15:00:19 2004 From: awithing at twcny.rr.com (augusta) Date: Tue, 5 Oct 2004 16:00:19 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200409111553.i8BFr8630653@databaseadvisors.com> Message-ID: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta From jwcolby at colbyconsulting.com Tue Oct 5 15:45:06 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 05 Oct 2004 16:45:06 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> Message-ID: <002101c4ab1c$32b0ad50$e8dafea9@ColbyM6805> Are you a programmer? In plain VB, in OnClick of the checkbox, check if the box is checked or unchecked. If checked, place the cursor in the text box and open a message box or some such. If unchecked, clear out the text box. You would want to also do things like disable the text box unless the check box is checked etc, or alternately if the text box has something entered, then check the check box. This is in fact a facet of normalization where you have the same information stored in more than one place. The check box stores the fact that contributions are restricted, but the simple fact that something is in the text box stores the fact that contributions are restricted. You don't need the check box at all, it is a convenience which raises ugly issues such as how to keep the two controls in sync. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JOHNWARDBELL at aol.com Tue Oct 5 15:59:25 2004 From: JOHNWARDBELL at aol.com (JOHNWARDBELL at aol.com) Date: Tue, 5 Oct 2004 16:59:25 EDT Subject: [AccessD] x-posted XP SP2 on CD Message-ID: <103.516a61e0.2e94652d@aol.com> does anyone known address of Office XP SP3 on a CD ? In this neck of the woods it will take over 5 hours to DL it. TIA johnb From dwaters at usinternet.com Tue Oct 5 16:10:38 2004 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 5 Oct 2004 16:10:38 -0500 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <19865371.1097009804340.JavaMail.root@sniper2.usinternet.com> Message-ID: <004f01c4ab1f$c3ca7de0$de1811d8@danwaters> However, it could be that someone or the system determines the requirement for the text box to be filled in, and then someone else fills in the text information. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 05, 2004 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] fill in x field if y field is checked Are you a programmer? In plain VB, in OnClick of the checkbox, check if the box is checked or unchecked. If checked, place the cursor in the text box and open a message box or some such. If unchecked, clear out the text box. You would want to also do things like disable the text box unless the check box is checked etc, or alternately if the text box has something entered, then check the check box. This is in fact a facet of normalization where you have the same information stored in more than one place. The check box stores the fact that contributions are restricted, but the simple fact that something is in the text box stores the fact that contributions are restricted. You don't need the check box at all, it is a convenience which raises ugly issues such as how to keep the two controls in sync. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From awithing at twcny.rr.com Tue Oct 5 16:36:47 2004 From: awithing at twcny.rr.com (withington) Date: Tue, 05 Oct 2004 17:36:47 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <002101c4ab1c$32b0ad50$e8dafea9@ColbyM6805> References: <002101c4ab1c$32b0ad50$e8dafea9@ColbyM6805> Message-ID: <416313EF.1010003@twcny.rr.com> John W. Colby wrote: >Are you a programmer? > > no I am far from it. I wish that I were, but too many things to learn! However, I have deceided that I need to learn more about Access and it "power". So I think that I need a more detailed explaination? I think that the user would like to be able to check the box first >In plain VB, in OnClick of the checkbox, check if the box is checked or >unchecked. If checked, place the cursor in the text box and open a message >box or some such. If unchecked, clear out the text box. You would want to >also do things like disable the text box unless the check box is checked >etc, or alternately if the text box has something entered, then check the >check box. > >This is in fact a facet of normalization where you have the same information >stored in more than one place. The check box stores the fact that >contributions are restricted, but the simple fact that something is in the >text box stores the fact that contributions are restricted. You don't need >the check box at all, it is a convenience which raises ugly issues such as >how to keep the two controls in sync. > >John W. Colby >www.ColbyConsulting.com > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta >Sent: Tuesday, October 05, 2004 4:00 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] fill in x field if y field is checked > > >I need to know how to make a field required if another field is checked. For >example: If the contributions are restricted, then fill in the restricted >reason. > >Can anyone help - in plain English? > >Thanks Augusta > > > > > From jwcolby at colbyconsulting.com Tue Oct 5 16:56:06 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 05 Oct 2004 17:56:06 -0400 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <004f01c4ab1f$c3ca7de0$de1811d8@danwaters> Message-ID: <002301c4ab26$21df0f30$e8dafea9@ColbyM6805> That's true, but doesn't negate the fact that it is duplication of information. I stated that it is a convenience. The text box could be filled with a code to indicate that it needed to be filled in or something. Normalization is about storing info in one place so that multiple locations don't have to be kept in sync. This is a rather classic case where two places have to be kept in sync. If the check box is checked, then the text box has to be filled else the text box has to be cleared. Assuming that the check box is used somewhere (in queries etc) then if the text box is filled, the check box has to be filled. And so you chase your tail. I am not making a judgment as to whether it is a necessity, simply stating a fact that this is the case and if it is possible to get rid of the duplication, life is usually simpler. I also answered the original question about how to attempt to keep them in sync, and some issues perhaps not considered. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, October 05, 2004 5:11 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] fill in x field if y field is checked However, it could be that someone or the system determines the requirement for the text box to be filled in, and then someone else fills in the text information. Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 05, 2004 3:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] fill in x field if y field is checked Are you a programmer? In plain VB, in OnClick of the checkbox, check if the box is checked or unchecked. If checked, place the cursor in the text box and open a message box or some such. If unchecked, clear out the text box. You would want to also do things like disable the text box unless the check box is checked etc, or alternately if the text box has something entered, then check the check box. This is in fact a facet of normalization where you have the same information stored in more than one place. The check box stores the fact that contributions are restricted, but the simple fact that something is in the text box stores the fact that contributions are restricted. You don't need the check box at all, it is a convenience which raises ugly issues such as how to keep the two controls in sync. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 4:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta From stuart at lexacorp.com.pg Tue Oct 5 17:08:49 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 06 Oct 2004 08:08:49 +1000 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> References: <200409111553.i8BFr8630653@databaseadvisors.com> Message-ID: <4163A811.475.18CCDCD6@lexacorp.com.pg> On 5 Oct 2004 at 16:00, augusta wrote: > I need to know how to make a field required if another field is checked. For > example: If the contributions are restricted, then fill in the restricted > reason. > > Can anyone help - in plain English? > It's called "validation" :-) In your from's Before_Update event procedure, you need to do something like: If Resricted = True and isnull(Reason) then Msgbox "You must give a reason for restricting contributions" Cancel = True Me.Restricted.SetFocus End if -- Stuart From paul.hartland at fsmail.net Wed Oct 6 03:01:12 2004 From: paul.hartland at fsmail.net (paul.hartland at fsmail.net) Date: Wed, 6 Oct 2004 10:01:12 +0200 (CEST) Subject: [AccessD] Turning Custom MenuBar Options On/Off Message-ID: <16596521.1097049672382.JavaMail.www@wwinf3005> Yes sorry I mean the various menu options, the main one is when a person opens the application if a store code isn't in the table, then I want to disable everything except Select Store Code and Exit Application Paul Message date : Oct 05 2004, 04:18 PM >From : "Charlotte Foust" To : "Access Developers discussion and problem solving" Copy to : Subject : RE: [AccessD] Turning Custom MenuBar Options On/Off What do you mean by "turning the various options on/off"? Are you asking about disabling some of the items on the menus? If so, what are the conditions involved? Charlotte Foust -----Original Message----- From: paul.hartland at fsmail.net [mailto:paul.hartland at fsmail.net] Sent: Tuesday, October 05, 2004 7:42 AM To: accessd Subject: [AccessD] Turning Custom MenuBar Options On/Off To all, Believe it or not I have used Access for a few years now, and have only just started using the custom menu bars. I have a MenuBar called B&Q, which in turn has three menus on it (File Options, Edit Options, Report Options), which in turn have options that the user can select. Does anyone have any sample code or can tell me where to get some sample code on turning the various options on/off Thanks in advance for all your help Paul Hartland -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- Whatever you Wanadoo: http://www.wanadoo.co.uk/time/ This email has been checked for most known viruses - find out more at: http://www.wanadoo.co.uk/help/id/7098.htm From davide at dalyn.co.nz Wed Oct 6 05:02:13 2004 From: davide at dalyn.co.nz (David Emerson) Date: Wed, 06 Oct 2004 23:02:13 +1300 Subject: [AccessD] Graphic Does Not Show On Another Machine Message-ID: <6.1.2.0.0.20041006230132.01a3cb10@mail.dalyn.co.nz> A97 runtime. I have a similar problem with a WXP computer that is not showing JPG graphics in a report. The computer doesn't seem to have the C:\Program Files\Common Files\Microsoft Shared\Grphflt\MS.JPG file installed. Is it a simple matter of copying the file into the folder, or does some sort of installation need to take place? Regards David Emerson Dalyn Software Ltd 25 Cunliffe St, Churton Park Wellington, New Zealand Ph/Fax (04) 478-7456 Mobile 027-280-9348 At 24/07/2004, you wrote: >I assume you are just storing the path name of the file. >and doing something like >Me.Picture="C:\image\myimage.jpg" > >This gets messy because the defaults are not explained by MS >They assume you have a full office install when running Access. > >There are a series of graphic filters that are installed by various MS >Products. >MS Access ODE installs a lot with a full install but not MS Access >Standard, MS Word also installs a lot of these filters. >These will affect what is displayed in an image or picture control. >Sometimes just changing the file extension from jpeg to jpg will allow >display. Just installing MS Word may allow you access to these filters >or a full install of the ODE >Most are found at least in WinXP in the following directory. >C:\Program Files\Common Files\Microsoft Shared\Grphflt > > > > In addition to these filters, use depends on OLE servers installed. > >See these urls for more info > > Forms: Displaying photos in a form >http://www.mvps.org/access/forms/frm0044.htm >Lebans using intel library >http://www.lebans.com/loadsavejpeg.htm >Lebans Image transparancy >http://www.lebans.com/image_faq.htm > function to allow for the Display of Jpeg and Gif files on systems that >do not have the Office Graphic Filters installed. > TIF and PNG formats are now supported via the Microsoft GDI+ DLL. The >GDI+ DLL is freely redistributable and available directly from MS here >http://www.lebans.com/loadjpeggif.htm > >JPEG File Interchange Format File >The JPEG graphics filter (Jpegim32.flt) supports version 6.0 of the JPEG >File Interchange Format (JFIF). You must have the JPEG filter installed to >insert a .jpg file into a Word document as a Microsoft Clip Gallery object >or a Photo Editor object. However, to insert a .jpg file directly into a >Word document, you do not need the JPEG filter. The filter supports cyan- >magenta-yellow-black (CMYK) JPEG files. > >The JPEG filter has the following limitation: >The filter does not support JPEG Tagged Interchange Format (JTIF) files. > >On Thu, 22 Jul 2004 09:04:16 -0500, Jantz, Mathias > wrote: > > >I have a database that stores pictures (.jpg) in a field of a table. > > > >On my machine, the picture works fine. > > > >On another's machine, it just show the name of the image (imageName.jpg) > >in both the form and the report. > > > >Could there be something that was not installed on that machine? > > > > > >Thanks > >Mathias From ssharkins at bellsouth.net Wed Oct 6 07:06:21 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 08:06:21 -0400 Subject: [AccessD] Error Handler Add-in Message-ID: <20041006120628.LJRO1790.imf18aec.mail.bellsouth.net@SUSANONE> Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing about it and I'd like to know if anybody likes it. Susan H. From bheid at appdevgrp.com Wed Oct 6 07:35:10 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 6 Oct 2004 08:35:10 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <916187228923D311A6FE00A0CC3FAA309C4D33@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB8C7@ADGSERVER> I don't use one, but I would like to. :-) Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, October 06, 2004 8:06 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Error Handler Add-in Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing about it and I'd like to know if anybody likes it. Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 6 08:01:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 09:01:43 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <916187228923D311A6FE00A0CC3FAA305BB8C7@ADGSERVER> Message-ID: <20041006130145.HCSE1718.imf16aec.mail.bellsouth.net@SUSANONE> Well, I can't even find the thing in 2003 -- there use to be one in earlier versions -- it came with the developer version I think. It's easy to use -- so I'm curious if anyone actually uses it. It's one of the more frustrating things about 2003. I can't find anything. ;( So, if it doesn't even come with 2003 -- kind of a moot topic. Susan H. I don't use one, but I would like to. :-) Bobby Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing about it and I'd like to know if anybody likes it. From bchacc at san.rr.com Wed Oct 6 08:19:00 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 6 Oct 2004 06:19:00 -0700 Subject: [AccessD] Error Handler Add-in References: <20041006120628.LJRO1790.imf18aec.mail.bellsouth.net@SUSANONE> Message-ID: <006201c4aba7$0b52f250$6601a8c0@HAL9002> Colby has one on his web site that I've used. Rocky ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 06, 2004 5:06 AM Subject: [AccessD] Error Handler Add-in > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > about it and I'd like to know if anybody likes it. > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 6 08:32:23 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 09:32:23 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <006201c4aba7$0b52f250$6601a8c0@HAL9002> Message-ID: <20041006133224.SGNR1792.imf22aec.mail.bellsouth.net@SUSANONE> I need to use the one that comes with Access -- or at least use to. ;( Susan H. Colby has one on his web site that I've used. From billmorrill at comcast.net Wed Oct 6 09:19:51 2004 From: billmorrill at comcast.net (billmorrill at comcast.net) Date: Wed, 06 Oct 2004 14:19:51 +0000 Subject: [AccessD] Error Handler Add-in Message-ID: <100620041419.19850.4163FF07000CAFBD00004D8A22007354460404079D9D01030404070D@comcast.net> No Addin required if you do the following: I use Insert File on the VBE Menu. I created my own template with.txt extension and store it in My Documents folder. To use it I just do Insert File and pull in the template. In the template there is a Select Case statement to isolate the number. Also, there is a little note that says Code goes here. It works great and it's customized. Bill M. -------------- Original message -------------- > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > about it and I'd like to know if anybody likes it. > > Susan H. > -- > _______________________________________________ > 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 Oct 6 09:25:04 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 6 Oct 2004 15:25:04 +0100 Subject: [AccessD] Error Handler Add-in Message-ID: <20041006142501.B3863253349@smtp.nildram.co.uk> When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Date: 06/10/04 13:36 > > I need to use the one that comes with Access -- or at least use to. ;( > > Susan H. > > Colby has one on his web site that I've used. > > > -- > _______________________________________________ > 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 ssharkins at bellsouth.net Wed Oct 6 09:27:25 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 10:27:25 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <20041006142501.B3863253349@smtp.nildram.co.uk> Message-ID: <20041006142730.KBCK1756.imf17aec.mail.bellsouth.net@SUSANONE> Andy -- it may not have been included until 2000 -- I'm pretty sure it's in 2000 and XP. Susan H. When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. From JHewson at karta.com Wed Oct 6 09:31:34 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 6 Oct 2004 09:31:34 -0500 Subject: [AccessD] Error Handler Add-in Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BBF@karta-exc-int.Karta.com> I use 2000, I don't' see it. Where is it located? Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Wednesday, October 06, 2004 9:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Andy -- it may not have been included until 2000 -- I'm pretty sure it's in 2000 and XP. Susan H. When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Wed Oct 6 09:58:22 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Wed, 6 Oct 2004 10:58:22 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C02068BBF@karta-exc-int.Karta.com> Message-ID: <000e01c4abb4$ecb40420$060aa845@hargrove.internal> I found documentation for it at this link... http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm l/derefode_help_codecomm.asp Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Wednesday, October 06, 2004 10:32 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Error Handler Add-in I use 2000, I don't' see it. Where is it located? Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Wednesday, October 06, 2004 9:27 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Andy -- it may not have been included until 2000 -- I'm pretty sure it's in 2000 and XP. Susan H. When you say earlier versions Susan, which do you mean? I still use primarily (ok, totally) A97 and don't know of or see an Error Handler Add-in. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Wed Oct 6 09:57:19 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Wed, 6 Oct 2004 10:57:19 -0400 Subject: [AccessD] Error Handler Add-in Message-ID: <20041006145719.BSNN25647.fed1rmmtao03.cox.net@smtp.west.cox.net> Susan, I have the XP Developer Edition but use the error handler insert from MZ Tools. It also has some nice features to insert Module descriptive headers and procedure descriptive headers, along with many other handy features. Doug > > From: "Susan Harkins" > Date: 2004/10/06 Wed AM 09:01:43 EDT > To: "'Access Developers discussion and problem solving'" > > Subject: RE: [AccessD] Error Handler Add-in > > Well, I can't even find the thing in 2003 -- there use to be one in earlier > versions -- it came with the developer version I think. It's easy to use -- > so I'm curious if anyone actually uses it. > > It's one of the more frustrating things about 2003. I can't find anything. > ;( So, if it doesn't even come with 2003 -- kind of a moot topic. > > Susan H. > > I don't use one, but I would like to. :-) > > Bobby > > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > about it and I'd like to know if anybody likes it. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cyx5 at cdc.gov Wed Oct 6 12:09:51 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 6 Oct 2004 13:09:51 -0400 Subject: [AccessD] Another User Edited this Record (XP) Message-ID: Trickery needed. I have a form based on the table tblTrackingSheetWIP. Due to questionable database design, this form opens up another form, where the tasknumber=tasknumber, that is based off of the same table. User makes changes to second form. Closes second form and returns to route form. Tries to change data on the original form and gets the Another User Has Edited this Record.... Save your changes, etc. I have tried everything to get this record to save - closing the original form, DoCmd.RunCommand acCmdSaveRecord, refresh, the works. For now, I am closing the first form after I open the second, and it looks like I will have to just return to a prior form and make the user reselect the record to open up the first form. Any ideas on a workaround so I can open the first form gracefully? Am I making sense? Karen Nicholson National Laboratory Xerox Global Services From CMackin at quiznos.com Wed Oct 6 12:20:18 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Wed, 6 Oct 2004 11:20:18 -0600 Subject: [AccessD] Another User Edited this Record (XP) Message-ID: Yikes, making a subform might be areally good idea or a tabbed form, but with the existing structure make sure that you have: DoCmd.RunCommand acCmdSaveRecord when you open the second form (right before the DOcmd.OpenForm line) and when you close the second form have the same thing. Additionally make sure you open Form #2 in teh acDialog mode so the use is unable to go from Form 1 to 2 freely, make sure they open form 2, use it a close it. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Nicholson, Karen Sent: Wednesday, October 06, 2004 11:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Another User Edited this Record (XP) Trickery needed. I have a form based on the table tblTrackingSheetWIP. Due to questionable database design, this form opens up another form, where the tasknumber=tasknumber, that is based off of the same table. User makes changes to second form. Closes second form and returns to route form. Tries to change data on the original form and gets the Another User Has Edited this Record.... Save your changes, etc. I have tried everything to get this record to save - closing the original form, DoCmd.RunCommand acCmdSaveRecord, refresh, the works. For now, I am closing the first form after I open the second, and it looks like I will have to just return to a prior form and make the user reselect the record to open up the first form. Any ideas on a workaround so I can open the first form gracefully? Am I making sense? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 6 12:55:40 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 6 Oct 2004 19:55:40 +0200 Subject: [AccessD] Another User Edited this Record (XP) In-Reply-To: References: Message-ID: <16539519686.20041006195540@cactus.dk> Hi Karen You need to requery form1 when form2 has created changes. /gustav > Trickery needed. I have a form based on the table tblTrackingSheetWIP. > Due to questionable database design, this form opens up another form, > where the tasknumber=tasknumber, that is based off of the same table. > User makes changes to second form. Closes second form and returns to > route form. Tries to change data on the original form and gets the > Another User Has Edited this Record.... Save your changes, etc. I have > tried everything to get this record to save - closing the original form, > DoCmd.RunCommand acCmdSaveRecord, refresh, the works. > For now, I am closing the first form after I open the second, and it > looks like I will have to just return to a prior form and make the user > reselect the record to open up the first form. Any ideas on a > workaround so I can open the first form gracefully? Am I making sense? > Karen Nicholson > National Laboratory > Xerox Global Services From kost36 at otenet.gr Wed Oct 6 13:20:50 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Wed, 6 Oct 2004 21:20:50 +0300 Subject: [AccessD] Tranferring FOLDER names into a table References: <200409291635435.SM01212@hplaptop> Message-ID: <014001c4abd1$413c6c50$0100a8c0@KOST36> Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis From dwaters at usinternet.com Wed Oct 6 13:47:51 2004 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Oct 2004 13:47:51 -0500 Subject: [AccessD] Tranferring FOLDER names into a table In-Reply-To: <24856930.1097087277563.JavaMail.root@sniper2.usinternet.com> Message-ID: <000401c4abd4$fbd25ae0$de1811d8@danwaters> Kostas, Try looking at FileSystemObjects. You'll need to set a reference to scrrun.dll (Microsoft Scripting Runtime). The help file for this is called script56.chm - you may need to search for it. HTH Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Wednesday, October 06, 2004 1:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Tranferring FOLDER names into a table Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Wed Oct 6 13:57:28 2004 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 6 Oct 2004 14:57:28 -0400 Subject: [AccessD] Tranferring FOLDER names into a table In-Reply-To: <916187228923D311A6FE00A0CC3FAA309C4E50@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA305BB8D1@ADGSERVER> Have you looked into the DIR$ function? It will get you the folders in a given directory. You can use Dir$ or the api Findfirstfile, findnextfile, and FindClose to recursively find all of the folders. Search Google for recurse folders vb. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Wednesday, October 06, 2004 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Tranferring FOLDER names into a table Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Wed Oct 6 14:24:49 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 6 Oct 2004 15:24:49 -0400 Subject: [AccessD] Tranferring FOLDER names into a table Message-ID: Kostas, Save the following line as a .bat file. When run from your target directory, it will create a text file for you that you can import directly into Access. DIR /B /S >C:/DIRLIST.TXT -----Original Message----- From: Kostas Konstantinidis [mailto:kost36 at otenet.gr] Sent: Wednesday, October 06, 2004 2:21 PM To: Access Developers discussion and problem solving Subject: [AccessD] Tranferring FOLDER names into a table Hi all, is there any way to tranfer the folder names (even the inclouding files into them)? I used a small tip but it can only read the files into a selected folder and not the folder names... be all well kostas konstantinidis -- _______________________________________________ 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 Oct 6 16:44:23 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 Oct 2004 07:44:23 +1000 Subject: [AccessD] Error Handler Add-in In-Reply-To: <000e01c4abb4$ecb40420$060aa845@hargrove.internal> References: <9C382E065F54AE48BC3AA7925DCBB01C02068BBF@karta-exc-int.Karta.com> Message-ID: <4164F3D7.18752.38A6C7E@lexacorp.com.pg> On 6 Oct 2004 at 10:58, Mike & Doris Manning wrote: > I found documentation for it at this link... > > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/modcore/htm > l/derefode_help_codecomm.asp > A number of tools designed to aid in rapid application development in the Microsoft? Visual Basic? Editor are provided with Microsoft? Office XP Developer I suspect it is ONLY available with Office XP Developer Edition. -- Stuart From fhtapia at gmail.com Wed Oct 6 17:03:31 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Wed, 6 Oct 2004 15:03:31 -0700 Subject: [AccessD] Error Handler Add-in In-Reply-To: <20041006145719.BSNN25647.fed1rmmtao03.cox.net@smtp.west.cox.net> References: <20041006145719.BSNN25647.fed1rmmtao03.cox.net@smtp.west.cox.net> Message-ID: I second the use of MzTools there's one for VB and VBA, that I use in both cases... very efficient and lightweight IMNSHO On Wed, 6 Oct 2004 10:57:19 -0400, dw-murphy at cox.net wrote: > Susan, > > I have the XP Developer Edition but use the error handler insert from MZ Tools. It also has some nice features to insert Module descriptive headers and procedure descriptive headers, along with many other handy features. > > Doug > > > > From: "Susan Harkins" > > Date: 2004/10/06 Wed AM 09:01:43 EDT > > To: "'Access Developers discussion and problem solving'" > > > > Subject: RE: [AccessD] Error Handler Add-in > > > > > > Well, I can't even find the thing in 2003 -- there use to be one in earlier > > versions -- it came with the developer version I think. It's easy to use -- > > so I'm curious if anyone actually uses it. > > > > It's one of the more frustrating things about 2003. I can't find anything. > > ;( So, if it doesn't even come with 2003 -- kind of a moot topic. > > > > Susan H. > > > > I don't use one, but I would like to. :-) > > > > Bobby > > > > Do any of you use the Error Handler Add-in? I'm curious -- I'll be writing > > about it and I'd like to know if anybody likes it. > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco Pc This! pc news with out the jargon From ssharkins at bellsouth.net Wed Oct 6 17:04:01 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 6 Oct 2004 18:04:01 -0400 Subject: [AccessD] Error Handler Add-in In-Reply-To: <4164F3D7.18752.38A6C7E@lexacorp.com.pg> Message-ID: <20041006220402.HSSF1791.imf21aec.mail.bellsouth.net@SUSANONE> Yes, as far as I know, it's only available in the developer edition, and since there isn't a developer edition for 2003, I suspect it's just disappeared. I haven't been able to find it as a regular feature. Susan H. I suspect it is ONLY available with Office XP Developer Edition. From lists at theopg.com Wed Oct 6 17:18:34 2004 From: lists at theopg.com (MarkH) Date: Wed, 6 Oct 2004 23:18:34 +0100 Subject: [AccessD] Another User Edited this Record (XP) In-Reply-To: Message-ID: <000301c4abf2$6bb42560$9139fc3e@netboxxp> You could unbind the second form and store its values hidden on the first form. When you open the second form read the values in from the first and when you close the second write them back (to the first form). That way the record is only bound edited and updated in the first form so no write conflick... Hth mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: 06 October 2004 18:10 To: accessd at databaseadvisors.com Subject: [AccessD] Another User Edited this Record (XP) Trickery needed. I have a form based on the table tblTrackingSheetWIP. Due to questionable database design, this form opens up another form, where the tasknumber=tasknumber, that is based off of the same table. User makes changes to second form. Closes second form and returns to route form. Tries to change data on the original form and gets the Another User Has Edited this Record.... Save your changes, etc. I have tried everything to get this record to save - closing the original form, DoCmd.RunCommand acCmdSaveRecord, refresh, the works. For now, I am closing the first form after I open the second, and it looks like I will have to just return to a prior form and make the user reselect the record to open up the first form. Any ideas on a workaround so I can open the first form gracefully? Am I making sense? Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 From cfoust at infostatsystems.com Wed Oct 6 17:28:33 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 6 Oct 2004 15:28:33 -0700 Subject: [AccessD] Error Handler Add-in Message-ID: Have you checked the VSTO to see if it's included in the Access extensions there? I don't have it on this machine, so I can't check here. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Wednesday, October 06, 2004 3:04 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Error Handler Add-in Yes, as far as I know, it's only available in the developer edition, and since there isn't a developer edition for 2003, I suspect it's just disappeared. I haven't been able to find it as a regular feature. Susan H. I suspect it is ONLY available with Office XP Developer Edition. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Oct 7 05:33:34 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 7 Oct 2004 06:33:34 -0400 Subject: [AccessD] Another User Edited this Record (XP) Message-ID: I tried these scenarios. This is so dicey that I spoke with my manager yesterday and he has agreed that the fields on the second form should be in their own table. I have inherited a messy system, but my manager is really smart and is starting to allow me to make structural changes when warranted. So today I shall restructure... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, October 06, 2004 1:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Another User Edited this Record (XP) Hi Karen You need to requery form1 when form2 has created changes. /gustav > Trickery needed. I have a form based on the table tblTrackingSheetWIP. > Due to questionable database design, this form opens up another form, > where the tasknumber=tasknumber, that is based off of the same table. > User makes changes to second form. Closes second form and returns to > route form. Tries to change data on the original form and gets the > Another User Has Edited this Record.... Save your changes, etc. I have > tried everything to get this record to save - closing the original form, > DoCmd.RunCommand acCmdSaveRecord, refresh, the works. > For now, I am closing the first form after I open the second, and it > looks like I will have to just return to a prior form and make the user > reselect the record to open up the first form. Any ideas on a > workaround so I can open the first form gracefully? Am I making sense? > Karen Nicholson > National Laboratory > Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Thu Oct 7 06:21:46 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Thu, 7 Oct 2004 13:21:46 +0200 Subject: [AccessD] Security issue, opening SQL server port over internet Message-ID: <46B976F2B698FF46A4FE7636509B22DF0ADC8E@stekelbes.ithelps.local> Hi Group A new POS software supplier for a customer from me, asks to open up the SQL server port over the ADSL/Internet. He needs this to synchronise database between two sites. I however, have always understood that opening the SQL server port over the internet is a serious security issue and should be avoided. Due to the numerous security bugs I seen passing the catwalk I find this my personal opinion to. Next to that, the own SQL security system needs to be tuned/activated because by default everything is wide open. I am wondering what the opinion /experiance of the Access group is in this matter. I'm also wondering if the SQL server (I believe version 7) data is encypted when sending over the internet? I personaly would use a VPN connection and connect to to SQL server over that VPN. I know this has some speed drawbacks but its safe... Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From Paul.Rogers at SummitMedia.co.uk Thu Oct 7 08:36:10 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 7 Oct 2004 14:36:10 +0100 Subject: [AccessD] Emailing from an Access form Message-ID: Be grateful for the code for who an email is addressed to - who is to receive the email - when emailing details from an access form. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From Paul.Rogers at SummitMedia.co.uk Thu Oct 7 08:46:09 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 7 Oct 2004 14:46:09 +0100 Subject: [AccessD] Emailing from an Access form Message-ID: Sorry, folks, found the answer quicker than expected. cheers -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at summitmedia.co.uk] Sent: 07 October 2004 14:36 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Emailing from an Access form Be grateful for the code for who an email is addressed to - who is to receive the email - when emailing details from an access form. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From fhtapia at gmail.com Thu Oct 7 11:00:11 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 7 Oct 2004 09:00:11 -0700 Subject: [AccessD] Web like drop down Message-ID: This is just a brain storm Idea, but I have a set of text boxes where people are constantly keying in their data... I think it'd be neat to duplicate the idea like a web - dropdown (auto-fill) in Access but not necessarily w/ a combo box... anyone do anything like this before? -- -Francisco Pc This! pc news with out the jargon From JColby at dispec.com Thu Oct 7 11:18:24 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 7 Oct 2004 12:18:24 -0400 Subject: [AccessD] Web like drop down Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8F9@DISABILITYINS01> Yes, I did an OnKeyDown that looked up the characters entered and pulled matching data into a list box under the text box. The list box would expand (drop down) from 1 pixel tall to X pixels tall when the first key down happened, then contracted back up when the text box lost the focus. John W. Colby The DIS Database Guy -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, October 07, 2004 12:00 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web like drop down This is just a brain storm Idea, but I have a set of text boxes where people are constantly keying in their data... I think it'd be neat to duplicate the idea like a web - dropdown (auto-fill) in Access but not necessarily w/ a combo box... anyone do anything like this before? -- -Francisco Pc This! pc news with out the jargon -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Oct 7 11:30:57 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 7 Oct 2004 12:30:57 -0400 Subject: [AccessD] Web like drop down Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF8FD@DISABILITYINS01> And of course, using a class with WithEvents. John W. Colby The DIS Database Guy -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Thursday, October 07, 2004 12:18 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Yes, I did an OnKeyDown that looked up the characters entered and pulled matching data into a list box under the text box. The list box would expand (drop down) from 1 pixel tall to X pixels tall when the first key down happened, then contracted back up when the text box lost the focus. John W. Colby The DIS Database Guy -----Original Message----- From: Francisco Tapia [mailto:fhtapia at gmail.com] Sent: Thursday, October 07, 2004 12:00 PM To: Access Developers discussion and problem solving Subject: [AccessD] Web like drop down This is just a brain storm Idea, but I have a set of text boxes where people are constantly keying in their data... I think it'd be neat to duplicate the idea like a web - dropdown (auto-fill) in Access but not necessarily w/ a combo box... anyone do anything like this before? -- -Francisco Pc This! pc news with out the jargon -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 7 13:32:38 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 07 Oct 2004 14:32:38 -0400 Subject: [AccessD] Good deal Message-ID: <000201c4ac9c$095a3940$e8dafea9@ColbyM6805> The laptop I bought for 1500 minus $250 rebate is now available for $1300 minus an additional $150 mail in rebate. This is a NICE machine folks. Emachines Athlon64 3000+ ghz, 512m ram, 60m hard drive, built-in 54mbit wireless, etc. http://www.bestbuy.com/site/olspage.jsp?type=product&id=1069301995506&skuId= 6249703 John W. Colby www.ColbyConsulting.com From JHewson at karta.com Thu Oct 7 13:36:47 2004 From: JHewson at karta.com (Jim Hewson) Date: Thu, 7 Oct 2004 13:36:47 -0500 Subject: [AccessD] Chart Problem Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BCF@karta-exc-int.Karta.com> Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. From forefront at ig.com.br Thu Oct 7 06:33:02 2004 From: forefront at ig.com.br (Forefront) Date: Thu, 07 Oct 2004 08:33:02 -0300 Subject: [AccessD] Error Handler Add-in In-Reply-To: <20041006220402.HSSF1791.imf21aec.mail.bellsouth.net@SUSANONE> References: <20041006220402.HSSF1791.imf21aec.mail.bellsouth.net@SUSANONE> Message-ID: <4165296E.20509@ig.com.br> I use MZTools and it has lots of good stuff, including a customizable Error Handling. ;-) -- ************************************************ * Forefront em Inform?tica e Consultoria Ltda. * * Carlos Alberto Alves * * Systems Analyst/Programmer * * Rio de Janeiro, Brazil * * Phone Direct: 55-21-9169-1596 * * mailto:forefront at ig.com.br * ************************************************ From fhtapia at gmail.com Thu Oct 7 18:15:04 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 7 Oct 2004 16:15:04 -0700 Subject: [AccessD] Web like drop down In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF8FD@DISABILITYINS01> References: <05C61C52D7CAD211A7830008C7DF6F10CBF8FD@DISABILITYINS01> Message-ID: the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy > > > > > -----Original Message----- > From: Colby, John [mailto:JColby at dispec.com] > Sent: Thursday, October 07, 2004 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Web like drop down > > Yes, I did an OnKeyDown that looked up the characters entered and pulled > matching data into a list box under the text box. The list box would expand > (drop down) from 1 pixel tall to X pixels tall when the first key down > happened, then contracted back up when the text box lost the focus. > > John W. Colby > The DIS Database Guy > > -----Original Message----- > From: Francisco Tapia [mailto:fhtapia at gmail.com] > Sent: Thursday, October 07, 2004 12:00 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Web like drop down > > This is just a brain storm Idea, but I have a set of text boxes where > people are constantly keying in their data... I think it'd be neat to > duplicate the idea like a web - dropdown (auto-fill) in Access but not > necessarily w/ a combo box... > > anyone do anything like this before? > > -- > -Francisco > Pc This! pc news with out the > jargon > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco Pc This! pc news with out the jargon From jwcolby at colbyconsulting.com Thu Oct 7 20:43:45 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 07 Oct 2004 21:43:45 -0400 Subject: [AccessD] Web like drop down In-Reply-To: Message-ID: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> Francisco, I built a used a class to contain the code used for this thing. As you might know, a list control has a height property which can be expressed in pixels or screen units anyway. I used a list which has its own query. That query then looks for a "like" a text box. As the user types in the text box, each keystroke causes a requery of the list such that the list box "narrows down" the selected items in the list. IOW, suppose the text box allows you to select last names. As you type C, the list box drops down and displays all names beginning with C. Now you type an O and the list requeries to display all names starting with CO. L narrows it down to COL etc. The user can then use the mouse to select one of the objects in the list if desired. The list expands on the first keystroke and collapses back up when the focus leaves the list. Typically a third control will contain the index or PK of the object currently highlighted in the list or the first item in the list if none is highlighted. That control is then used to do some thing such as filter another control a subform etc. The class contains event handlers for the text box as well as the list (withevents) so that all of the functionality is contained in the class. You just init the class, pass in a pointer to the three controls, plus the height you want the list to drop down to etc. I used this to build sets of these filters to select for example a single type of screw for the screw company's app. The first set would select head style, the next the thread style, the next the pitch etc. The objective was to tunnel down to a specific screw or even set of screws. Is this functionality what you are referring to? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, October 07, 2004 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web like drop down the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy From jwcolby at colbyconsulting.com Thu Oct 7 23:19:15 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Fri, 08 Oct 2004 00:19:15 -0400 Subject: [AccessD] Web like drop down In-Reply-To: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> Message-ID: <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> Boy, that was just about unintelligible! 8-( I suppose I really should reread my posts before pressing send! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 07, 2004 9:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Francisco, I built a used a class to contain the code used for this thing. As you might know, a list control has a height property which can be expressed in pixels or screen units anyway. I used a list which has its own query. That query then looks for a "like" a text box. As the user types in the text box, each keystroke causes a requery of the list such that the list box "narrows down" the selected items in the list. IOW, suppose the text box allows you to select last names. As you type C, the list box drops down and displays all names beginning with C. Now you type an O and the list requeries to display all names starting with CO. L narrows it down to COL etc. The user can then use the mouse to select one of the objects in the list if desired. The list expands on the first keystroke and collapses back up when the focus leaves the list. Typically a third control will contain the index or PK of the object currently highlighted in the list or the first item in the list if none is highlighted. That control is then used to do some thing such as filter another control a subform etc. The class contains event handlers for the text box as well as the list (withevents) so that all of the functionality is contained in the class. You just init the class, pass in a pointer to the three controls, plus the height you want the list to drop down to etc. I used this to build sets of these filters to select for example a single type of screw for the screw company's app. The first set would select head style, the next the thread style, the next the pitch etc. The objective was to tunnel down to a specific screw or even set of screws. Is this functionality what you are referring to? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, October 07, 2004 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web like drop down the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Fri Oct 8 01:06:04 2004 From: fhtapia at gmail.com (Francisco Tapia) Date: Thu, 7 Oct 2004 23:06:04 -0700 Subject: [AccessD] Web like drop down In-Reply-To: <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> References: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> Message-ID: I'll have to keep searching through my examples, but it was a text box like when you visit a website, and you subclassed the textbox so that you could simply type into the textbox and it would behave like one in a webform, allowing you to just pick from the random list... It was an IE type feature IIRC... I'll just keep looking and re-post when I find it :) it's another bell and whistle but nothing that's gonna be a show stopper for my current task. On Fri, 08 Oct 2004 00:19:15 -0400, John W. Colby wrote: > Boy, that was just about unintelligible! > > 8-( > > I suppose I really should reread my posts before pressing send! > > John W. Colby > www.ColbyConsulting.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby > Sent: Thursday, October 07, 2004 9:44 PM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Web like drop down > > Francisco, > > I built a used a class to contain the code used for this thing. As you > might know, a list control has a height property which can be expressed in > pixels or screen units anyway. I used a list which has its own query. That > query then looks for a "like" a text box. As the user types in the text > box, each keystroke causes a requery of the list such that the list box > "narrows down" the selected items in the list. IOW, suppose the text box > allows you to select last names. As you type C, the list box drops down and > displays all names beginning with C. Now you type an O and the list > requeries to display all names starting with CO. L narrows it down to COL > etc. The user can then use the mouse to select one of the objects in the > list if desired. > > The list expands on the first keystroke and collapses back up when the focus > leaves the list. > > Typically a third control will contain the index or PK of the object > currently highlighted in the list or the first item in the list if none is > highlighted. That control is then used to do some thing such as filter > another control a subform etc. > > The class contains event handlers for the text box as well as the list > (withevents) so that all of the functionality is contained in the class. You > just init the class, pass in a pointer to the three controls, plus the > height you want the list to drop down to etc. > > I used this to build sets of these filters to select for example a single > type of screw for the screw company's app. The first set would select head > style, the next the thread style, the next the pitch etc. The objective was > to tunnel down to a specific screw or even set of screws. > > Is this functionality what you are referring to? > > John W. Colby > www.ColbyConsulting.com > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Thursday, October 07, 2004 7:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Web like drop down > > the code I had was off of some website.. I think they were APIs can't > remember, John did you simply add to the combo box or extend the textbox > capabilities. > > On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > > And of course, using a class with WithEvents. > > > > John W. Colby > > The DIS Database Guy > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco Pc This! pc news with out the jargon From accessd667 at yahoo.com Fri Oct 8 01:37:39 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 7 Oct 2004 23:37:39 -0700 (PDT) Subject: [AccessD] OT Send mail using Word 2000 Message-ID: <20041008063739.10586.qmail@web61109.mail.yahoo.com> Hi group, i'm going nuts. I need to send mail using Word. However I cannot find out how to add a recipient!??! Sending mail is easy: me.sendmail But hten you have to manually add the recipient info, subject etc. Any ideas? TIA Sander --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! From Jim.Hale at FleetPride.com Fri Oct 8 08:46:09 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 8 Oct 2004 08:46:09 -0500 Subject: [AccessD] Web like drop down Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FF97@corp-es01.fleetpride.com> Maybe you should run for president! (hey its Friday) Jim Hale -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 07, 2004 11:19 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Boy, that was just about unintelligible! 8-( I suppose I really should reread my posts before pressing send! John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 07, 2004 9:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Web like drop down Francisco, I built a used a class to contain the code used for this thing. As you might know, a list control has a height property which can be expressed in pixels or screen units anyway. I used a list which has its own query. That query then looks for a "like" a text box. As the user types in the text box, each keystroke causes a requery of the list such that the list box "narrows down" the selected items in the list. IOW, suppose the text box allows you to select last names. As you type C, the list box drops down and displays all names beginning with C. Now you type an O and the list requeries to display all names starting with CO. L narrows it down to COL etc. The user can then use the mouse to select one of the objects in the list if desired. The list expands on the first keystroke and collapses back up when the focus leaves the list. Typically a third control will contain the index or PK of the object currently highlighted in the list or the first item in the list if none is highlighted. That control is then used to do some thing such as filter another control a subform etc. The class contains event handlers for the text box as well as the list (withevents) so that all of the functionality is contained in the class. You just init the class, pass in a pointer to the three controls, plus the height you want the list to drop down to etc. I used this to build sets of these filters to select for example a single type of screw for the screw company's app. The first set would select head style, the next the thread style, the next the pitch etc. The objective was to tunnel down to a specific screw or even set of screws. Is this functionality what you are referring to? John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Thursday, October 07, 2004 7:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Web like drop down the code I had was off of some website.. I think they were APIs can't remember, John did you simply add to the combo box or extend the textbox capabilities. On Thu, 7 Oct 2004 12:30:57 -0400, Colby, John wrote: > And of course, using a class with WithEvents. > > John W. Colby > The DIS Database Guy -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Alun.Garraway at otto.de Fri Oct 8 09:33:12 2004 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 8 Oct 2004 16:33:12 +0200 Subject: [AccessD] check if ADO command was successful? Message-ID: Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun From JHewson at karta.com Fri Oct 8 09:57:55 2004 From: JHewson at karta.com (Jim Hewson) Date: Fri, 8 Oct 2004 09:57:55 -0500 Subject: [AccessD] Chart Problem Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BD3@karta-exc-int.Karta.com> I figured it out. I created a bar chart, then changed the "type" of the chart. The pie chart is correct. Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Thursday, October 07, 2004 1:37 PM To: AccessD Subject: [AccessD] Chart Problem Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. From DWUTKA at marlow.com Fri Oct 8 09:57:25 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Oct 2004 09:57:25 -0500 Subject: [AccessD] check if ADO command was successful? Message-ID: <123701F54509D9119A4F00D0B747349016CFE0@main2.marlow.com> Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 8 10:06:33 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 8 Oct 2004 11:06:33 -0400 Subject: [AccessD] check if ADO command was successful? In-Reply-To: Message-ID: <002f01c4ad48$665a9700$0200a8c0@COA3> After execution, check cmd.ActiveConnection.Errors.Count; if greater than 0, there were error(s). Of course, you should cmd.ActiveConnection.Errors.Clear just before execute, and don't use that connection for anything else, to be 100% sure it's your command that caused any error. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Garraway, Alun Sent: Friday, October 08, 2004 10:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Alun.Garraway at otto.de Fri Oct 8 10:09:20 2004 From: Alun.Garraway at otto.de (Garraway, Alun) Date: Fri, 8 Oct 2004 17:09:20 +0200 Subject: [AccessD] check if ADO command was successful? Message-ID: COOL! thanks Drew works like a charm :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Fri Oct 8 10:41:28 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Oct 2004 10:41:28 -0500 Subject: [AccessD] check if ADO command was successful? Message-ID: <123701F54509D9119A4F00D0B747349016CFE5@main2.marlow.com> You're quite welcome. Glad to help. As an FYI, that same method can be used with a connection object's Execute method. (I actually had to look it up, to make sure it was there for the Command object) Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] check if ADO command was successful? COOL! thanks Drew works like a charm :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 8 11:07:06 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 8 Oct 2004 12:07:06 -0400 Subject: [AccessD] check if ADO command was successful? In-Reply-To: <123701F54509D9119A4F00D0B747349016CFE5@main2.marlow.com> Message-ID: <003001c4ad50$db960f10$0200a8c0@COA3> Guess I'm not cool, but my method works too -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 11:41 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? You're quite welcome. Glad to help. As an FYI, that same method can be used with a connection object's Execute method. (I actually had to look it up, to make sure it was there for the Command object) Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 10:09 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] check if ADO command was successful? COOL! thanks Drew works like a charm :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Friday, October 08, 2004 4:57 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] check if ADO command was successful? Dim intRecordsAffected As Long strSQL = "INSERT INTO table1(1, 2, 3) " & _ "SELECT A1, A2, A3 " & _ "FROM table " & _ "WHERE Something = Something" command.CommandText = strSQL command.Execute intRecordsAffected When run, intRecordsAffected will have the number of records affected by the command text. Drew -----Original Message----- From: Garraway, Alun [mailto:Alun.Garraway at otto.de] Sent: Friday, October 08, 2004 9:33 AM To: Access Developers discussion and problem solving Subject: [AccessD] check if ADO command was successful? Hi, is it possible to check if a ADODB.Command was successful, IOW when I have following code: strSQL = INSERT INTO table1(1, 2, 3) SELECT A1, A2, A3 FROM table WHERE Something = Something command.CommandText = strSQL command.Execute how can I know (check) if a record has been added? have a nice weekend :-) alun -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at OUTBAKTech.com Fri Oct 8 11:21:58 2004 From: Jeff at OUTBAKTech.com (Jeff Barrows) Date: Fri, 8 Oct 2004 11:21:58 -0500 Subject: [AccessD] Memo field / Text Box issue Message-ID: <8DA8776D2F418E46A2A464AC6CE630500326CA@outbaksrv1.outbaktech.com> I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B From Oleg_123 at xuppa.com Fri Oct 8 12:01:25 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Fri, 8 Oct 2004 13:01:25 -0400 (EDT) Subject: [AccessD] VB6 grid question In-Reply-To: <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> References: <000b01c4acd8$3fd6ed60$e8dafea9@ColbyM6805> <000c01c4aced$fd56fe60$e8dafea9@ColbyM6805> Message-ID: <50467.68.161.124.132.1097254885.squirrel@heck.xuppa.com> Hey I have a form in VB6 that is taking data from Oracle table and shows it in Grid The column headers in grid show as they are on the table, what should I do ro show them differently in the grid ? thank you Oleg ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From stuart at lexacorp.com.pg Fri Oct 8 17:12:36 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 09 Oct 2004 08:12:36 +1000 Subject: [AccessD] check if ADO command was successful? In-Reply-To: <123701F54509D9119A4F00D0B747349016CFE0@main2.marlow.com> Message-ID: <41679D74.24841.3635AD8@lexacorp.com.pg> On 8 Oct 2004 at 9:57, DWUTKA at marlow.com wrote: > Dim intRecordsAffected As Long -- Stuart From DWUTKA at marlow.com Fri Oct 8 17:25:23 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 8 Oct 2004 17:25:23 -0500 Subject: [AccessD] check if ADO command was successful? Message-ID: <123701F54509D9119A4F00D0B747349016CFF1@main2.marlow.com> Well, that's what I would dimension it as! ;p Drew -----Original Message----- From: Stuart McLachlan [mailto:stuart at lexacorp.com.pg] Sent: Friday, October 08, 2004 5:13 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] check if ADO command was successful? On 8 Oct 2004 at 9:57, DWUTKA at marlow.com wrote: > Dim intRecordsAffected As Long -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From thewaddles at sbcglobal.net Sun Oct 10 00:31:25 2004 From: thewaddles at sbcglobal.net (Kevin Waddle) Date: Sat, 9 Oct 2004 22:31:25 -0700 Subject: [AccessD] fill in x field if y field is checked In-Reply-To: <200410052000.i95K0LIi029282@ms-smtp-04.nyroc.rr.com> Message-ID: <200410100531.i9A5V5L06142@databaseadvisors.com> Augusta, Please excuse the length of this reply...it took much longer to explain than it would to accomplish. You can solve the Check Box problem and you data normalization problem in the manner listed below. If you have a TextBox to hold the reason for restriction there is nothing to prevent User1 from entering "Because he's broke" and User2 entering "He gots no money". The same reason but not way to determine how many customers are broke from this data. You need a ComboBox listing all the reasons Example: 1. Create a table named tblRestrictions 1.1. Add two fields to the table; RestrictionID as an AutoNumber and ReasonForRestriction as a Text field 1.2. Close the table and enter into the table all the reasons that contributions could be restricted. Your first reason should be something like N/A or No 2. Open your main table in design mode and add a field in your main table named ContibutionsRestricted 2.1. From the Data Type as dropdown select LookUp Wizard 2.2. A dialog box will appear; Select "I want the lookup column to lookup the values in a table or query" 2.3. Click Next, then select tblRestrictions from the list. 2.4. Click Next, then select ReasonForRestriction from the list and click the > button 2.5. Click Next, then the dialog will allow you to sort the ReasonForRestriction by the AutoNumber or text 2.6. Click Next, then the dialog will show you the data selected and a checkbox titled "Hide Key Column (Recommended)" leave this checked 2.7. Click Next, then the dialog will ask you for a name for your new field 2.8. Click Finish 3. You will be back at the Design View with a Popup saying "The table must be saved before relationships can be created, Save Now?" Yes / No, Click Yes 4. Your new field, ContibutionsRestricted, shows in your table with a data type of Number. You have just created a One-to-Many relationship between the RestrictionID field in the table tblRestrictions (One Side) and the ContibutionsRestricted field (Many Side) in the main table. What is actually stored in the main table is the number that corresponds to the ReasonForRestriction from the table tblRestrictions. If you add this field to a form it will be a ComboBox from which you can select your reasons. In your form design you can set the "Default Value" property to 1 so that any new customers will default to N/A Hope this helps, Kevin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of augusta Sent: Tuesday, October 05, 2004 1:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] fill in x field if y field is checked I need to know how to make a field required if another field is checked. For example: If the contributions are restricted, then fill in the restricted reason. Can anyone help - in plain English? Thanks Augusta -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 10/5/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004 From ssharkins at bellsouth.net Sun Oct 10 10:05:46 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 10 Oct 2004 11:05:46 -0400 Subject: [AccessD] inner workings of operators Message-ID: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. From jwcolby at colbyconsulting.com Sun Oct 10 10:22:43 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 10 Oct 2004 11:22:43 -0400 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <000c01c4aedd$011475a0$e8dafea9@ColbyM6805> Me too John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, October 10, 2004 11:06 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Oct 10 10:43:33 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Oct 2004 17:43:33 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <000c01c4aedd$011475a0$e8dafea9@ColbyM6805> References: <000c01c4aedd$011475a0$e8dafea9@ColbyM6805> Message-ID: <7719690433.20041010174333@cactus.dk> Hi John > Me too Ehh ... why? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows of > such documentation, I'd be grateful for a link. From starkey at wanadoo.nl Sun Oct 10 10:50:16 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 10 Oct 2004 17:50:16 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041010154642.A1E6E97FB@smtp5.wanadoo.nl> First of all this might differ from engine to engine though I have found something where methods are mentioned on how things might be interpreted, interesting but maybe not yet enough information but hey it's Sunday;-) (I'll give it another try lateron:-)) Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: zondag 10 oktober 2004 17:06 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0441-2, 08-10-2004 Getest op: 10-10-2004 17:50:16 avast! auteursrecht (c) 2000-2004 ALWIL Software. From starkey at wanadoo.nl Sun Oct 10 10:57:44 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 10 Oct 2004 17:57:44 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041010155410.EEBE29411@smtp5.wanadoo.nl> LOL... I was so much looking for this stuff I forgot to insert the link!!!! Sorry:-) http://www.lextek.com/manuals/profiler/LANG_Intro.html Just as an example though... -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: zondag 10 oktober 2004 17:06 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0441-2, 08-10-2004 Getest op: 10-10-2004 17:57:44 avast! auteursrecht (c) 2000-2004 ALWIL Software. From starkey at wanadoo.nl Sun Oct 10 11:34:38 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Sun, 10 Oct 2004 18:34:38 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010150545.NSHO1719.imf20aec.mail.bellsouth.net@SUSANONE> Message-ID: <20041010163104.090359ABF@smtp5.wanadoo.nl> Ok just some more info on Operators Logical http://www.utexas.edu/math/Matlab/Manual/Logical.html http://www.physiol.ox.ac.uk/Computing/Online_Documentation/JavaScript/ops.ht m SQL Oracle IN statement: www.dbspecialists.com/presentations/tunesql.doc Pfff hard to find indeed...! Seems like subsets of data are used in the background for evaluation resulting in a set that meets the conditions:-) Ohwell must be someone able to find more... Gustav?:-) Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Susan Harkins Verzonden: zondag 10 oktober 2004 17:06 Aan: 'Access Developers discussion and problem solving' Onderwerp: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0441-2, 08-10-2004 Getest op: 10-10-2004 18:34:37 avast! auteursrecht (c) 2000-2004 ALWIL Software. From gustav at cactus.dk Sun Oct 10 12:03:36 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Oct 2004 19:03:36 +0200 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010163104.090359ABF@smtp5.wanadoo.nl> References: <20041010163104.090359ABF@smtp5.wanadoo.nl> Message-ID: <12624493239.20041010190336@cactus.dk> Hi Eric > Ohwell must be someone able to find more... Gustav?:-) I would be happy to do so - if I only knew what to look for? I mean - I know what In and Or mean but can't see how I can influence a lot on how they work "behind the scenes", neither do I care that much. Am I missing something? I'm not about to build my own search engine - but would that be a purpose? Could be nice with a quick search in memo fields. Hasn't Drew worked with this? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows of > such documentation, I'd be grateful for a link. From ssharkins at bellsouth.net Sun Oct 10 14:06:13 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 10 Oct 2004 15:06:13 -0400 Subject: [AccessD] inner workings of operators In-Reply-To: <7719690433.20041010174333@cactus.dk> Message-ID: <20041010190634.GWRX1786.imf19aec.mail.bellsouth.net@SUSANONE> Knowing how it works behind the scenes can often help you write more efficient code. Also, can help you decide which choices will perform better. With today's system, it hardly matters anymore unless you're dealing with zads of records, but it's still the kind of stuff developers want to know. Susan H. Hi John > Me too Ehh ... why? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows > of such documentation, I'd be grateful for a link. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Sun Oct 10 16:27:07 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: 10 Oct 2004 21:27:07 +0000 Subject: [AccessD] Bush Kerry Debate Message-ID: Is it true George Bush wore a radio receiver strapped to his back during the last debate with Kerry. Just watch it on the news here. they showed a close up of his back and the outline of a rectangle under the back of his jacket and a wire running up to his ear. Martin From andy at minstersystems.co.uk Sun Oct 10 16:46:13 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 10 Oct 2004 22:46:13 +0100 Subject: [AccessD] Bush Kerry Debate In-Reply-To: Message-ID: <000501c4af12$906448e0$b274d0d5@minster33c3r25> I'd hazard a guess that was meant for the OT list Martin. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid > Sent: 10 October 2004 22:27 > To: Access Developers discussion and problem solving > Subject: [AccessD] Bush Kerry Debate > > > Is it true George Bush wore a radio receiver strapped to his > back during > the last debate with Kerry. Just watch it on the news here. > they showed a > close up of his back and the outline of a rectangle under the > back of his > jacket and a wire running up to his ear. > > Martin > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From ssharkins at bellsouth.net Sun Oct 10 17:03:24 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 10 Oct 2004 18:03:24 -0400 Subject: [AccessD] inner workings of operators In-Reply-To: <20041010155410.EEBE29411@smtp5.wanadoo.nl> Message-ID: <20041010220323.JJHJ1786.imf19aec.mail.bellsouth.net@SUSANONE> Thanks Starkey -- I may find something in that. Susan H. LOL... I was so much looking for this stuff I forgot to insert the link!!!! Sorry:-) http://www.lextek.com/manuals/profiler/LANG_Intro.html Just as an example though... From michael at ddisolutions.com.au Mon Oct 11 01:40:48 2004 From: michael at ddisolutions.com.au (Michael Maddison) Date: Mon, 11 Oct 2004 16:40:48 +1000 Subject: [AccessD] VB6 grid question Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D01011C19@ddi-01.DDI.local> Which grid are you using? A simple solution might be to alias your field names using either a view or query. I use a custom grid (Janus) as do most others, the standard ones are pretty ugly to work with... regards Michael M Hey I have a form in VB6 that is taking data from Oracle table and shows it in Grid The column headers in grid show as they are on the table, what should I do ro show them differently in the grid ? thank you Oleg ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mwp.reid at qub.ac.uk Mon Oct 11 02:55:42 2004 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 Oct 2004 08:55:42 +0100 Subject: [AccessD] Bush Kerry Debate References: <000501c4af12$906448e0$b274d0d5@minster33c3r25> Message-ID: <001401c4af67$b502ac00$9111758f@aine> Opps Apologies all Martin ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 10, 2004 10:46 PM Subject: RE: [AccessD] Bush Kerry Debate > I'd hazard a guess that was meant for the OT list Martin. > > -- Andy Lacey > http://www.minstersystems.co.uk > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin Reid >> Sent: 10 October 2004 22:27 >> To: Access Developers discussion and problem solving >> Subject: [AccessD] Bush Kerry Debate >> >> >> Is it true George Bush wore a radio receiver strapped to his >> back during >> the last debate with Kerry. Just watch it on the news here. >> they showed a >> close up of his back and the outline of a rectangle under the >> back of his >> jacket and a wire running up to his ear. >> >> Martin >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From serbach at new.rr.com Mon Oct 11 03:11:17 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 11 Oct 2004 03:11:17 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <4813187803.20041005124050@cactus.dk> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> Message-ID: <20041011031117.1553474484.serbach@new.rr.com> Gustav and Jim, Things worked out all right after I reformatted the drive and re-installed Office 2000 Premium and the Access 2000 Runtime application. It looks like it was an unfortunate sequence of events resulting from 1) a serious virus infestation, and 2) the misunderstanding of the Runtime application by the people hired at first to re-format the drive. It now looks like an older version of the Runtime application was installed. That older version used Access 97 Runtime. Then, I think, Office 2000 Premium was installed and then the update to the Runtime app to convert it to Access Runtime 2000...I can't really say. I wasn't there. Anyway, the effect was that they experienced the wierd number disappearances in any Access report. That's fixed now and I'm tired of trying to figure out what happened. Do you ever get that way? Steve Erbach Neenah, WI From roz.clarke at donnslaw.co.uk Mon Oct 11 04:11:27 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Mon, 11 Oct 2004 10:11:27 +0100 Subject: [AccessD] Chart Problem Message-ID: <61F915314798D311A2F800A0C9C8318805CED5DD@dibble.observatory.donnslaw.co.uk> Hi Jim Did you manage to solve this one? I have to say I'm struggling to imagine a pie-chart based on 2 values - what do you want it to look like? Sorry I can't be more help Roz -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: 07 October 2004 19:37 To: AccessD Subject: [AccessD] Chart Problem Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Mon Oct 11 04:57:23 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Oct 2004 11:57:23 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041011031117.1553474484.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> <20041011031117.1553474484.serbach@new.rr.com> Message-ID: <15811050820.20041011115723@cactus.dk> Hi Steven > Anyway, the effect was that they experienced the wierd number > disappearances in any Access report. That's fixed now and I'm tired > of trying to figure out what happened. Do you ever get that way? It happens - and remember: Users lie! /gustav From serbach at new.rr.com Mon Oct 11 05:18:40 2004 From: serbach at new.rr.com (Steven W. Erbach) Date: Mon, 11 Oct 2004 05:18:40 -0500 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <15811050820.20041011115723@cactus.dk> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> <20041011031117.1553474484.serbach@new.rr.com> <15811050820.20041011115723@cactus.dk> Message-ID: <20041011051840.1309280929.serbach@new.rr.com> Gustav, >> It happens - and remember: Users lie! << In this case the user's report was entirely accurate: numerals did not appear in any form in the Access report previewer: dates, page numbers, phone numbers, as well as regular numbers. The formatting marks (dollar signs, commas, hyphens, parentheses, etc.) would all appear in their proper places. It just looked like the numbers were white-on-white. Steve Erbach Neenah, WI From gustav at cactus.dk Mon Oct 11 06:35:02 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Oct 2004 13:35:02 +0200 Subject: [AccessD] A2K: Report number format visible but not numbers In-Reply-To: <20041011051840.1309280929.serbach@new.rr.com> References: <20041003145504.1200913132.serbach@new.rr.com> <20041004051457.1242222750.serbach@new.rr.com> <4821994175.20041004145810@cactus.dk> <20041004121006.1004197457.serbach@new.rr.com> <4813187803.20041005124050@cactus.dk> <20041011031117.1553474484.serbach@new.rr.com> <15811050820.20041011115723@cactus.dk> <20041011051840.1309280929.serbach@new.rr.com> Message-ID: <5016909484.20041011133502@cactus.dk> Hi Steven >>> It happens - and remember: Users lie! << It relates to "what has happened" and "what did you do"? > In this case the user's report was entirely accurate: numerals did not appear in any form in the Access report previewer: dates, page numbers, phone numbers, as well as regular numbers. The > formatting marks (dollar signs, commas, hyphens, parentheses, etc.) would all appear in their proper places. It just looked like the numbers were white-on-white. /gustav From kost36 at otenet.gr Mon Oct 11 06:51:55 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 11 Oct 2004 14:51:55 +0300 Subject: [AccessD] How to get bold only the left string of a field... References: Message-ID: <00ca01c4af88$cb14fd60$0100a8c0@KOST36> Hi all, I use a query like Name:[first_name]&" "&[last_name]&", "&[job]..... bla bla Is it possible to get bold only the first_name? thank's kostas konstanitnidis From JHewson at karta.com Mon Oct 11 07:47:24 2004 From: JHewson at karta.com (Jim Hewson) Date: Mon, 11 Oct 2004 07:47:24 -0500 Subject: [AccessD] Memo field / Text Box issue Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BD9@karta-exc-int.Karta.com> December of last year Gustav gave us this link. http://www.lebans.com/Report.htm#MixBold I haven't tried it yet... but it looks promising. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Friday, October 08, 2004 11:22 AM To: AccessD Subject: [AccessD] Memo field / Text Box issue I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Mon Oct 11 07:53:55 2004 From: JHewson at karta.com (Jim Hewson) Date: Mon, 11 Oct 2004 07:53:55 -0500 Subject: [AccessD] Chart Problem Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BDA@karta-exc-int.Karta.com> Roz, I did figure it out, thank you. It's actually three values. The record ID is the third value that doesn't show. I was trying to create two pie charts. One pie chart shows the percentage of direct pay vs indirect pay (medical, dental, etc.); the other Company contributions vs employee contributions for benefits. Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Roz Clarke Sent: Monday, October 11, 2004 4:11 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Chart Problem Hi Jim Did you manage to solve this one? I have to say I'm struggling to imagine a pie-chart based on 2 values - what do you want it to look like? Sorry I can't be more help Roz -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: 07 October 2004 19:37 To: AccessD Subject: [AccessD] Chart Problem Folks, I need to create a pie chart in an A2K report. There are two fields in the same record of the query I need to use. There are over 300 records in the query. When I create the chart, all 300+ values show for the first field. How do I get the chart to reflect both fields? TIA Jim H. From cfoust at infostatsystems.com Mon Oct 11 10:19:22 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Oct 2004 08:19:22 -0700 Subject: [AccessD] inner workings of operators Message-ID: Are you talking about the logical operators in SQL? Joe Celko's books get into that as I recall. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Sunday, October 10, 2004 8:06 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] inner workings of operators I'm looking for technical explanation of how In and Or work behind the scenes -- don't need a tutorial on how to use either operator, just interested in how the engine interprets and uses them. If anyone knows of such documentation, I'd be grateful for a link. Thanks! Susan H. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From MPorter at acsalaska.com Mon Oct 11 12:16:45 2004 From: MPorter at acsalaska.com (Porter, Mark) Date: Mon, 11 Oct 2004 09:16:45 -0800 Subject: [AccessD] inner workings of operators Message-ID: <635B80FE6C7D5A409586A6A110D97D170E4E41@ACSANCHOR.corp.acsalaska.com> In the vein of optimization of SQL, I got a wealth of very specific information from this book and it might be worth a look; http://www.amazon.com/exec/obidos/tg/detail/-/159059164X/qid=1097514715/sr=8-4/ref=sr_8_xs_ap_i4_xgl14/102-7440773-1342551?v=glance&s=books&n=507846 And SQL performance does matter, even in today's systems. Your low use database you create for 20 users today could become a component of a web enabled database with global availability tomorrow. Mark > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Susan Harkins > Sent: Sunday, October 10, 2004 11:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] inner workings of operators > > > Knowing how it works behind the scenes can often help you write more > efficient code. Also, can help you decide which choices will > perform better. > With today's system, it hardly matters anymore unless you're > dealing with > zads of records, but it's still the kind of stuff developers > want to know. > > Susan H. > > > > Hi John > > > Me too > > Ehh ... why? > > /gustav > > > > I'm looking for technical explanation of how In and Or work > behind the > > scenes -- don't need a tutorial on how to use either operator, just > > interested in how the engine interprets and uses them. If > anyone knows > > of such documentation, I'd be grateful for a link. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > *********************************************************************************** This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS From Oleg_123 at xuppa.com Mon Oct 11 17:37:39 2004 From: Oleg_123 at xuppa.com (Oleg_123 at xuppa.com) Date: Mon, 11 Oct 2004 18:37:39 -0400 (EDT) Subject: [AccessD] OT: Bush Kerry Debate In-Reply-To: <001401c4af67$b502ac00$9111758f@aine> References: <000501c4af12$906448e0$b274d0d5@minster33c3r25> <001401c4af67$b502ac00$9111758f@aine> Message-ID: <48883.216.223.34.13.1097534259.squirrel@heck.xuppa.com> how came I didn't see any messages as per debate ? do I have to regisster separately ? > Opps > > Apologies all > > > Martin > > > ----- Original Message ----- > From: "Andy Lacey" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 10, 2004 10:46 PM > Subject: RE: [AccessD] Bush Kerry Debate > > >> I'd hazard a guess that was meant for the OT list Martin. >> >> -- Andy Lacey >> http://www.minstersystems.co.uk >> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin >>> Reid Sent: 10 October 2004 22:27 >>> To: Access Developers discussion and problem solving >>> Subject: [AccessD] Bush Kerry Debate >>> >>> >>> Is it true George Bush wore a radio receiver strapped to his >>> back during >>> the last debate with Kerry. Just watch it on the news here. >>> they showed a >>> close up of his back and the outline of a rectangle under the >>> back of his >>> jacket and a wire running up to his ear. >>> >>> Martin >>> -- >>> _______________________________________________ >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com ----------------------------------------- Make Money and Find Love at Finally.com http://www.finally.com/?link=webmail From Subscriptions at servicexp.com Mon Oct 11 17:59:01 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Mon, 11 Oct 2004 18:59:01 -0400 Subject: [AccessD] Ohms Calculations In-Reply-To: <48883.216.223.34.13.1097534259.squirrel@heck.xuppa.com> Message-ID: Has anyone already wrote out the calculations for the Ohms Laws in vb? i.e... P / E = I Square Root of (P / R) = I E / R = I etc... Thanks Robert Gracie From d.dick at uws.edu.au Mon Oct 11 18:22:50 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 12 Oct 2004 09:22:50 +1000 Subject: [AccessD] Memo field / Text Box issue In-Reply-To: <9C382E065F54AE48BC3AA7925DCBB01C02068BD9@karta-exc-int.Karta.com> Message-ID: <200410112322.i9BNMuXH014427@cooper.uws.edu.au> Hi Jeff On forms that have text boxes that are too small, because of real estate issues, to display all the text they can hold, I give a "double click to add/edit data in this field" option. User double clicks and up pops my own hand rolled unbound 'zoom' box. Bigger than the Shift/F2 version (You can add extra features as required) I pass the relevant value to it when opened - allow edits to take place there and save changes once it's closed and refresh the 'calling' field on the 'calling' form HTH Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Monday, 11 October 2004 10:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Memo field / Text Box issue December of last year Gustav gave us this link. http://www.lebans.com/Report.htm#MixBold I haven't tried it yet... but it looks promising. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Friday, October 08, 2004 11:22 AM To: AccessD Subject: [AccessD] Memo field / Text Box issue I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Mon Oct 11 21:16:31 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 12 Oct 2004 12:16:31 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328038549@starfleet.unknown.local> Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad From kost36 at otenet.gr Tue Oct 12 00:22:24 2004 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 12 Oct 2004 08:22:24 +0300 Subject: [AccessD] Memo field / Text Box issue References: <9C382E065F54AE48BC3AA7925DCBB01C02068BD9@karta-exc-int.Karta.com> Message-ID: <001b01c4b01b$82a69fa0$0100a8c0@KOST36> Jim, fixed thank's kostas konstantinidis ----- Original Message ----- From: "Jim Hewson" To: "Access Developers discussion and problem solving" Sent: Monday, October 11, 2004 3:47 PM Subject: RE: [AccessD] Memo field / Text Box issue > > December of last year Gustav gave us this link. > http://www.lebans.com/Report.htm#MixBold > I haven't tried it yet... but it looks promising. > HTH > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows > Sent: Friday, October 08, 2004 11:22 AM > To: AccessD > Subject: [AccessD] Memo field / Text Box issue > > > I have a field in a table which is a Memo Field. > On the form, I am using a text box to hold the data. > The field shows 300+ characters in the table, but when I view it in a form > (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 > characters. > When I send the data to an MS Word document, everything is there. > When I close the document and the form, then reopen the form, the data > still will not appear in the Zoom Viewer. > But if I check the table itself, all of the data is there. > > Any ideas on why I cannot view ALL of the data in the field??? > > TIA > > Jeff B > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Tue Oct 12 01:34:05 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 12 Oct 2004 07:34:05 +0100 Subject: [AccessD] OT: Bush Kerry Debate In-Reply-To: <48883.216.223.34.13.1097534259.squirrel@heck.xuppa.com> Message-ID: <000901c4b025$78fc0f80$b274d0d5@minster33c3r25> Oleg Such topics are banned from this list. We do, however, have a separate list for those who want to discuss politics, religion, life, the meaning of the universe etc. It's called the OT (off-topic) list. You can subscribe to that. See instructions on the web site. Go to http://www.databaseadvisors.com/lists/whatandhow.htm -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Oleg_123 at xuppa.com > Sent: 11 October 2004 23:38 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Bush Kerry Debate > > > how came I didn't see any messages as per debate ? do I have > to regisster separately ? > > > Opps > > > > Apologies all > > > > > > Martin > > > > > > ----- Original Message ----- > > From: "Andy Lacey" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Sunday, October 10, 2004 10:46 PM > > Subject: RE: [AccessD] Bush Kerry Debate > > > > > >> I'd hazard a guess that was meant for the OT list Martin. > >> > >> -- Andy Lacey > >> http://www.minstersystems.co.uk > >> > >>> -----Original Message----- > >>> From: accessd-bounces at databaseadvisors.com > >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Martin > >>> Reid Sent: 10 October 2004 22:27 > >>> To: Access Developers discussion and problem solving > >>> Subject: [AccessD] Bush Kerry Debate > >>> > >>> > >>> Is it true George Bush wore a radio receiver strapped to his back > >>> during the last debate with Kerry. Just watch it on the news here. > >>> they showed a > >>> close up of his back and the outline of a rectangle under the > >>> back of his > >>> jacket and a wire running up to his ear. > >>> > >>> Martin > >>> -- > >>> _______________________________________________ > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >>> > >>> > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > ----------------------------------------- > Make Money and Find Love at Finally.com > http://www.finally.com/?link=webmail > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From gustav at cactus.dk Tue Oct 12 03:26:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 12 Oct 2004 10:26:26 +0200 Subject: [AccessD] Ohms Calculations In-Reply-To: References: Message-ID: <956281682.20041012102626@cactus.dk> Hi Robert Use Sqr(P / R) or (P / R)^(1 / 2) /gustav > Has anyone already wrote out the calculations for the Ohms Laws in vb? > i.e... > P / E = I > Square Root of (P / R) = I > E / R = I > etc... > Thanks > Robert Gracie From cyx5 at cdc.gov Tue Oct 12 05:27:35 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 12 Oct 2004 06:27:35 -0400 Subject: [AccessD] Memo field / Text Box issue Message-ID: Care to share your bigger than shift-f2 function? Sounds interesting. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Monday, October 11, 2004 7:23 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Memo field / Text Box issue Hi Jeff On forms that have text boxes that are too small, because of real estate issues, to display all the text they can hold, I give a "double click to add/edit data in this field" option. User double clicks and up pops my own hand rolled unbound 'zoom' box. Bigger than the Shift/F2 version (You can add extra features as required) I pass the relevant value to it when opened - allow edits to take place there and save changes once it's closed and refresh the 'calling' field on the 'calling' form HTH Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Hewson Sent: Monday, 11 October 2004 10:47 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Memo field / Text Box issue December of last year Gustav gave us this link. http://www.lebans.com/Report.htm#MixBold I haven't tried it yet... but it looks promising. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jeff Barrows Sent: Friday, October 08, 2004 11:22 AM To: AccessD Subject: [AccessD] Memo field / Text Box issue I have a field in a table which is a Memo Field. On the form, I am using a text box to hold the data. The field shows 300+ characters in the table, but when I view it in a form (in Datasheet view) using the Shift/F2 zoom viewer, I can only see 255 characters. When I send the data to an MS Word document, everything is there. When I close the document and the form, then reopen the form, the data still will not appear in the Zoom Viewer. But if I check the table itself, all of the data is there. Any ideas on why I cannot view ALL of the data in the field??? TIA Jeff B -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joconnell at indy.rr.com Tue Oct 12 08:59:51 2004 From: joconnell at indy.rr.com (Joseph O'Connell) Date: Tue, 12 Oct 2004 08:59:51 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <085e01c4b063$d0bcc6e0$6701a8c0@joe> Vlad, Is there a reason that the form cannot be bound to the table/query/SQL that is used to populate the recordset? Joe O'Connell -----Original Message----- From: ACTEBS To: access group Date: Monday, October 11, 2004 9:23 PM Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 12 10:20:57 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Oct 2004 08:20:57 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 10:23:51 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 11:23:51 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012152353.GSTH2413.imf21aec.mail.bellsouth.net@SUSANONE> I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust From roz.clarke at donnslaw.co.uk Tue Oct 12 10:37:29 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Tue, 12 Oct 2004 16:37:29 +0100 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <61F915314798D311A2F800A0C9C8318805CED5FD@dibble.observatory.donnslaw.co.uk> At the risk of being contentious... if you want to look at the recordset as if it was bound, and for it to behave as if it was bound... why not bind it? ;) Roz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 12 October 2004 16:21 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From actebs at actebs.com.au Tue Oct 12 10:48:28 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 01:48:28 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD50558332803854C@starfleet.unknown.local> **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Oct 12 10:50:43 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 11:50:43 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF91F@DISABILITYINS01> Uh oh, here we go... John W. Colby The DIS Database Guy -----Original Message----- From: Roz Clarke [mailto:roz.clarke at donnslaw.co.uk] Sent: Tuesday, October 12, 2004 11:37 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form At the risk of being contentious... if you want to look at the recordset as if it was bound, and for it to behave as if it was bound... why not bind it? ;) Roz -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: 12 October 2004 16:21 To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Oct 12 10:59:49 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Oct 2004 08:59:49 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: If you set the recordset property, you still have a bound form. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, October 12, 2004 8:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Oct 12 11:06:09 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 02:06:09 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328041BBE@starfleet.unknown.local> Susan, I'm not sure what you mean by the "forms recordset" property. The Help MS provides with this property is more to do with using it like: Set rst = me.recordset................ But that is assuming you have a bound form to a query or table. Is there another method you have in mind that I'm missing? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 13 October 2004 1:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 11:16:17 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 12:16:17 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012161622.KEEO2494.imf18aec.mail.bellsouth.net@SUSANONE> So the issue is updatability? Forcing a snapshot Recordset should solve that problem. Susan H. If you set the recordset property, you still have a bound form. From ssharkins at bellsouth.net Tue Oct 12 11:16:17 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 12:16:17 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012161629.KEGY2494.imf18aec.mail.bellsouth.net@SUSANONE> Oh... Oh... I see what they're after. I was confused -- forgive me. ;) Susan H. If you set the recordset property, you still have a bound form. From ssharkins at bellsouth.net Tue Oct 12 11:21:25 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 12:21:25 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BBE@starfleet.unknown.local> Message-ID: <20041012162126.KIYS2494.imf18aec.mail.bellsouth.net@SUSANONE> You create the recordset object, set the Form.Recordset property to equal the recordset... Form.Recordset = rst Works with controls too: Form.Control.Recordset = rst!field But then, I'm not sure I'm understanding the problem. So, you might want to just ignore me. And, I'm not positive it would even work. What exactly is the issue? There are lots of ways to populate a form without using a Recordset. Are you stuck with a Recordset object? Beyond that, what's the problem -- you don't want the form to update the underlying source? If that's the case, use a Snapshot Recordset object -- ADO's aren't updateable, I don't remember about DAO though. Susan H. Susan, I'm not sure what you mean by the "forms recordset" property. The Help MS provides with this property is more to do with using it like: Set rst = me.recordset................ But that is assuming you have a bound form to a query or table. Is there another method you have in mind that I'm missing? From jimdettman at earthlink.net Tue Oct 12 11:59:38 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Tue, 12 Oct 2004 12:59:38 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328038549@starfleet.unknown.local> Message-ID: Vlad, I've done this in other languages, but not in Access, but the technique would be similar. Basically, you'd be duplicating everything that Access does for a bound form. You'd have a form with a series of unbound text boxes to form the rows. Using the absolute position property, you'd keep track of which row is the "top" row in your current display. Initially, you'd paint the rows by looping through the recordset from that point forward by the number of rows on your form. In the past, I've maintained the current rows in an array, which made scrolling up/down faster as I would only need to fetch the new record, copy it to the array, then put the array on the screen. Rather then moving elements within the array, I'd simply keep track of which element was first on the screen. For example, the if there were 15 rows and the user had scrolled down 5 rows, element 6 would be the top row and element 5 would be the last row. I'd paint the screen by going 6 - 15, then 1 - 5. Updating was accomplished by having the use scroll a record to the middle of the screen (it was surrounded by a box to make it stand out), then pressing "U" for update. This applied for deletes as well. I also allowed the user to page up/down one screen at a time. In this way, your in total control of everything. However with A2K and up, the ability to bind a recordset in code to a forms recordsource has really taken away the last excuse for using an unbound form (putting work into a transaction). Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Monday, October 11, 2004 10:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 12 12:12:28 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 12 Oct 2004 10:12:28 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 9:06 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form Susan, I'm not sure what you mean by the "forms recordset" property. The Help MS provides with this property is more to do with using it like: Set rst = me.recordset................ But that is assuming you have a bound form to a query or table. Is there another method you have in mind that I'm missing? Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 13 October 2004 1:24 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I've never tried this -- would the form's Recordset property work? Susan H. There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Tue Oct 12 12:24:02 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 13:24:02 -0400 Subject: [AccessD] inner workings of operators Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF920@DISABILITYINS01> I just bought this book. http://www.amazon.com/exec/obidos/ASIN/0596005733/qid=1097601592/sr=2-1/ref= pd_ka_2_1/102-0324991-1214550 I have just started reading it but it is definitely educational. Let me know how much I don't know. ;-) It also has a good tutorial about indexes and how they actually work, btrees and all that, plus what happens in an index when you insert, delete and update the data (field) the index is on. John W. Colby The DIS Database Guy -----Original Message----- From: Porter, Mark [mailto:MPorter at acsalaska.com] Sent: Monday, October 11, 2004 1:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] inner workings of operators In the vein of optimization of SQL, I got a wealth of very specific information from this book and it might be worth a look; http://www.amazon.com/exec/obidos/tg/detail/-/159059164X/qid=1097514715/sr=8 -4/ref=sr_8_xs_ap_i4_xgl14/102-7440773-1342551?v=glance&s=books&n=507846 And SQL performance does matter, even in today's systems. Your low use database you create for 20 users today could become a component of a web enabled database with global availability tomorrow. Mark > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of > Susan Harkins > Sent: Sunday, October 10, 2004 11:06 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] inner workings of operators > > > Knowing how it works behind the scenes can often help you write more > efficient code. Also, can help you decide which choices will > perform better. > With today's system, it hardly matters anymore unless you're > dealing with > zads of records, but it's still the kind of stuff developers > want to know. > > Susan H. > > > > Hi John > > > Me too > > Ehh ... why? > > /gustav > > > > I'm looking for technical explanation of how In and Or work > behind the > > scenes -- don't need a tutorial on how to use either operator, just > > interested in how the engine interprets and uses them. If > anyone knows > > of such documentation, I'd be grateful for a link. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > **************************************************************************** ******* This transmittal may contain confidential information intended solely for the addressee. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply or by telephone (collect at 907-564-1000) and ask to speak with the message sender. In addition, please immediately delete this message and all attachments. Thank you. ACS -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 12:25:19 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 13:25:19 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: Message-ID: <20041012172521.GVDG2444.imf19aec.mail.bellsouth.net@SUSANONE> I'm probably missing something real obvious here, but this worked for me. I used AutoForm to create a quick form on Employees, then changed it to a Continuous form and deleted the RecordSource property. All the controls remained intact with their default Name and Control Source property settings. Then, I used the following code to populate the form: Private Sub Form_Load() Dim rst As ADODB.Recordset Set rst = New ADODB.Recordset rst.Open "Employees", CurrentProject.Connection, adOpenStatic Set Me.Recordset = rst End Sub Worked for me -- form is still continuous and it doesn't update the underlying source. It's strictly a browsing form. If you wanted to update, you could change the adOpenStatic setting. I didn't spend much time testing it either, so I may be missing something. Susan H. The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. From JColby at dispec.com Tue Oct 12 12:47:38 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 13:47:38 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF921@DISABILITYINS01> What you are missing is that Vlad is a glutton for punishment. John W. Colby The DIS Database Guy -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, October 12, 2004 1:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I'm probably missing something real obvious here, but this worked for me. I used AutoForm to create a quick form on Employees, then changed it to a Continuous form and deleted the RecordSource property. All the controls remained intact with their default Name and Control Source property settings. Then, I used the following code to populate the form: Private Sub Form_Load() Dim rst As ADODB.Recordset Set rst = New ADODB.Recordset rst.Open "Employees", CurrentProject.Connection, adOpenStatic Set Me.Recordset = rst End Sub Worked for me -- form is still continuous and it doesn't update the underlying source. It's strictly a browsing form. If you wanted to update, you could change the adOpenStatic setting. I didn't spend much time testing it either, so I may be missing something. Susan H. The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 12 13:35:02 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 12 Oct 2004 14:35:02 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF921@DISABILITYINS01> Message-ID: <20041012183558.KBOV2383.imf24aec.mail.bellsouth.net@SUSANONE> So, is the solution that simple or did I miss something earlier? Susan H. Subject: RE: [AccessD] Recordset to a Continuous Form What you are missing is that Vlad is a glutton for punishment. From JColby at dispec.com Tue Oct 12 13:51:34 2004 From: JColby at dispec.com (Colby, John) Date: Tue, 12 Oct 2004 14:51:34 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF922@DISABILITYINS01> What you missed is that he specifically does NOT want to go the bound route, just for the pure joy of learning something new. Your solution is, in the end, a bound solution. If it were ME, I'd learn something useful like classes and withevents (though he might very well be a pro at that by now). ;-) John W. Colby The DIS Database Guy -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Tuesday, October 12, 2004 2:35 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form So, is the solution that simple or did I miss something earlier? Susan H. Subject: RE: [AccessD] Recordset to a Continuous Form What you are missing is that Vlad is a glutton for punishment. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Subscriptions at servicexp.com Tue Oct 12 16:53:02 2004 From: Subscriptions at servicexp.com (Robert Gracie) Date: Tue, 12 Oct 2004 17:53:02 -0400 Subject: [AccessD] Ohms Calculations In-Reply-To: <956281682.20041012102626@cactus.dk> Message-ID: Thanks A Million!! Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Tuesday, October 12, 2004 4:26 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Ohms Calculations Hi Robert Use Sqr(P / R) or (P / R)^(1 / 2) /gustav > Has anyone already wrote out the calculations for the Ohms Laws in vb? > i.e... > P / E = I > Square Root of (P / R) = I > E / R = I > etc... > Thanks > Robert Gracie -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 20:46:10 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 11:46:10 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: <005401c4b0c6$6ade4020$6501a8c0@user> I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: -------------------------------------------------------------------------------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function -------------------------------------------------------------------------------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net From d.dick at uws.edu.au Tue Oct 12 21:31:41 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Oct 2004 12:31:41 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <005401c4b0c6$6ade4020$6501a8c0@user> Message-ID: <200410130231.i9D2VnXH020887@cooper.uws.edu.au> Hi Kath Is this DAO? If it is I think you have to declare the db bit somewhere You have Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) But I cant see a dimension of the db paramter in you code (Is your code snipped?) If it's missing try db = currentdb or something like that -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ---------------------------------------------------------------------------- ---- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ---------------------------------------------------------------------------- ---- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Oct 12 21:50:28 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 12:50:28 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: <2025BB6F17FCB54791F23CD505583328041BBF@starfleet.unknown.local> Kath, Maybe like this: Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As DAO.Database '>>>>>>>>>I changed this Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE '>>>>>>>>>>>>>>Made a few changes here If rs.recordcount > 0 then Rs.movefirst Do Until rs.EOF With rs .Edit VarEmailto = .Fields("LoginEmail") .Update End With rs.movenext loop End if 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Rs.close Set rs = nothing Db.close Set db = nothing HTH. You will need to check over it as I did it off the top of my head, but you'll get the idea anyway... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ------------------------------------------------------------------------ -------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ------------------------------------------------------------------------ -------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ 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 Oct 12 22:00:23 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 13 Oct 2004 13:00:23 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <005401c4b0c6$6ade4020$6501a8c0@user> Message-ID: <416D26E7.19952.6509EBC@lexacorp.com.pg> On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart From dw-murphy at cox.net Tue Oct 12 22:04:01 2004 From: dw-murphy at cox.net (dw-murphy at cox.net) Date: Tue, 12 Oct 2004 23:04:01 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: <20041013030401.GFKB24021.fed1rmmtao01.cox.net@smtp.west.cox.net> Hi Kath, You need to add your query parameters to the parameters collection. I am away from my references now so can't give a good example, but look in the Developers Handbook under recordsets based on queries. They give the code for doing this. It is DAO. Doug > > From: "ACTEBS" > Date: 2004/10/12 Tue PM 10:50:28 EDT > To: "Access Developers discussion and problem solving" > > Subject: RE: [AccessD] Help with syntax please....OpenRecordset > > Kath, > > Maybe like this: > > Dim strerrormsg, strsql, StrQueryName As String > Dim VarEmailto As Variant > Dim intrecno, IntWebLetterID As Integer > Dim db As DAO.Database '>>>>>>>>>I changed this > Dim rs As DAO.Recordset > > Set db = CurrentDb > > > StrQueryName = "QryWebLetter_ReadRecipientsEmail" > > Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open > recordset on saved query ERROR HERE > > '>>>>>>>>>>>>>>Made a few changes here > If rs.recordcount > 0 then > Rs.movefirst > Do Until rs.EOF > With rs > .Edit > VarEmailto = .Fields("LoginEmail") > .Update > End With > rs.movenext > loop > End if > > 'MsgBox ("Going to " & VarEmailto) > > 'Call Send_Email(VarEmailto, StrNamePDFFile) > > Rs.close > Set rs = nothing > Db.close > Set db = nothing > > HTH. You will need to check over it as I did it off the top of my head, > but you'll get the idea anyway... > > Vlad > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti > Sent: Wednesday, 13 October 2004 11:46 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Help with syntax please....OpenRecordset > > > I am trying to use a saved query for my recordset source....but keep > getting an error 'Too few parameters - expected 1' on the line 'Set rs = > ' After many hours, I can't fix it so would appreciate the help..... > > > Code: > > ------------------------------------------------------------------------ > -------- > > Public Function EmailWebLetterRecipients() > Dim strerrormsg, strsql, StrQueryName As String > Dim VarEmailto As Variant > Dim intrecno, IntWebLetterID As Integer > Dim db As Database > Dim rs As DAO.Recordset > Set db = CurrentDb > > > StrQueryName = "QryWebLetter_ReadRecipientsEmail" > > Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open > recordset on saved query ERROR HERE > > With rs > .MoveFirst > .Edit > > VarEmailto = .Fields("LoginEmail") > .Update > .close > End With > 'MsgBox ("Going to " & VarEmailto) > > 'Call Send_Email(VarEmailto, StrNamePDFFile) > > Normal_exit: > DoCmd.SetWarnings True > Exit Function > > Err_Handler: > MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, > strerrormsg, Err.Description), vbCritical, "Error Message" > Resume Normal_exit > End Function > > > ------------------------------------------------------------------------ > -------- > > Kath Pelletti > Software Design & Solutions Pty Ltd. > Ph: 9505-6714 > Fax: 9505-6430 > KP at SDSOnline.net > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From KP at sdsonline.net Tue Oct 12 22:05:11 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:05:11 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <200410130231.i9D2VnXH020887@cooper.uws.edu.au> Message-ID: <009801c4b0d1$74607b30$6501a8c0@user> Darren - thanks for you help offline.... It appears that the code will run when I replace this query with a simpler one - so I will play with that..... Kath ----- Original Message ----- From: Darren DICK To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 13, 2004 12:31 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset Hi Kath Is this DAO? If it is I think you have to declare the db bit somewhere You have Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) But I cant see a dimension of the db paramter in you code (Is your code snipped?) If it's missing try db = currentdb or something like that -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ---------------------------------------------------------------------------- ---- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ---------------------------------------------------------------------------- ---- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 22:08:17 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:08:17 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <2025BB6F17FCB54791F23CD505583328041BBF@starfleet.unknown.local> Message-ID: <00a001c4b0d1$e32988e0$6501a8c0@user> Thanks Vlad - I thought that was the problem too....but it seems that it just doesn't like my query even though the query runs fine in the normal access window. I may have to change it to an sql statement. Sigh - I had already tried that this morning but just couldn't get the syntax right .... I will have another go at the sql syntax and if I can't nail it post back. Thanks Kath ----- Original Message ----- From: ACTEBS To: Access Developers discussion and problem solving Sent: Wednesday, October 13, 2004 12:50 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset Kath, Maybe like this: Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As DAO.Database '>>>>>>>>>I changed this Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE '>>>>>>>>>>>>>>Made a few changes here If rs.recordcount > 0 then Rs.movefirst Do Until rs.EOF With rs .Edit VarEmailto = .Fields("LoginEmail") .Update End With rs.movenext loop End if 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Rs.close Set rs = nothing Db.close Set db = nothing HTH. You will need to check over it as I did it off the top of my head, but you'll get the idea anyway... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ------------------------------------------------------------------------ -------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ------------------------------------------------------------------------ -------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 22:28:42 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:28:42 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <416D26E7.19952.6509EBC@lexacorp.com.pg> Message-ID: <00bc01c4b0d4$bd165810$6501a8c0@user> Yes - there is a form parameter in the query so I'll have to think over that logic then as the query is used by multiple processes... The static function sounds a good solution. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Oct 12 22:44:36 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Oct 2004 13:44:36 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <416D26E7.19952.6509EBC@lexacorp.com.pg> Message-ID: <200410130344.i9D3iiXH003971@cooper.uws.edu.au> Hey Andrew I'm back from leave So...when's a good time to meet?? Talk soon Denz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 13 October 2004 1:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Tue Oct 12 22:50:15 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Wed, 13 Oct 2004 13:50:15 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <416D26E7.19952.6509EBC@lexacorp.com.pg> Message-ID: <00e601c4b0d7$bfcc7000$6501a8c0@user> Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 12 23:27:38 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 13 Oct 2004 00:27:38 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <00e601c4b0d7$bfcc7000$6501a8c0@user> Message-ID: <000301c4b0dc$fb9fbce0$e8dafea9@ColbyM6805> BTW, the concept of the "static stored value" can be made even more useful if you use a collection to store the value, keyed on the name of the variable. In that way you can use a single function to set / retrieve a multitude of different stored values. Option Compare Database Option Explicit Private mcolFilter As Collection Private mblnFltrInitialized As Boolean Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr 'This sets up the collection if it isn't already initialized If mblnFltrInitialized = False Then Set mcolFilter = New Collection mblnFltrInitialized = True End If If IsMissing(lvarValue) Then 'This path is used to retrieve a value from the collection On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'This path is used to store a variable on the collection On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function One function can now be called with a "variable name" and a value to store a value into a "variable". fltr MyValue, "MyVarName" MyValue can be anything at all, string numeric etc. If the variable name already exists, then it is removed and replaced with the new value. This effectively stores the value passed in even if there was already a value in the collection keyed on that name. To retrieve a value, just call the function passing in the name of the "variable" you want the value of. If there is no such variable name a null will be returned. MyVar = fltr("MyVarName") I don't remember right off hand whether a control or form can be passed in to a variant though I believe it can. Thus you need to be careful that you either do not pass in pointers to objects or that you make sure you clean out the collection before terminating your program. If there are no objects, it doesn't matter, i.e. the collection and its values can be cleaned up by VB as the app closes. If there are pointers to objects in there however VB may not correctly clean up the collection and the program may hang instead of exiting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, October 12, 2004 11:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with syntax please....OpenRecordset Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 12 23:47:09 2004 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 13 Oct 2004 00:47:09 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <000301c4b0dc$fb9fbce0$e8dafea9@ColbyM6805> Message-ID: <000401c4b0df$b29d37e0$e8dafea9@ColbyM6805> Oops, sorry, the call to set a value would be Fltr "MyVarName", MyVarValue John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, October 13, 2004 12:28 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset BTW, the concept of the "static stored value" can be made even more useful if you use a collection to store the value, keyed on the name of the variable. In that way you can use a single function to set / retrieve a multitude of different stored values. Option Compare Database Option Explicit Private mcolFilter As Collection Private mblnFltrInitialized As Boolean Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr 'This sets up the collection if it isn't already initialized If mblnFltrInitialized = False Then Set mcolFilter = New Collection mblnFltrInitialized = True End If If IsMissing(lvarValue) Then 'This path is used to retrieve a value from the collection On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'This path is used to store a variable on the collection On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function One function can now be called with a "variable name" and a value to store a value into a "variable". fltr MyValue, "MyVarName" MyValue can be anything at all, string numeric etc. If the variable name already exists, then it is removed and replaced with the new value. This effectively stores the value passed in even if there was already a value in the collection keyed on that name. To retrieve a value, just call the function passing in the name of the "variable" you want the value of. If there is no such variable name a null will be returned. MyVar = fltr("MyVarName") I don't remember right off hand whether a control or form can be passed in to a variant though I believe it can. Thus you need to be careful that you either do not pass in pointers to objects or that you make sure you clean out the collection before terminating your program. If there are no objects, it doesn't matter, i.e. the collection and its values can be cleaned up by VB as the app closes. If there are pointers to objects in there however VB may not correctly clean up the collection and the program may hang instead of exiting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, October 12, 2004 11:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with syntax please....OpenRecordset Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Tue Oct 12 23:51:08 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Wed, 13 Oct 2004 14:51:08 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <200410130344.i9D3iiXH003971@cooper.uws.edu.au> Message-ID: <200410130451.i9D4pGXH011829@cooper.uws.edu.au> Hey Andrew I'm back from leave So...when's a good time to meet?? Talk soon Denz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren DICK Sent: Wednesday, 13 October 2004 1:45 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset Hey Andrew I'm back from leave So...when's a good time to meet?? Talk soon Denz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 13 October 2004 1:00 PM To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Oct 13 06:11:28 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 13 Oct 2004 21:11:28 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328038551@starfleet.unknown.local> Susan, You're a god. What was stuffing things up was that I was doing: Set Me.RecordSource = rst Instead of: Set Me.Recordset = rst Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, 13 October 2004 3:25 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I'm probably missing something real obvious here, but this worked for me. I used AutoForm to create a quick form on Employees, then changed it to a Continuous form and deleted the RecordSource property. All the controls remained intact with their default Name and Control Source property settings. Then, I used the following code to populate the form: Private Sub Form_Load() Dim rst As ADODB.Recordset Set rst = New ADODB.Recordset rst.Open "Employees", CurrentProject.Connection, adOpenStatic Set Me.Recordset = rst End Sub Worked for me -- form is still continuous and it doesn't update the underlying source. It's strictly a browsing form. If you wanted to update, you could change the adOpenStatic setting. I didn't spend much time testing it either, so I may be missing something. Susan H. The problem is still one of continuous forms. The only thing that creates a continuous form is a bound recordset. With unbound forms, you have to view one record at a time. A continuous form is an optical illusion of sorts, with only one set of controls on the form, so there is no unbound equivalent unless you want to populate a list box or a grid with the data. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 13 08:25:15 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 13 Oct 2004 09:25:15 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328038551@starfleet.unknown.local> Message-ID: <20041013132549.YRXM2403.imf23aec.mail.bellsouth.net@SUSANONE> Glad to help. :) Susan H. Susan, You're a god. What was stuffing things up was that I was doing: Set Me.RecordSource = rst Instead of: Set Me.Recordset = rst From DWUTKA at marlow.com Wed Oct 13 09:06:45 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Oct 2004 09:06:45 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <123701F54509D9119A4F00D0B747349016D002@main2.marlow.com> Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 13 09:15:37 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Oct 2004 09:15:37 -0500 Subject: [AccessD] inner workings of operators Message-ID: <123701F54509D9119A4F00D0B747349016D005@main2.marlow.com> Yeah, the archives I host do use a homemade memo field search engine. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Sunday, October 10, 2004 12:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] inner workings of operators Hi Eric > Ohwell must be someone able to find more... Gustav?:-) I would be happy to do so - if I only knew what to look for? I mean - I know what In and Or mean but can't see how I can influence a lot on how they work "behind the scenes", neither do I care that much. Am I missing something? I'm not about to build my own search engine - but would that be a purpose? Could be nice with a quick search in memo fields. Hasn't Drew worked with this? /gustav > I'm looking for technical explanation of how In and Or work behind the > scenes -- don't need a tutorial on how to use either operator, just > interested in how the engine interprets and uses them. If anyone knows of > such documentation, I'd be grateful for a link. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Wed Oct 13 09:22:35 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 13 Oct 2004 10:22:35 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF925@DISABILITYINS01> I was wondering when you would check in! ;-) John W. Colby The DIS Database Guy -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 13, 2004 10:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Wed Oct 13 09:49:02 2004 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 14 Oct 2004 00:49:02 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328041BC0@starfleet.unknown.local> Drew, They just don't understand how our minds work do they?... ; ) I knew when I posted this that I would be ridiculed, but it's nice to have an understanding soul to the strange workings and motivations of the eccentric mind that we share isn't it Drew?... I liked Susan's solution as it only binds the form temporarily, while the user is viewing it. Once the form is shut down, the app remains totally unbound. One of the advantages of this approach too is that it gives you total flexibility to the path of the BE. No more refreshing the links when the app is started... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, 14 October 2004 12:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 13 09:53:49 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 13 Oct 2004 09:53:49 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <123701F54509D9119A4F00D0B747349016D007@main2.marlow.com> Been having too much fun off list. Just getting over a cold right now, so my head is still spinning a bit. Drew -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Wednesday, October 13, 2004 9:23 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form I was wondering when you would check in! ;-) John W. Colby The DIS Database Guy -----Original Message----- From: DWUTKA at marlow.com [mailto:DWUTKA at marlow.com] Sent: Wednesday, October 13, 2004 10:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Wed Oct 13 10:04:34 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 13 Oct 2004 11:04:34 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF926@DISABILITYINS01> Hmmm.... You share Drew's eccentric mind? Is Vlad an alter ego? Or is Drew the alter ego? How many more of you are there in that eccentric mind? I believe this a first for the list, I can't recall ever seeing a split personality here before. John W. Colby The DIS Database Guy -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, October 13, 2004 10:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form Drew, They just don't understand how our minds work do they?... ; ) I knew when I posted this that I would be ridiculed, but it's nice to have an understanding soul to the strange workings and motivations of the eccentric mind that we share isn't it Drew?... I liked Susan's solution as it only binds the form temporarily, while the user is viewing it. Once the form is shut down, the app remains totally unbound. One of the advantages of this approach too is that it gives you total flexibility to the path of the BE. No more refreshing the links when the app is started... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, 14 October 2004 12:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 13 10:19:32 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Oct 2004 17:19:32 +0200 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC0@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC0@starfleet.unknown.local> Message-ID: <4630591338.20041013171932@cactus.dk> Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when the > app is started... Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... /gustav From ssharkins at bellsouth.net Wed Oct 13 10:36:09 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 13 Oct 2004 11:36:09 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <4630591338.20041013171932@cactus.dk> Message-ID: <20041013153612.BCXX2420.imf22aec.mail.bellsouth.net@SUSANONE> Well, you could have it both ways -- just create the right recordset. ;) I find myself using the Recordset property more and more. I have to ask though, why is bound a problem????????? AHAHAHAHAAHAHAHAHAHHHHHAAH Susan H. Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when > the app is started... From ssharkins at bellsouth.net Wed Oct 13 10:36:09 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 13 Oct 2004 11:36:09 -0400 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <05C61C52D7CAD211A7830008C7DF6F10CBF926@DISABILITYINS01> Message-ID: <20041013153623.BDAE2420.imf22aec.mail.bellsouth.net@SUSANONE> You jarred Rabbit out of a sound sleep with that one... She generally likes to be the first, no matter what it is... Thanks JC, she's going to chatter at me all day now. :) Susan H. I believe this a first for the list, I can't recall ever seeing a split personality here before. From actebs at actebs.com.au Wed Oct 13 10:44:32 2004 From: actebs at actebs.com.au (ACTEBS) Date: Thu, 14 Oct 2004 01:44:32 +1000 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <2025BB6F17FCB54791F23CD505583328041BC1@starfleet.unknown.local> Hi Gustav, >>Yes, this is nice for a read-only application ... do these count for 90% of all frontends? With DAO it works like a normal bound app. I agree with ADO it is useless. I'm doing this with DAO so it serves it's purpose... >>Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... Only need to do this once. The app is loaded and the path automatically stored within a text box on the main menu. Only have to read this value when making a connection eg: Set dbs = Opendatabase(Forms!frmMainMenu!txtAppPath) It works quite well... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, 14 October 2004 1:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recordset to a Continuous Form Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when > the app is started... Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 13 10:45:27 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Oct 2004 08:45:27 -0700 Subject: [AccessD] Recordset to a Continuous Form Message-ID: LOL Not only a split personality, but one who talks to himself! ;-} Charlotte Foust -----Original Message----- From: Colby, John [mailto:JColby at dispec.com] Sent: Wednesday, October 13, 2004 8:05 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Recordset to a Continuous Form Hmmm.... You share Drew's eccentric mind? Is Vlad an alter ego? Or is Drew the alter ego? How many more of you are there in that eccentric mind? I believe this a first for the list, I can't recall ever seeing a split personality here before. John W. Colby The DIS Database Guy -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Wednesday, October 13, 2004 10:49 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form Drew, They just don't understand how our minds work do they?... ; ) I knew when I posted this that I would be ridiculed, but it's nice to have an understanding soul to the strange workings and motivations of the eccentric mind that we share isn't it Drew?... I liked Susan's solution as it only binds the form temporarily, while the user is viewing it. Once the form is shut down, the app remains totally unbound. One of the advantages of this approach too is that it gives you total flexibility to the path of the BE. No more refreshing the links when the app is started... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Thursday, 14 October 2004 12:07 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Recordset to a Continuous Form Ah, the ol' 'Doing it just because you want to know you can do it!' philosophy. Welcome to my domain! Here's a few pointers on what you are trying to do. Number one, no, you can't. You can't 'trick' Access into using a continuous form, with unbound data. If you create a recordset, and set the form's Recordset to your recordset, you still have a bound form. The 'continuous form' feature of the form, is similar to the navigation buttons. They only work while Access is in control of the data the form represents. (bound). You can, however, roll your own unbound version of a continuous form. What is a continuous form? It's just a form that displays more then one record at a time. To replicate that in an unbound manner, you simply have to make 'copies' of the controls. This is somewhat of a pain, since Access doesn't really allow for control arrays (like VB does), so you have to create the controls you need at design time, and hide the ones you aren't using. Scrolling through the records is simply a matter of keeping track of your 'pointer' record. ie, if you have 6 'rows' of controls, to display a record (one record per row), and you have 12 records to display, at the beginning, record 1 will be in the first row (2 in the 2nd, etc...). Moving down one, now record 2 will be in the first row, and so on. I have done this before, but didn't scroll like that, I put in left/right buttons that let you jump to the next 'set' of records (moving right would put the 7th record in row 1). Why in the world would you want to do this for practical purposes? Well, the time I built my own, it was because I needed to create a dynamic combobox, that didn't work right in an bound form. I needed the combo box to display only the vendors available to buy a particular product from. In a single form, that was fine, but when I went with a continuous form, the combobox didn't 'act' seperately, changing one changed them all (because that's how continuous forms work, it's not really a control array...). With an unbound solution, I was able to set each combo box individually. It took another hour to two to build the form that way, but it accomplished the goal, and quite frankly was just as functional as a bound form. (for what I needed to use it for...) Hope this helps a little in your quest for 'Doing it just because you want to know you can do it!'! Drew -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 12, 2004 10:48 AM To: access group Subject: RE: [AccessD] Recordset to a Continuous Form **I originally sent this exclusively to Joe for some reason. I clicked reply without checking the "To" field. Sorry Joe...** Joe/Charlotte, I'm screwing around trying to teach myself some new tricks and am creating a totally unbound app using A2K. I know, I know, everyone is saying, well why not use VB, but that's not the point of this exercise. So basically, I have an FE that basically opens up recordsets as needed from the BE. Problem is I can't figure out how to populate a continuous form which is one of the really cool features access has over other development environments. List boxes and combos are fine as I create a string and populate like a Value List. So any ideas? Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 13 October 2004 1:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form There's not really any such thing as a continuous *unbound* form. The only thing that makes it a continuous form is the bound recordset. You can display a recordset in a grid control, but it won't behave the same as a continuous form. Perhaps if you explain what you're trying to actually accomplish, someone can help. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Monday, October 11, 2004 7:17 PM To: access group Subject: [AccessD] Recordset to a Continuous Form Hi people, Does anyone know of a method to display a DAO recordset within a A2K continuous unbound form? Also, is it possible to edit the recordset and save once changes are made? Any help much appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Wed Oct 13 10:54:20 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 13 Oct 2004 10:54:20 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <100F91B31300334B89EC531C9DCB0865318D39@tccexch01.tappeconstruction.net> ROTFL! Gustav, I oughta send you a cleanup bill for the coffee I sprayed on my keyboard and monitor in a fit of hysterical laughter. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Wednesday, October 13, 2004 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Recordset to a Continuous Form Hi Vlad > I liked Susan's solution as it only binds the form temporarily, while > the user is viewing it. Once the form is shut down, the app remains > totally unbound. Yes, this is nice for a read-only application ... do these count for 90% of all frontends? And why bother with updating of records - users are sooo demanding! Saves a lot of multi-user troubles as well. > One of the advantages of this approach too is that it gives you total > flexibility to the path of the BE. No more refreshing the links when > the app is started... Yes, much more fun to deal with the links any time a form is to be loaded. You could create a class for that ... /gustav -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From Mark.Mitsules at ngc.com Wed Oct 13 11:09:56 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 13 Oct 2004 12:09:56 -0400 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark From CMackin at quiznos.com Wed Oct 13 11:14:22 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Wed, 13 Oct 2004 10:14:22 -0600 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ 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 Oct 13 11:21:38 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 13 Oct 2004 11:21:38 -0500 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677217FFC4@corp-es01.fleetpride.com> Yeah, But we're left to figure out if we're talking to the FE or the BE of the split..... Jim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 13, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form LOL Not only a split personality, but one who talks to himself! ;-} Charlotte Foust *********************************************************************** 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 gustav at cactus.dk Wed Oct 13 11:23:27 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 13 Oct 2004 18:23:27 +0200 Subject: [AccessD] Recordset to a Continuous Form In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC1@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC1@starfleet.unknown.local> Message-ID: <17134426662.20041013182327@cactus.dk> Hi Vlad Hmmm ... it must be slower to open the database each time a form is to be opened - looks to me like throwing pebbles in front of you as you move along. I just can't see one practical benefit of this approach except for the eventual fun of it and in some very rare cases. > Set dbs = Opendatabase(Forms!frmMainMenu!txtAppPath) To speed this up, you could store dbs as a Static in Opendatabase! This must be the tip of the day ... Oh well, somebody please stop me! /gustav >>>Yes, this is nice for a read-only application ... do these count for > 90% of all frontends? > With DAO it works like a normal bound app. I agree with ADO it is > useless. I'm doing this with DAO so it serves it's purpose... >>>Yes, much more fun to deal with the links any time a form is to be > loaded. You could create a class for that ... > Only need to do this once. The app is loaded and the path automatically > stored within a text box on the main menu. Only have to read this value > when making a connection eg: > Set dbs = Opendatabase(Forms!frmMainMenu!txtAppPath) > It works quite well... > Vlad > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Thursday, 14 October 2004 1:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Recordset to a Continuous Form > Hi Vlad >> I liked Susan's solution as it only binds the form temporarily, while >> the user is viewing it. Once the form is shut down, the app remains >> totally unbound. > Yes, this is nice for a read-only application ... do these count for 90% > of all frontends? > And why bother with updating of records - users are sooo demanding! > Saves a lot of multi-user troubles as well. >> One of the advantages of this approach too is that it gives you total >> flexibility to the path of the BE. No more refreshing the links when >> the app is started... > Yes, much more fun to deal with the links any time a form is to be > loaded. You could create a class for that ... > /gustav From JColby at dispec.com Wed Oct 13 11:54:11 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 13 Oct 2004 12:54:11 -0400 Subject: [AccessD] Recordset to a Continuous Form Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF927@DISABILITYINS01> >Yeah, But we're left to figure out if we're talking to the FE or the BE of the split..... ROTFLMAO! In the end, you're talking to both since the split is itself a fiction of the deranged mind. John W. Colby The DIS Database Guy -----Original Message----- From: Hale, Jim [mailto:Jim.Hale at fleetpride.com] Sent: Wednesday, October 13, 2004 12:22 PM To: 'Accessd (E-mail) Subject: RE: [AccessD] Recordset to a Continuous Form Yeah, But we're left to figure out if we're talking to the FE or the BE of the split..... Jim -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 13, 2004 10:45 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Recordset to a Continuous Form LOL Not only a split personality, but one who talks to himself! ;-} Charlotte Foust *********************************************************************** 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 JHewson at karta.com Wed Oct 13 12:31:59 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 13 Oct 2004 12:31:59 -0500 Subject: [AccessD] Access News Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BF8@karta-exc-int.Karta.com> Below is from the FMS monthly e-newsletter. Thought the list would be interested. Jim H. MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff, Corporate Vice President of Access, Excel and Office Programmability, revealed the future direction for Access and their renewed commitment to the roots of making databases easy, along with SharePoint integration for web connectivity. With the largest Access development team since the early days of Access, Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power. By simplifying the development of database applications, information workers will be empowered to solve more database problems on their own. Meanwhile, the developer features will allow the continued creation of professional solutions. Overall, the investment Microsoft is making, the change in focus and simpler marketing message for Office, is quite tremendous and bodes well for the future of Access. At FMS we are extremely pleased to see this new focus. Rather than focusing on SQL Server or .NET, Microsoft is returning focus to Access' core strength: a rapid development environment for users that can be extended by experienced database developers and programmers. The new initiative will result in even more databases that can be created by information workers, and gives skilled Access users and developers more opportunities. While there are tradeoffs between Access and other, more advanced platforms, making it easier to create Access projects will allow organizations to build applications they could not cost-justify on more expensive platforms. We at FMS have always believed there are a wide range of business and organizational challenges that require database solutions. Some justify expensive and sophisticated solutions, while others are best satisfied with the rapid, cost effective solutions Access offers. From Jdemarco at hudsonhealthplan.org Wed Oct 13 12:47:16 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 13 Oct 2004 13:47:16 -0400 Subject: [AccessD] Access News Message-ID: <08F823FD83787D4BA0B99CA580AD3C74486888@TTNEXCHCL2.hshhp.com> Thanks Jim but I have to wonder if FMS attended the same keynote speech that I did. I was at this Advisor event and looked forward to the keynote entitled "The Future of Access". In it Richard McAniff demoed SharePoint and Access connectivity to SharePoint data but he did not once talk about the direction of Access, future features, SQL connectivity (ADPs that is) or anything other than a "rah-rah we support you developers" with no real details. OTOH, all the .NET sessions showed new features that are "just like Access" so one has to wonder what is the true direction. Also at Alison Balter's pre-conference session "M$ Access Development" she showed a few apps that connected to SQL data. One attendee noted that she was using mdbs and asked why she wasn't using an ADP. She neatly sidestepped the issue that has come up on this list in recent days and simply stated "MDB is the file format that M$ is standing behind and promoting the use of". Of course this is just me paraphrasing but you get the gist of what is being said here. I had lunch with some Access developers who noted the same lack of info on the future of Access at the keynote. I guess we should take comfort in the fact that the Access team is larger but to what end? Jim DeMarco Director Application Development Hudson Health Plan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Hewson Sent: Wednesday, October 13, 2004 1:32 PM To: AccessD Subject: [AccessD] Access News Below is from the FMS monthly e-newsletter. Thought the list would be interested. Jim H. MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff, Corporate Vice President of Access, Excel and Office Programmability, revealed the future direction for Access and their renewed commitment to the roots of making databases easy, along with SharePoint integration for web connectivity. With the largest Access development team since the early days of Access, Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power. By simplifying the development of database applications, information workers will be empowered to solve more database problems on their own. Meanwhile, the developer features will allow the continued creation of professional solutions. Overall, the investment Microsoft is making, the change in focus and simpler marketing message for Office, is quite tremendous and bodes well for the future of Access. At FMS we are extremely pleased to see this new focus. Rather than focusing on SQL Server or .NET, Microsoft is returning focus to Access' core strength: a rapid development environment for users that can be extended by experienced database developers and programmers. The new initiative will result in even more databases that can be created by information workers, and gives skilled Access users and developers more opportunities. While there are tradeoffs between Access and other, more advanced platforms, making it easier to create Access projects will allow organizations to build applications they could not cost-justify on more expensive platforms. We at FMS have always believed there are a wide range of business and organizational challenges that require database solutions. Some justify expensive and sophisticated solutions, while others are best satisfied with the rapid, cost effective solutions Access offers. *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Mark.Mitsules at ngc.com Wed Oct 13 12:59:22 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Wed, 13 Oct 2004 13:59:22 -0400 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: Chris, Thanks for the suggestion to verify that the problem lies with the report footer. I deleted the report footer and the blank page no longer prints. Now that we have confirmed that it is the report footer and I still need the functionality of the report footer "sum"...how can I prevent the report footer from printing? Mark -----Original Message----- From: Mackin, Christopher [mailto:CMackin at quiznos.com] Sent: Wednesday, October 13, 2004 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report Footer Causes Extra Page Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at karta.com Wed Oct 13 13:24:42 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 13 Oct 2004 13:24:42 -0500 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068BFA@karta-exc-int.Karta.com> Mark, Instead of referencing the footer with your header, use a Domain function. You can use the DSum() function using the underlying query for the total in the header. Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 12:59 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Report Footer Causes Extra Page Chris, Thanks for the suggestion to verify that the problem lies with the report footer. I deleted the report footer and the blank page no longer prints. Now that we have confirmed that it is the report footer and I still need the functionality of the report footer "sum"...how can I prevent the report footer from printing? Mark -----Original Message----- From: Mackin, Christopher [mailto:CMackin at quiznos.com] Sent: Wednesday, October 13, 2004 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report Footer Causes Extra Page Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 13 18:32:50 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Oct 2004 16:32:50 -0700 Subject: [AccessD] Report Footer Causes Extra Page Message-ID: You can suppress it in the print event of the footer by setting PrintSection = False. Charlotte Foust -----Original Message----- From: Mitsules, Mark S. (Newport News) [mailto:Mark.Mitsules at ngc.com] Sent: Wednesday, October 13, 2004 10:59 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Report Footer Causes Extra Page Chris, Thanks for the suggestion to verify that the problem lies with the report footer. I deleted the report footer and the blank page no longer prints. Now that we have confirmed that it is the report footer and I still need the functionality of the report footer "sum"...how can I prevent the report footer from printing? Mark -----Original Message----- From: Mackin, Christopher [mailto:CMackin at quiznos.com] Sent: Wednesday, October 13, 2004 12:14 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Report Footer Causes Extra Page Sounds like it may not be the Report Footer, have you tried deleting the Footer and running it to see if you still get the extra page? -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mitsules, Mark S. (Newport News) Sent: Wednesday, October 13, 2004 10:10 AM To: [AccessD] Subject: [AccessD] Report Footer Causes Extra Page Group, I have an 8" report set to 4 2" columns. I utilize a report footer to hold an overall sum, which I reference in the report header. Currently, the report prints an extra blank page which I am assuming is the report footer. Current settings for the report footer section are: Visible=No CanShrink=Yes Current settings for the "sum" control are: Visible=No CanShrink=Yes What am I missing? I don't want to print this blank page but can't seem to find a combination of settings to prevent it. Mark -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 13 18:37:31 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 13 Oct 2004 16:37:31 -0700 Subject: [AccessD] Access News Message-ID: I thought the quote "Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power" was most telling. The rather weak "Meanwhile, the developer features will allow the continued creation of professional solutions" sounds like it should mean something, but I don't know what, since professional solutions aren't inherent in any tool but depend on the knowledge and experience of the developer. There really *aren't* any developer features in Access 2003, they're in the extension tools for Visual Studio. :-{ Charlotte Foust -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, October 13, 2004 10:32 AM To: AccessD Subject: [AccessD] Access News Below is from the FMS monthly e-newsletter. Thought the list would be interested. Jim H. MICROSOFT INVESTING HEAVILY IN ACCESS Last week at the Access Advisor conference in Las Vegas, Microsoft announced their plans for enhancing Access over the next several versions. In his keynote, Richard McAniff, Corporate Vice President of Access, Excel and Office Programmability, revealed the future direction for Access and their renewed commitment to the roots of making databases easy, along with SharePoint integration for web connectivity. With the largest Access development team since the early days of Access, Microsoft is refocusing its efforts on making Access the no-brainer choice for Excel users who need more power. By simplifying the development of database applications, information workers will be empowered to solve more database problems on their own. Meanwhile, the developer features will allow the continued creation of professional solutions. Overall, the investment Microsoft is making, the change in focus and simpler marketing message for Office, is quite tremendous and bodes well for the future of Access. At FMS we are extremely pleased to see this new focus. Rather than focusing on SQL Server or .NET, Microsoft is returning focus to Access' core strength: a rapid development environment for users that can be extended by experienced database developers and programmers. The new initiative will result in even more databases that can be created by information workers, and gives skilled Access users and developers more opportunities. While there are tradeoffs between Access and other, more advanced platforms, making it easier to create Access projects will allow organizations to build applications they could not cost-justify on more expensive platforms. We at FMS have always believed there are a wide range of business and organizational challenges that require database solutions. Some justify expensive and sophisticated solutions, while others are best satisfied with the rapid, cost effective solutions Access offers. From KP at sdsonline.net Wed Oct 13 20:15:21 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Thu, 14 Oct 2004 11:15:21 +1000 Subject: [AccessD] Help with syntax please....OpenRecordset References: <000301c4b0dc$fb9fbce0$e8dafea9@ColbyM6805> Message-ID: <003601c4b18b$471d9cb0$6501a8c0@user> That's interesting - will keep it in mind. I don't have a need for it at present. Kath ----- Original Message ----- From: John W. Colby To: 'Access Developers discussion and problem solving' Sent: Wednesday, October 13, 2004 2:27 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset BTW, the concept of the "static stored value" can be made even more useful if you use a collection to store the value, keyed on the name of the variable. In that way you can use a single function to set / retrieve a multitude of different stored values. Option Compare Database Option Explicit Private mcolFilter As Collection Private mblnFltrInitialized As Boolean Public Function Fltr(lstrName As String, Optional lvarValue As Variant) As Variant On Error GoTo Err_Fltr 'This sets up the collection if it isn't already initialized If mblnFltrInitialized = False Then Set mcolFilter = New Collection mblnFltrInitialized = True End If If IsMissing(lvarValue) Then 'This path is used to retrieve a value from the collection On Error Resume Next Fltr = mcolFilter(lstrName) If Err <> 0 Then Fltr = Null End If Else 'This path is used to store a variable on the collection On Error Resume Next mcolFilter.Remove lstrName mcolFilter.Add lvarValue, lstrName Fltr = lvarValue End If Exit_Fltr: Exit Function Err_Fltr: MsgBox Err.Description, , "Error in Function basFltrFunctions.Fltr" Resume Exit_Fltr Resume 0 '.FOR TROUBLESHOOTING End Function One function can now be called with a "variable name" and a value to store a value into a "variable". fltr MyValue, "MyVarName" MyValue can be anything at all, string numeric etc. If the variable name already exists, then it is removed and replaced with the new value. This effectively stores the value passed in even if there was already a value in the collection keyed on that name. To retrieve a value, just call the function passing in the name of the "variable" you want the value of. If there is no such variable name a null will be returned. MyVar = fltr("MyVarName") I don't remember right off hand whether a control or form can be passed in to a variant though I believe it can. Thus you need to be careful that you either do not pass in pointers to objects or that you make sure you clean out the collection before terminating your program. If there are no objects, it doesn't matter, i.e. the collection and its values can be cleaned up by VB as the app closes. If there are pointers to objects in there however VB may not correctly clean up the collection and the program may hang instead of exiting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Tuesday, October 12, 2004 11:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help with syntax please....OpenRecordset Done, done and done. Thanks all for your help. I had no idea that a form criterion parameter couldn't be used in that way and could have wasted even more time. Kath ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problemsolving Sent: Wednesday, October 13, 2004 1:00 PM Subject: Re: [AccessD] Help with syntax please....OpenRecordset On 13 Oct 2004 at 11:46, Kath Pelletti wrote: > I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' > After many hours, I can't fix it so would appreciate the help..... > The problem is in the query "QryWebLetter_ReadRecipientsEmai". You are probably using a reference a control on a form as a criterion/paramter for your query. You can't do that when you call the query as a recordset. My usual workaround is to create a Static function called StoredValue() to store the parameter, change the criterion in the query to "=StoredValue()" and set the value of the function before calling the query with "retval = StoredValue(Forms!myForm.myControl)" or just "StoredValue Forms!myForm.myControl" -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Thu Oct 14 02:23:17 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 09:23:17 +0200 Subject: [AccessD] OT: EPL? Message-ID: <681171364.20041014092317@cactus.dk> Hi all Just got this from Programmer's Report on an upcoming language: "Unlike databases that use hoc SELECT-FROM-WHERE queries against a persistent data store, EPL employs a time-based persistent ON-WHEN-THEN query against asynchronous data flows and historical context data." http://www.adtmag.com/article.asp?id=10121 /gustav From gustav at cactus.dk Thu Oct 14 02:33:10 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 09:33:10 +0200 Subject: [AccessD] Access News In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74486888@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74486888@TTNEXCHCL2.hshhp.com> Message-ID: <1761764787.20041014093310@cactus.dk> Hi Jim > OTOH, all the .NET sessions showed new features that are "just like > Access" so one has to wonder what is the true direction. Also at > Alison Balter's pre-conference session "M$ Access Development" she > showed a few apps that connected to SQL data. One attendee noted > that she was using mdbs and asked why she wasn't using an ADP. She > neatly sidestepped the issue that has come up on this list in recent > days and simply stated "MDB is the file format that M$ is standing > behind and promoting the use of". Of course this is just me > paraphrasing but you get the gist of what is being said here. Well, after all wasn't the ADP concept a misunderstanding contradicting the original mission of Access "to be the key to access any source of data"? /gustav From Paul.Rogers at SummitMedia.co.uk Thu Oct 14 05:50:01 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Thu, 14 Oct 2004 11:50:01 +0100 Subject: [AccessD] Totalling numbers from a multiple entries in two fields Message-ID: tblMain has 7 ethnicity options in the one field [Roots]. Each of the options involves 10 or so different jobs [Work]. I have to find the numbers for each of the Roots options for each job [Work]. I tried with a number of queries which I pasted bodily into Word to make an instant report. But some strange results is the consequence. Be very pleased to hear how an expert would go about it. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From Jdemarco at hudsonhealthplan.org Thu Oct 14 07:25:25 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 14 Oct 2004 08:25:25 -0400 Subject: [AccessD] Access News Message-ID: <08F823FD83787D4BA0B99CA580AD3C74486892@TTNEXCHCL2.hshhp.com> I guess but I'm just thinking of all those who've invested in that format who seem to be losing support (thankfully I'm not in that group). Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Thursday, October 14, 2004 3:33 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access News Hi Jim > OTOH, all the .NET sessions showed new features that are "just like > Access" so one has to wonder what is the true direction. Also at > Alison Balter's pre-conference session "M$ Access Development" she > showed a few apps that connected to SQL data. One attendee noted > that she was using mdbs and asked why she wasn't using an ADP. She > neatly sidestepped the issue that has come up on this list in recent > days and simply stated "MDB is the file format that M$ is standing > behind and promoting the use of". Of course this is just me > paraphrasing but you get the gist of what is being said here. Well, after all wasn't the ADP concept a misunderstanding contradicting the original mission of Access "to be the key to access any source of data"? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From starkey at wanadoo.nl Thu Oct 14 11:17:18 2004 From: starkey at wanadoo.nl (StaRKeY) Date: Thu, 14 Oct 2004 18:17:18 +0200 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <00a001c4b0d1$e32988e0$6501a8c0@user> Message-ID: <20041014161339.C8BC95D216@smtp8.wanadoo.nl> Mmmzzz don't wanna be fuzzy but one remark about the codesample though just in case others wanna use it... To use a recordcount if I remember well, you should always do a rs.movelast and a rs.movefirst first to populate the recordset and get a reliable recordcount. Regards, Eric Starkenburg -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Kath Pelletti Verzonden: woensdag 13 oktober 2004 05:08 Aan: Access Developers discussion and problem solving Onderwerp: Re: [AccessD] Help with syntax please....OpenRecordset Thanks Vlad - I thought that was the problem too....but it seems that it just doesn't like my query even though the query runs fine in the normal access window. I may have to change it to an sql statement. Sigh - I had already tried that this morning but just couldn't get the syntax right .... I will have another go at the sql syntax and if I can't nail it post back. Thanks Kath ----- Original Message ----- From: ACTEBS To: Access Developers discussion and problem solving Sent: Wednesday, October 13, 2004 12:50 PM Subject: RE: [AccessD] Help with syntax please....OpenRecordset Kath, Maybe like this: Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As DAO.Database '>>>>>>>>>I changed this Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE '>>>>>>>>>>>>>>Made a few changes here If rs.recordcount > 0 then Rs.movefirst Do Until rs.EOF With rs .Edit VarEmailto = .Fields("LoginEmail") .Update End With rs.movenext loop End if 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Rs.close Set rs = nothing Db.close Set db = nothing HTH. You will need to check over it as I did it off the top of my head, but you'll get the idea anyway... Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kath Pelletti Sent: Wednesday, 13 October 2004 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Help with syntax please....OpenRecordset I am trying to use a saved query for my recordset source....but keep getting an error 'Too few parameters - expected 1' on the line 'Set rs = ' After many hours, I can't fix it so would appreciate the help..... Code: ------------------------------------------------------------------------ -------- Public Function EmailWebLetterRecipients() Dim strerrormsg, strsql, StrQueryName As String Dim VarEmailto As Variant Dim intrecno, IntWebLetterID As Integer Dim db As Database Dim rs As DAO.Recordset Set db = CurrentDb StrQueryName = "QryWebLetter_ReadRecipientsEmail" Set rs = db.OpenRecordset(StrQueryName, dbOpenDynaset) ' Open recordset on saved query ERROR HERE With rs .MoveFirst .Edit VarEmailto = .Fields("LoginEmail") .Update .close End With 'MsgBox ("Going to " & VarEmailto) 'Call Send_Email(VarEmailto, StrNamePDFFile) Normal_exit: DoCmd.SetWarnings True Exit Function Err_Handler: MsgBox "Error: [" & Err.Number & "] " & IIf(Len(strerrormsg) > 0, strerrormsg, Err.Description), vbCritical, "Error Message" Resume Normal_exit End Function ------------------------------------------------------------------------ -------- Kath Pelletti Software Design & Solutions Pty Ltd. Ph: 9505-6714 Fax: 9505-6430 KP at SDSOnline.net -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com _____ avast! Antivirus : Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0442-2, 14-10-2004 Getest op: 14-10-2004 18:17:18 avast! auteursrecht (c) 2000-2004 ALWIL Software. From ssharkins at bellsouth.net Thu Oct 14 11:18:43 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 14 Oct 2004 12:18:43 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <20041014161339.C8BC95D216@smtp8.wanadoo.nl> Message-ID: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> Some recordsets support the RecordCount property, some don't. Those that do don't require the move through the records to get a count. Just refer to the RecordCount property. Just wrote an article on it for Inside Microsoft Access -- should be out this winter sometime. Susan H. Mmmzzz don't wanna be fuzzy but one remark about the codesample though just in case others wanna use it... To use a recordcount if I remember well, you should always do a rs.movelast and a rs.movefirst first to populate the recordset and get a reliable recordcount. From gustav at cactus.dk Thu Oct 14 12:04:26 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 19:04:26 +0200 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> References: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> Message-ID: <536040243.20041014190426@cactus.dk> Hi Susan Without having read your article I think this may be a concern only for ODBC attached tables. But I haven't studied it closely. /gustav > Some recordsets support the RecordCount property, some don't. Those that do > don't require the move through the records to get a count. Just refer to the > RecordCount property. Just wrote an article on it for Inside Microsoft > Access -- should be out this winter sometime. > Susan H. > Mmmzzz don't wanna be fuzzy but one remark about the codesample though just > in case others wanna use it... To use a recordcount if I remember well, you > should always do a rs.movelast and a rs.movefirst first to populate the > recordset and get a reliable recordcount. From gustav at cactus.dk Thu Oct 14 12:02:08 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Oct 2004 19:02:08 +0200 Subject: [AccessD] Query a text file without attach or import Message-ID: <14835902294.20041014190208@cactus.dk> Hi all Should you ever need it, you can query a text file directly without importing or attaching it first. The trich is to understand that Access regards the directory of the text file as a "database": SELECT [pics#txt].Field1, [pics#txt].Field2 FROM [pics#txt] IN '' [Text;DATABASE=c:\windows\temp;]; or: SELECT Field1, Field2 FROM [Text;DATABASE=c:\windows\temp;HDR=YES].[pics.txt]; I should note that - as to my testings - even if you specify HDR=NO, Access still reads the first line for the column names. These syntax are very handy when you need to read temporary text files where you do not wish to attach these at all. /gustav From cyx5 at cdc.gov Thu Oct 14 12:09:34 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 14 Oct 2004 13:09:34 -0400 Subject: [AccessD] Drab Gray Command Button Color Message-ID: I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services From cfoust at infostatsystems.com Thu Oct 14 12:19:06 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 10:19:06 -0700 Subject: [AccessD] Help with syntax please....OpenRecordset Message-ID: It also depends on the type of recordset and the location (client or server). An ADO recordset may simply return a -1, meaning that yes, there are records. Charlotte Foust -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Thursday, October 14, 2004 9:19 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset Some recordsets support the RecordCount property, some don't. Those that do don't require the move through the records to get a count. Just refer to the RecordCount property. Just wrote an article on it for Inside Microsoft Access -- should be out this winter sometime. Susan H. Mmmzzz don't wanna be fuzzy but one remark about the codesample though just in case others wanna use it... To use a recordcount if I remember well, you should always do a rs.movelast and a rs.movefirst first to populate the recordset and get a reliable recordcount. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Oct 14 12:24:29 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 14 Oct 2004 13:24:29 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <536040243.20041014190426@cactus.dk> Message-ID: <20041014172429.BTTH2420.imf22aec.mail.bellsouth.net@SUSANONE> The providers is a huge factor. ;) Susan H. Hi Susan Without having read your article I think this may be a concern only for ODBC attached tables. But I haven't studied it closely. From cfoust at infostatsystems.com Thu Oct 14 12:24:54 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 10:24:54 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: -2147483633 Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Thursday, October 14, 2004 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From liz at symphonyinfo.com Thu Oct 14 12:26:14 2004 From: liz at symphonyinfo.com (Liz Doering) Date: Thu, 14 Oct 2004 12:26:14 -0500 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 14 12:35:32 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 14 Oct 2004 13:35:32 -0400 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: <000001c4b214$35033830$0200a8c0@COA3> Try -2147483633 Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 1:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Oct 14 12:37:58 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 14 Oct 2004 13:37:58 -0400 Subject: [AccessD] Drab Gray Command Button Color Message-ID: Thank you thank you thank you. Perfect. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:25 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color -2147483633 Charlotte Foust -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Thursday, October 14, 2004 10:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BBarabash at TappeConstruction.com Thu Oct 14 12:46:54 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Thu, 14 Oct 2004 12:46:54 -0500 Subject: [AccessD] Drab Gray Command Button Color Message-ID: <100F91B31300334B89EC531C9DCB0865318D44@tccexch01.tappeconstruction.net> Well, that all depends. -2147483633 will give you the current 3D objects color setting in your Display properties, which is used for non-XP style command buttons, however the actual color displayed will vary from machine to machine if they changed their color theme (I've seen buttons rendered in everything from Light Blue to Hot Pink). 13160660 is the "classic" Windows button color (95-2000), which looks out of place on an XP screen. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From cfoust at infostatsystems.com Thu Oct 14 12:48:53 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 10:48:53 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 14 13:09:12 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 14 Oct 2004 14:09:12 -0400 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: <000301c4b218$e8a76420$0200a8c0@COA3> Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 14 13:31:48 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 11:31:48 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: It has the added benefit of keeping your buttons or whatever colored to match the current background settings of Windows. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Thu Oct 14 14:24:55 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Thu, 14 Oct 2004 15:24:55 -0400 Subject: [AccessD] Drab Gray Command Button Color In-Reply-To: Message-ID: <000401c4b223$7c855990$0200a8c0@COA3> Are you sayting if you copy/paste the numbers from Form bkgr to text box back color, it won't match the Windows background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 2:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color It has the added benefit of keeping your buttons or whatever colored to match the current background settings of Windows. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Oct 14 14:34:20 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 14 Oct 2004 20:34:20 +0100 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <20041014161843.CZS2420.imf22aec.mail.bellsouth.net@SUSANONE> Message-ID: <000a01c4b224$cdae5e60$b274d0d5@minster33c3r25> Are you sure Susan? Here's my findings with a table of 6 records Dim db As Database Dim rst As Recordset Set db = CurrentDb Set rst = db.OpenRecordset("CONTACTS", dbOpenTable) MsgBox rst.RecordCount Gives an answer of 6 But Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") MsgBox rst.RecordCount Gives an answer of 1. As does Set rst = db.OpenRecordset("CONTACTS", dbOpenDynaset) If you then do Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") If Not rst.EOF Then rst.MoveLast rst.MoveFirst MsgBox rst.RecordCount End If You get a reliable 6. (Note to folks, donn't do a Movelast without checking EOF. If the table's empty the Movelast collapses). So I reckon Dynaset recordtypes support RecordCount but do require the Movelast. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: 14 October 2004 17:19 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Help with syntax please....OpenRecordset > > > Some recordsets support the RecordCount property, some don't. > Those that do don't require the move through the records to > get a count. Just refer to the RecordCount property. Just > wrote an article on it for Inside Microsoft Access -- should > be out this winter sometime. > > Susan H. > > Mmmzzz don't wanna be fuzzy but one remark about the > codesample though just in case others wanna use it... To use > a recordcount if I remember well, you should always do a > rs.movelast and a rs.movefirst first to populate the > recordset and get a reliable recordcount. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Lambert.Heenan at AIG.com Thu Oct 14 14:31:57 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 14 Oct 2004 15:31:57 -0400 Subject: [AccessD] Drab Gray Command Button Color Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471AA55@xlivmbx21.aig.com> Exactly. -2147483633 is not an RGB color number, it tells Access to go use one of the System colors instead. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, October 14, 2004 2:32 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Drab Gray Command Button Color > > It has the added benefit of keeping your buttons or whatever colored to > match the current background settings of Windows. > > Charlotte Foust > > > -----Original Message----- > From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] > > Sent: Thursday, October 14, 2004 11:09 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Drab Gray Command Button Color > > > Actually, Copy/Paste it from the Form Bkgr is even better, why try to > remember those 10 digits? > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, October 14, 2004 1:49 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Drab Gray Command Button Color > > > You don't need a sticky note. Just open any form in design view and > look at the color of the default background. > > Charlotte Foust > > > -----Original Message----- > From: Liz Doering [mailto:liz at symphonyinfo.com] > Sent: Thursday, October 14, 2004 10:26 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Drab Gray Command Button Color > > > Karen, > > -2147483633 > > (yes, this is on a sticky note on the side of my computer) > > Liz > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, > Karen > Sent: Thursday, October 14, 2004 12:10 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Drab Gray Command Button Color > > I am trying to make a raised text box the same color as the gray command > buttons; I am so close with a background color of 13490391. Does anyone > have the exact color? (Jeapordy trivia question de jour). Thanks. > > Karen Nicholson > National Laboratory > Xerox Global Services > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 earthlink.net Thu Oct 14 14:47:48 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Oct 2004 15:47:48 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <000a01c4b224$cdae5e60$b274d0d5@minster33c3r25> Message-ID: <> It's hit or miss depending on the size of the recordset. If JET thinks it's going to take too long to fully populate it, it finishes the job in the background. Code starts executing again while this is going on, so .Recordcount will be incorrect when this happens. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Thursday, October 14, 2004 3:34 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Help with syntax please....OpenRecordset Are you sure Susan? Here's my findings with a table of 6 records Dim db As Database Dim rst As Recordset Set db = CurrentDb Set rst = db.OpenRecordset("CONTACTS", dbOpenTable) MsgBox rst.RecordCount Gives an answer of 6 But Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") MsgBox rst.RecordCount Gives an answer of 1. As does Set rst = db.OpenRecordset("CONTACTS", dbOpenDynaset) If you then do Set rst = db.OpenRecordset("SELECT * FROM CONTACTS") If Not rst.EOF Then rst.MoveLast rst.MoveFirst MsgBox rst.RecordCount End If You get a reliable 6. (Note to folks, donn't do a Movelast without checking EOF. If the table's empty the Movelast collapses). So I reckon Dynaset recordtypes support RecordCount but do require the Movelast. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Susan Harkins > Sent: 14 October 2004 17:19 > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Help with syntax please....OpenRecordset > > > Some recordsets support the RecordCount property, some don't. > Those that do don't require the move through the records to > get a count. Just refer to the RecordCount property. Just > wrote an article on it for Inside Microsoft Access -- should > be out this winter sometime. > > Susan H. > > Mmmzzz don't wanna be fuzzy but one remark about the > codesample though just in case others wanna use it... To use > a recordcount if I remember well, you should always do a > rs.movelast and a rs.movefirst first to populate the > recordset and get a reliable recordcount. > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jeffrey.demulling at usbank.com Thu Oct 14 15:06:11 2004 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Thu, 14 Oct 2004 15:06:11 -0500 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: Message-ID: > It's hit or miss depending on the size of the recordset. If JET thinks > it's going to take too long to fully populate it, it finishes the job in the > background. Code starts executing again while this is going on, so > .Recordcount will be incorrect when this happens. Why not use something along the lines of? Dim db As DAO.Database Dim rst As DAO.Recordset Dim mysql as string mysql = "SELECT" mysql = mysql & " Count(CONTACTS.CONTACTKEY) AS RecordCount" mysql = mysql & " FROM" mysql = mysql & " CONTACTS;" Set db = CurrentDb Set rst = db.OpenRecordset(mysql) MsgBox rst.Fields("RecordCount") ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================== From cfoust at infostatsystems.com Thu Oct 14 15:08:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 14 Oct 2004 13:08:43 -0700 Subject: [AccessD] Drab Gray Command Button Color Message-ID: No, I'm saying that it adjusts to whatever the current Windows system setting is, the same way the default background of a form does. That's what that negative number indicates. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 12:25 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Are you sayting if you copy/paste the numbers from Form bkgr to text box back color, it won't match the Windows background? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 2:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color It has the added benefit of keeping your buttons or whatever colored to match the current background settings of Windows. Charlotte Foust -----Original Message----- From: Steve Conklin (Developer at UltraDNT) [mailto:Developer at ultradnt.com] Sent: Thursday, October 14, 2004 11:09 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Actually, Copy/Paste it from the Form Bkgr is even better, why try to remember those 10 digits? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 14, 2004 1:49 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Drab Gray Command Button Color You don't need a sticky note. Just open any form in design view and look at the color of the default background. Charlotte Foust -----Original Message----- From: Liz Doering [mailto:liz at symphonyinfo.com] Sent: Thursday, October 14, 2004 10:26 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Drab Gray Command Button Color Karen, -2147483633 (yes, this is on a sticky note on the side of my computer) Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Thursday, October 14, 2004 12:10 PM To: accessd at databaseadvisors.com Subject: [AccessD] Drab Gray Command Button Color I am trying to make a raised text box the same color as the gray command buttons; I am so close with a background color of 13490391. Does anyone have the exact color? (Jeapordy trivia question de jour). Thanks. Karen Nicholson National Laboratory Xerox Global Services -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 earthlink.net Thu Oct 14 15:27:46 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Thu, 14 Oct 2004 16:27:46 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: Message-ID: Sure that would work as your explicitly forcing JET to count all the records. But it would be faster if it was: mysql = "SELECT" mysql = mysql & " Count(*) AS RecordCount" mysql = mysql & " FROM" mysql = mysql & " CONTACTS;" JET will just get the count from the primary key index if there is one. Jim Dettman (315) 699-3443 jimdettman at earthlink.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of jeffrey.demulling at usbank.com Sent: Thursday, October 14, 2004 4:06 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Help with syntax please....OpenRecordset > It's hit or miss depending on the size of the recordset. If JET thinks > it's going to take too long to fully populate it, it finishes the job in the > background. Code starts executing again while this is going on, so > .Recordcount will be incorrect when this happens. Why not use something along the lines of? Dim db As DAO.Database Dim rst As DAO.Recordset Dim mysql as string mysql = "SELECT" mysql = mysql & " Count(CONTACTS.CONTACTKEY) AS RecordCount" mysql = mysql & " FROM" mysql = mysql & " CONTACTS;" Set db = CurrentDb Set rst = db.OpenRecordset(mysql) MsgBox rst.Fields("RecordCount") ---------------------------------------------------------------------------- -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================ == -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Thu Oct 14 16:15:28 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Thu, 14 Oct 2004 17:15:28 -0400 Subject: [AccessD] Help with syntax please....OpenRecordset In-Reply-To: <000a01c4b224$cdae5e60$b274d0d5@minster33c3r25> Message-ID: <20041014211533.FPCF2383.imf24aec.mail.bellsouth.net@SUSANONE> Send me your private email and I'll send you a copy of the article. Susan H. Are you sure Susan? Here's my findings with a table of 6 records From john at winhaven.net Thu Oct 14 17:00:37 2004 From: john at winhaven.net (John Bartow) Date: Thu, 14 Oct 2004 17:00:37 -0500 Subject: [AccessD] Net Op Message-ID: Anyone use Net Op for remote users? John B. From actebs at actebs.com.au Fri Oct 15 00:33:13 2004 From: actebs at actebs.com.au (ACTEBS) Date: Fri, 15 Oct 2004 15:33:13 +1000 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad From gustav at cactus.dk Fri Oct 15 04:11:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Oct 2004 11:11:56 +0200 Subject: [AccessD] Filemaker ODBC Driver for Access In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Message-ID: <1157828677.20041015111156@cactus.dk> Hi Vlad Isn't an eval. version of FileMaker available? If so, perhaps it can export the data for you. /gustav > Guys, > Does anyone know where to get an ODBC driver for Filemaker Pro? I have a > client who is migrating from Filemaker Pro to Access (Government Dept) > and they would not know where to get the disk that was originally > installed on their PC. The task of extracting the data from his FmPro DB > into Access is part of an app I'm building for them. > I don't want to purchase one if I don't have to, but the only ones I can > find online are $100+. For one file and one import instance I can't see > that that is value for money... > Any help greatly appreciated... > Vlad From jmoss111 at bellsouth.net Fri Oct 15 06:46:52 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Fri, 15 Oct 2004 06:46:52 -0500 Subject: [AccessD] Filemaker ODBC Driver for Access In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Message-ID: Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmoss111 at bellsouth.net Fri Oct 15 06:56:45 2004 From: jmoss111 at bellsouth.net (JMoss) Date: Fri, 15 Oct 2004 06:56:45 -0500 Subject: [AccessD] Filemaker ODBC Driver for Access In-Reply-To: Message-ID: One last thing about DataJunction; if FileMaker isn't a listed supported file format, it will still probably handle the data because it has a "file sniffer" and can use the correct functionaly to read/write data. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of JMoss Sent: Friday, October 15, 2004 6:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Fri Oct 15 08:14:53 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 15 Oct 2004 09:14:53 -0400 Subject: [AccessD] Get user name Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738E4@doesefpeml02.eus.fldoe.int> This thread went around awhile back and I looked it up in the archives. I want to use the code that was suggested, but I don't know 1) how to call the function or 2) if it will work in our situation. Most of our users are on Windows2000 but a couple are still on NT. Does that make a difference. Do I need a login screen or can I just have the username entered into the table (backend on a network drive) when the user opens the form or enters a new record on the form. And finally how do I call the function in the form? I guess I could ask if anyone has a simple project log database already developed that they wouldn't mind sharing. Ours is really quite simple in that all we want to keep track of is what projects staff members are working on, requester, due dates, and a few other things. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From prodevmg at yahoo.com Fri Oct 15 08:40:30 2004 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 15 Oct 2004 06:40:30 -0700 (PDT) Subject: [AccessD] Get user name In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE738E4@doesefpeml02.eus.fldoe.int> Message-ID: <20041015134030.88578.qmail@web20426.mail.yahoo.com> Have you tried Environ("Username") ? "Klos, Susan" wrote: This thread went around awhile back and I looked it up in the archives. I want to use the code that was suggested, but I don't know 1) how to call the function or 2) if it will work in our situation. Most of our users are on Windows2000 but a couple are still on NT. Does that make a difference. Do I need a login screen or can I just have the username entered into the table (backend on a network drive) when the user opens the form or enters a new record on the form. And finally how do I call the function in the form? I guess I could ask if anyone has a simple project log database already developed that they wouldn't mind sharing. Ours is really quite simple in that all we want to keep track of is what projects staff members are working on, requester, due dates, and a few other things. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! From Mark.Mitsules at ngc.com Fri Oct 15 09:00:36 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 15 Oct 2004 10:00:36 -0400 Subject: [AccessD] Get user name Message-ID: Susan, I'm sending you a simple db (A2K, 208KB) that includes an automatic login/exit form, modules for computer name and user name, and a usys table that stores this information along with a date/time stamp. Notes: 1. Requires a DAO reference. 2. Login info is tracked regardless of whether the user exits from the login form or not. I basically just use it as a scare tactic to keep honest people honest. Mark -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, October 15, 2004 9:15 AM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Get user name This thread went around awhile back and I looked it up in the archives. I want to use the code that was suggested, but I don't know 1) how to call the function or 2) if it will work in our situation. Most of our users are on Windows2000 but a couple are still on NT. Does that make a difference. Do I need a login screen or can I just have the username entered into the table (backend on a network drive) when the user opens the form or enters a new record on the form. And finally how do I call the function in the form? I guess I could ask if anyone has a simple project log database already developed that they wouldn't mind sharing. Ours is really quite simple in that all we want to keep track of is what projects staff members are working on, requester, due dates, and a few other things. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Oct 15 09:06:25 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 15 Oct 2004 10:06:25 -0400 Subject: [AccessD] Get user name In-Reply-To: Message-ID: <20041015140627.QRXV2444.imf19aec.mail.bellsouth.net@SUSANONE> Mark, what do you mean to keep people honest? Any way to relate the person logged to something actually done in the database? Susan H. Susan, I'm sending you a simple db (A2K, 208KB) that includes an automatic login/exit form, modules for computer name and user name, and a usys table that stores this information along with a date/time stamp. Notes: 1. Requires a DAO reference. 2. Login info is tracked regardless of whether the user exits from the login form or not. I basically just use it as a scare tactic to keep honest people honest. From CMackin at quiznos.com Fri Oct 15 09:10:15 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Fri, 15 Oct 2004 08:10:15 -0600 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: I have down some work with FileMkaer Proc in recent history, it is the absolute worst "database" product I have ever seen, we refered to it as the "My First Database" product line. You'll love it the first time you come across a "Date" field that contains string data or a "Number" field that contains string, no primary keys can be established in spite the ability to set fields to "unique". Anyway, you can download a free ODBC driveer from FileMaker Pro's website, one key to rememeber when setting up an ODBC connection with it is that you MUST have the FileMaker Pro file open while you are connecting to it, otherwise the connection fails. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, October 14, 2004 11:33 PM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Fri Oct 15 09:42:38 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Fri, 15 Oct 2004 10:42:38 -0400 Subject: [AccessD] Get user name Message-ID: No...I didn't implement a transaction history. The login form just serves as a gentle reminder that users are not anonymous and that problems can be tracked down to the date/time and particular users who were logged in. An honest person therefore is more likely to approach me and let me know that they just accidentally deleted 10,000 records...rather than let me track down, confront and publicly implicate several potential suspects;) ...at least that's the plan;) ...it's been working so far;) Mark -----Original Message----- From: Susan Harkins [mailto:ssharkins at bellsouth.net] Sent: Friday, October 15, 2004 10:06 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Get user name Mark, what do you mean to keep people honest? Any way to relate the person logged to something actually done in the database? Susan H. Susan, I'm sending you a simple db (A2K, 208KB) that includes an automatic login/exit form, modules for computer name and user name, and a usys table that stores this information along with a date/time stamp. Notes: 1. Requires a DAO reference. 2. Login info is tracked regardless of whether the user exits from the login form or not. I basically just use it as a scare tactic to keep honest people honest. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Fri Oct 15 09:54:04 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Fri, 15 Oct 2004 10:54:04 -0400 Subject: [AccessD] Get user name In-Reply-To: Message-ID: <20041015145414.JDXY2494.imf18aec.mail.bellsouth.net@SUSANONE> I see. ;) Susan H. No...I didn't implement a transaction history. The login form just serves as a gentle reminder that users are not anonymous and that problems can be tracked down to the date/time and particular users who were logged in. An honest person therefore is more likely to approach me and let me know that they just accidentally deleted 10,000 records...rather than let me track down, confront and publicly implicate several potential suspects;) ...at least that's the plan;) ...it's been working so far;) From Susan.Klos at fldoe.org Fri Oct 15 10:01:34 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 15 Oct 2004 11:01:34 -0400 Subject: [AccessD] Get user name Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738E6@doesefpeml02.eus.fldoe.int> Lonnie, Thanks. That worked perfectly. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From roz.clarke at donnslaw.co.uk Fri Oct 15 10:15:07 2004 From: roz.clarke at donnslaw.co.uk (Roz Clarke) Date: Fri, 15 Oct 2004 16:15:07 +0100 Subject: [AccessD] Totalling numbers from a multiple entries in two fi elds Message-ID: <61F915314798D311A2F800A0C9C8318805CED624@dibble.observatory.donnslaw.co.uk> Sorry Paul I am struggling to visualise your data. But I'll assume that there is an entity that tblMain describes for which both Roots and Work are attributes (such as a person)? To get the number of people of each ethnicity for each job, you need to add the fields to a totals query, grouping by firstly Work, then Roots, and then counting the unique identifier for each person. HTH Roz -----Original Message----- From: Paul Rodgers [mailto:Paul.Rogers at summitmedia.co.uk] Sent: 14 October 2004 11:50 To: 'Access Developers discussion and problem solving' Subject: [AccessD] Totalling numbers from a multiple entries in two fields tblMain has 7 ethnicity options in the one field [Roots]. Each of the options involves 10 or so different jobs [Work]. I have to find the numbers for each of the Roots options for each job [Work]. I tried with a number of queries which I pasted bodily into Word to make an instant report. But some strange results is the consequence. Be very pleased to hear how an expert would go about it. Cheers paul --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From cfoust at infostatsystems.com Fri Oct 15 10:17:43 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 08:17:43 -0700 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: Good grief NO! FoxPro is at least a decent relational database. FileMaker is for idiots! Charlotte Foust -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Friday, October 15, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 15 10:19:13 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 08:19:13 -0700 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: Have them export the data from Filemaker and work with the export. The structure of FileMaker files is so bizarre and the data can be SO strange, that's the only way I ever found to move data to Access. Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Thursday, October 14, 2004 10:33 PM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Fri Oct 15 10:28:00 2004 From: actebs at actebs.com.au (ACTEBS) Date: Sat, 16 Oct 2004 01:28:00 +1000 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <2025BB6F17FCB54791F23CD50558332803855E@starfleet.unknown.local> Chris, I think the department are moving away from Filemaker exactly because of the reasons you've stated. Also, they are having difficulty finding someone who knows much about it. They also claim it's a bit of a slug, but I can't comment as haven't seen the app in action. I went everywhere trying to find the odbc download on the filemaker site, nowhere to be found. You wouldn't happen to have the actual link to the download would you? Thanx Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mackin, Christopher Sent: Saturday, 16 October 2004 12:10 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access I have down some work with FileMkaer Proc in recent history, it is the absolute worst "database" product I have ever seen, we refered to it as the "My First Database" product line. You'll love it the first time you come across a "Date" field that contains string data or a "Number" field that contains string, no primary keys can be established in spite the ability to set fields to "unique". Anyway, you can download a free ODBC driveer from FileMaker Pro's website, one key to rememeber when setting up an ODBC connection with it is that you MUST have the FileMaker Pro file open while you are connecting to it, otherwise the connection fails. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Thursday, October 14, 2004 11:33 PM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Fri Oct 15 10:30:43 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 15 Oct 2004 11:30:43 -0400 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: Tell us what you really think, Charlotte! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 15, 2004 11:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Good grief NO! FoxPro is at least a decent relational database. FileMaker is for idiots! Charlotte Foust -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Friday, October 15, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom.bolton at donnslaw.co.uk Fri Oct 15 10:36:10 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Fri, 15 Oct 2004 16:36:10 +0100 Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... Message-ID: <61F915314798D311A2F800A0C9C83188064331E1@dibble.observatory.donnslaw.co.uk> Hi guys First post from a VB / ASP developer who's been left in charge of an Access mod... sorry to kick off by begging for help ;-) I am trying to programatically link to an SQL v7 table from my Access DB, the source table sits on a networked SQL Server box. I'm using ADOX etc. to bring the table in. Everything goes fine until I try and index the table with an SQL CREATE INDEX statement, executed using the DoCmd.RunSQL method. It just doesn't work - it fails silently. If I take the contents of the string variable from the immediate window and paste it into a query, it runs fine and indexes my table. It's driving me to distraction... any help would be greatly appreciated, many thanks in advance. Tom Bolton -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From donald.a.Mcgillivray at mail.sprint.com Fri Oct 15 11:16:51 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Fri, 15 Oct 2004 11:16:51 -0500 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <988E2AC88CCB54459286C4077DB662F501E25AE1@PDAWB03C.ad.sprint.com> Because it's Friday I'll second that!!! Thankfully I've never had to do anything with Filemaker, but my poor wife has to use it daily to run the box office at a small theatre. I don't know if the developer of the app was simply incompetent (as I suspect) or if it's the best that can be done within the limits of the program (gawd, I hope not!), but she (and she is NO kind of developer - barely considers herself a user!) has to perform MODS ON THE INTERFACE just to allow the thing to accommodate normal business realities (increase ticket prices, extensions of performance runs, scheduling the run of the next show, etc.) It's either that or pay the "developer" by the hour to do it. I mean, literally, stuff that could easily be handled by adding a few records to a table (in a well-designed db) require a virtual re-design of the db and interface. And this piece of crap is being used to manage the lifeblood of the org. I have looked under the hood of it a bit, and even tried my hand at designing something with Filemaker, to see if I might be of some help to her. Made me run away screaming. GAWD!!! Don't get me started. I gotta go. Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 15, 2004 8:18 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Good grief NO! FoxPro is at least a decent relational database. FileMaker is for idiots! Charlotte Foust -----Original Message----- From: JMoss [mailto:jmoss111 at bellsouth.net] Sent: Friday, October 15, 2004 4:47 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Filemaker ODBC Driver for Access Vlad, eBay has FileMaker Pro for under $50 with Buiy It Now. Isn't FM a FoxPro format database? If that doesn't work, DataJunction has a 30 day trial version, and it can handle 160+ file formats. DataJunction was purchased by Pervasive last year and I think they changed the DJ name to Cosmos. DataJunction.com was still working the last time I checked, it forwarded you to the Pervasive web site. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Friday, October 15, 2004 12:33 AM To: access group Subject: [AccessD] Filemaker ODBC Driver for Access Guys, Does anyone know where to get an ODBC driver for Filemaker Pro? I have a client who is migrating from Filemaker Pro to Access (Government Dept) and they would not know where to get the disk that was originally installed on their PC. The task of extracting the data from his FmPro DB into Access is part of an app I'm building for them. I don't want to purchase one if I don't have to, but the only ones I can find online are $100+. For one file and one import instance I can't see that that is value for money... Any help greatly appreciated... Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at mchsi.com Fri Oct 15 12:05:10 2004 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Fri, 15 Oct 2004 17:05:10 +0000 Subject: [AccessD] Get user name Message-ID: <101520041705.3631.4bd4@mchsi.com> Heh. Here's a story for a Friday... not entirely off topic... I once put a function into a backend .mdb that checked the logon name of the user, and if it wasn't me it put up a bright red screen with yellow letters that said something like, "Unauthorized Intrusion Detected. You have attempted to open a database for which you are not authorized. We know who you are and where you are sitting. Please remain calm and in your seat, security will be coming for you shortly." It was a slow day and I was bored (kind of like right now, actually!) and didn't expect anything to ever come of it, or anyone to ever see it besides me. Weeks passed and I forgot about it. Then one day one of the office busybody idiots who thought he knew something about databases came rushing over to me all upset because "they" were coming for him and he didn't know what he should do... my, that was fun, and I had some fun with him for awhile, too, before I "covered his tracks for him". and for weeks after I would periodically remind him that he owed me a favor too. As far as I know, he never poked his nose into any of my databases again :) Ron > I basically just use it as a scare tactic to keep honest > people honest. From gustav at cactus.dk Fri Oct 15 12:19:41 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Oct 2004 19:19:41 +0200 Subject: [AccessD] Get user name In-Reply-To: <101520041705.3631.4bd4@mchsi.com> References: <101520041705.3631.4bd4@mchsi.com> Message-ID: <8637093006.20041015191941@cactus.dk> Hi Ron Nice! But how did you expect to ever see that screen again? /gustav > Heh. Here's a story for a Friday... not entirely off topic... > I once put a function into a backend .mdb that checked the logon name of the > user, and if it wasn't me it put up a bright red screen with yellow letters > that said something like, "Unauthorized Intrusion Detected. You have attempted > to open a database for which you are not authorized. We know who you are and > where you are sitting. Please remain calm and in your seat, security will be > coming for you shortly." > It was a slow day and I was bored (kind of like right now, actually!) and > didn't expect anything to ever come of it, or anyone to ever see it besides me. > Weeks passed and I forgot about it. Then one day one of the office busybody > idiots who thought he knew something about databases came rushing over to me > all upset because "they" were coming for him and he didn't know what he should > do... my, that was fun, and I had some fun with him for awhile, too, before > I "covered his tracks for him". and for weeks after I would periodically > remind him that he owed me a favor too. As far as I know, he never poked his > nose into any of my databases again :) > Ron >> I basically just use it as a scare tactic to keep honest >> people honest. From cfoust at infostatsystems.com Fri Oct 15 13:02:15 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 11:02:15 -0700 Subject: [AccessD] Get user name Message-ID: ROTFLMAO! I did something like that once too. Charlotte Foust -----Original Message----- From: chizotz at mchsi.com [mailto:chizotz at mchsi.com] Sent: Friday, October 15, 2004 10:05 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Get user name Heh. Here's a story for a Friday... not entirely off topic... I once put a function into a backend .mdb that checked the logon name of the user, and if it wasn't me it put up a bright red screen with yellow letters that said something like, "Unauthorized Intrusion Detected. You have attempted to open a database for which you are not authorized. We know who you are and where you are sitting. Please remain calm and in your seat, security will be coming for you shortly." It was a slow day and I was bored (kind of like right now, actually!) and didn't expect anything to ever come of it, or anyone to ever see it besides me. Weeks passed and I forgot about it. Then one day one of the office busybody idiots who thought he knew something about databases came rushing over to me all upset because "they" were coming for him and he didn't know what he should do... my, that was fun, and I had some fun with him for awhile, too, before I "covered his tracks for him". and for weeks after I would periodically remind him that he owed me a favor too. As far as I know, he never poked his nose into any of my databases again :) Ron > I basically just use it as a scare tactic to keep honest people > honest. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 15 13:02:47 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 15 Oct 2004 11:02:47 -0700 Subject: [AccessD] Get user name Message-ID: Log in as Admin, of course! Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Friday, October 15, 2004 10:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Get user name Hi Ron Nice! But how did you expect to ever see that screen again? /gustav > Heh. Here's a story for a Friday... not entirely off topic... > I once put a function into a backend .mdb that checked the logon name > of the > user, and if it wasn't me it put up a bright red screen with yellow letters > that said something like, "Unauthorized Intrusion Detected. You have attempted > to open a database for which you are not authorized. We know who you are and > where you are sitting. Please remain calm and in your seat, security will be > coming for you shortly." > It was a slow day and I was bored (kind of like right now, actually!) > and > didn't expect anything to ever come of it, or anyone to ever see it besides me. > Weeks passed and I forgot about it. Then one day one of the office > busybody > idiots who thought he knew something about databases came rushing over to me > all upset because "they" were coming for him and he didn't know what he should > do... my, that was fun, and I had some fun with him for awhile, too, before > I "covered his tracks for him". and for weeks after I would periodically > remind him that he owed me a favor too. As far as I know, he never poked his > nose into any of my databases again :) > Ron >> I basically just use it as a scare tactic to keep honest people >> honest. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fahooper at trapo.com Fri Oct 15 13:38:18 2004 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 15 Oct 2004 14:38:18 -0400 Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... In-Reply-To: <61F915314798D311A2F800A0C9C83188064331E1@dibble.observatory.donnslaw.co.uk> Message-ID: <003901c4b2e6$23fa87a0$f0bffea9@fred> Hi Tom, Two thoughts: (1) Your permissions may be different in your two methods of executing the SQL depending on how SQL Server is set up. (2) I haven't tried to use DoCmd.RunSQL for indexing SQL Server. However, I've successfully used an ADO cmd for indexing. Unfortunately, I no longer have the code for an example. Hope this helps, Fred Hooper |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton |Sent: Friday, October 15, 2004 11:36 AM |To: 'accessd at databaseadvisors.com' |Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... | | |Hi guys | |First post from a VB / ASP developer who's been left in charge |of an Access mod... sorry to kick off by begging for help ;-) | |I am trying to programatically link to an SQL v7 table from my |Access DB, the source table sits on a networked SQL Server |box. I'm using ADOX etc. to bring the table in. Everything |goes fine until I try and index the table with an SQL CREATE |INDEX statement, executed using the DoCmd.RunSQL method. It |just doesn't work - it fails silently. | |If I take the contents of the string variable from the |immediate window and paste it into a query, it runs fine and |indexes my table. | |It's driving me to distraction... any help would be greatly |appreciated, many thanks in advance. | |Tom Bolton | From clh at christopherhawkins.com Fri Oct 15 14:39:17 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Oct 2004 13:39:17 -0600 Subject: [AccessD] Updating front-end via batch file? Message-ID: <212300-2200410515193917188@christopherhawkins.com> Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From DElam at jenkens.com Fri Oct 15 15:05:32 2004 From: DElam at jenkens.com (Elam, Debbie) Date: Fri, 15 Oct 2004 15:05:32 -0500 Subject: [AccessD] Updating front-end via batch file? Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C02485636@natexch.jenkens.com> There is a front end updater on John Colby's site that I use extensively. Debbie -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Friday, October 15, 2004 2:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From spikee at oatlandspark.org.uk Fri Oct 15 15:18:12 2004 From: spikee at oatlandspark.org.uk (Chris Foote (Spike)) Date: Fri, 15 Oct 2004 21:18:12 +0100 Subject: [AccessD] Updating front-end via batch file? In-Reply-To: <212300-2200410515193917188@christopherhawkins.com> Message-ID: Hi Christopher! I have a batch file at work doing just the job you are after. If you can wait 'til Monday I'll send it to you then. Regards! Chris Foote -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: 15 October 2004 20:39 To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From clh at christopherhawkins.com Fri Oct 15 21:44:16 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Fri, 15 Oct 2004 20:44:16 -0600 Subject: [AccessD] Updating front-end via batch file? Message-ID: <258430-220041061624416355@christopherhawkins.com> Awesome. I'l keep an eye out. -C- ---- Original Message ---- From: spikee at oatlandspark.org.uk To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Updating front-end via batch file? Date: Fri, 15 Oct 2004 21:18:12 +0100 >Hi Christopher! > >I have a batch file at work doing just the job you are after. > >If you can wait 'til Monday I'll send it to you then. > >Regards! >Chris Foote > > >Anti-virus >9.05.15 with virus definitions dated 12th October 2004> > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: 15 October 2004 20:39 >To: accessd at databaseadvisors.com >Subject: [AccessD] Updating front-end via batch file? > > >Hello, all. > >I have a client who is constantly tinkering with his home-grown >Access solution and is constantly rolling out updates (against my >advice, of course). > >I was about to set him up with a simple batch file that just uses >COPY [origin] [destination] to copy the latest version of the .mdb >from a folder on the server to a user's machine. But before I do, I >want to know if it is possible to get a little fancier. > >I would like the batch file to a) compare the filename on the user's >machine to the filename on the server, and then b) do the copy if the >names are different, or c) NOT do the copy if the names are the same >(my client likes to put the version number in the filename). > >Is this too much to ask of the humble batch file? > > >-Christopher- > >P.S. >And for those of you who wonder why I don't use a vbscript file, this >client swaps eMachines and other budget boxes in and out of his >business based on what's on sale at Costco that week (again, against >my advice). I can't be sure that new boxes he brings in will have >WSH or any of the complementary components installed on the >bastardized version of WinXP that ships with a lot of thses crap >boxes. But I know that batch files work on everything from Win95 up. >;) >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From martyconnelly at shaw.ca Fri Oct 15 22:59:36 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 15 Oct 2004 20:59:36 -0700 Subject: [AccessD] Filemaker ODBC Driver for Access References: <2025BB6F17FCB54791F23CD505583328041BC3@starfleet.unknown.local> Message-ID: <41709CA8.2020109@shaw.ca> On the filemaker site there are methods to export files to an xml spreadsheet Excel 2002 or 2003 Then just export to Access. May not work for your version of FileMaker tho. http://www.filemaker.com/technologies/xslt_library.html ACTEBS wrote: >Guys, > >Does anyone know where to get an ODBC driver for Filemaker Pro? I have a >client who is migrating from Filemaker Pro to Access (Government Dept) >and they would not know where to get the disk that was originally >installed on their PC. The task of extracting the data from his FmPro DB >into Access is part of an app I'm building for them. > >I don't want to purchase one if I don't have to, but the only ones I can >find online are $100+. For one file and one import instance I can't see >that that is value for money... > >Any help greatly appreciated... > >Vlad > > > -- Marty Connelly Victoria, B.C. Canada From Developer at UltraDNT.com Sat Oct 16 09:56:42 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Sat, 16 Oct 2004 10:56:42 -0400 Subject: [AccessD] Updating front-end via batch file? In-Reply-To: <258430-220041061624416355@christopherhawkins.com> Message-ID: <001901c4b390$59e37d40$0200a8c0@COA3> If you are working on the weekend, your basic need here is the IF command, using the EXIST parameter ... IF also can use NOT and ELSE. And, DOS Batches need GOTO for most branching. Type IF /? At the cmd line for detail. A typical check if the application is on the hard drive would go something like this: IF NOT EXIST C:\FOLDER\SOME.MDB XCOPY \\SERVER\SHARE\SOME.MDB C:\FOLDER Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Christopher Hawkins Sent: Friday, October 15, 2004 10:44 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Updating front-end via batch file? Awesome. I'l keep an eye out. -C- ---- Original Message ---- From: spikee at oatlandspark.org.uk To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Updating front-end via batch file? Date: Fri, 15 Oct 2004 21:18:12 +0100 >Hi Christopher! > >I have a batch file at work doing just the job you are after. > >If you can wait 'til Monday I'll send it to you then. > >Regards! >Chris Foote > > >Anti-virus >9.05.15 with virus definitions dated 12th October 2004> > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher >Hawkins >Sent: 15 October 2004 20:39 >To: accessd at databaseadvisors.com >Subject: [AccessD] Updating front-end via batch file? > > >Hello, all. > >I have a client who is constantly tinkering with his home-grown Access >solution and is constantly rolling out updates (against my advice, of >course). > >I was about to set him up with a simple batch file that just uses COPY >[origin] [destination] to copy the latest version of the .mdb from a >folder on the server to a user's machine. But before I do, I want to >know if it is possible to get a little fancier. > >I would like the batch file to a) compare the filename on the user's >machine to the filename on the server, and then b) do the copy if the >names are different, or c) NOT do the copy if the names are the same >(my client likes to put the version number in the filename). > >Is this too much to ask of the humble batch file? > > >-Christopher- > >P.S. >And for those of you who wonder why I don't use a vbscript file, this >client swaps eMachines and other budget boxes in and out of his >business based on what's on sale at Costco that week (again, against my >advice). I can't be sure that new boxes he brings in will have WSH or >any of the complementary components installed on the bastardized >version of WinXP that ships with a lot of thses crap boxes. But I know >that batch files work on everything from Win95 up. >;) >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Sat Oct 16 11:24:04 2004 From: jimdettman at earthlink.net (Jim Dettman) Date: Sat, 16 Oct 2004 12:24:04 -0400 Subject: [AccessD] Updating front-end via batch file? In-Reply-To: <212300-2200410515193917188@christopherhawkins.com> Message-ID: I recommend my clients against as it's too easy to end up using an old version of something. Here's the setup I use: 1. Each FE has a table called tblAppVersionControl. One record is entered per release and has the version number, developer comments, user comments, and release date. 2. Up on the server, I create the following structure. X:\Custom \ .MDB Upd_database.Bat \Backup 3. In the front end is also a link to tblAppVersionControl in the copy stored on the server. At app startup, a version check is made between the two tables. If a difference exists, the user comments are displayed and the user is told they need to update. The update is the execution of the batch file. They only need to execute the batch file directly for the initial setup. After that it's accessed via a shortcut. 4. The batch file copies down a new front end, any supporting files (help, icons, DLLs, etc), and registers any DLLs or type libs. It also calls a VB program I wrote to create any required DSN's and shortcuts. The development cycle is: 1. Copy MDB to development machine 2. Make changes. 3. Update app version control table. 4. Save current version in \..\backup. Rename to .version 4. Copy new version to server. Below is one of the batch files. HTH, Jim Dettman (315) 699-3443 jimdettman at earthlink.net @ECHO. @ECHO. @ECHO Checking for application directories... @ECHO. %HOMEDRIVE% CD\ if not exist "%HOMEDRIVE%\Program Files" mkdir "%HOMEDRIVE%\Program Files" if not exist "%HOMEDRIVE%\Program Files\Traverse Custom" mkdir "%HOMEDRIVE%\Program Files\Traverse Custom" @ECHO. @ECHO. @ECHO Copying application files... @ECHO. COPY "P:\Traverse Custom\EDITrafficMonitor\EDITrafficMonitor.MDE" "%HOMEDRIVE%\Program Files\Traverse Custom" COPY "P:\Traverse Custom\EDITrafficMonitor\EDITrafficMonitor.ICO" "%HOMEDRIVE%\Program Files\Traverse Custom" COPY "P:\Traverse Custom\Update.ico" "%HOMEDRIVE%\Program Files\Traverse Custom" COPY "P:\Traverse Custom\vbSendMail.dll" "%HOMEDRIVE%\Program Files\Traverse Custom" @ECHO. @ECHO. @ECHO Setting up environment... @ECHO. "P:\Traverse Custom\SetClientEnv.EXE" EDITrafficMonitor %HOMEDRIVE% "C:\Windows\System32\Regsvr32.exe" "%HOMEDRIVE%\Program Files\Traverse Custom\vbSendMail.dll" /s -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher Hawkins Sent: Friday, October 15, 2004 3:39 PM To: accessd at databaseadvisors.com Subject: [AccessD] Updating front-end via batch file? Hello, all. I have a client who is constantly tinkering with his home-grown Access solution and is constantly rolling out updates (against my advice, of course). I was about to set him up with a simple batch file that just uses COPY [origin] [destination] to copy the latest version of the .mdb from a folder on the server to a user's machine. But before I do, I want to know if it is possible to get a little fancier. I would like the batch file to a) compare the filename on the user's machine to the filename on the server, and then b) do the copy if the names are different, or c) NOT do the copy if the names are the same (my client likes to put the version number in the filename). Is this too much to ask of the humble batch file? -Christopher- P.S. And for those of you who wonder why I don't use a vbscript file, this client swaps eMachines and other budget boxes in and out of his business based on what's on sale at Costco that week (again, against my advice). I can't be sure that new boxes he brings in will have WSH or any of the complementary components installed on the bastardized version of WinXP that ships with a lot of thses crap boxes. But I know that batch files work on everything from Win95 up. ;) Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Sat Oct 16 16:07:21 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 16 Oct 2004 17:07:21 -0400 Subject: [AccessD] comparing tables Message-ID: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> I've got some SQL code that compares two tables and reports on records that aren't in both tables. I did a bit of checking to be sure, but I can't find any built-in Access feature that does this -- anyone know of a wizard or something that I might have missed? I'd hate to recommend something that's not necessary. Susan H. From stephen at bondsoftware.co.nz Sat Oct 16 20:29:00 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun, 17 Oct 2004 14:29:00 +1300 Subject: [AccessD] comparing tables Message-ID: <70F3D727890C784291D8433E9C418F29088915@server.bondsoftware.co.nz> Can't the 'Find Unmatched Query Wizard' do that? Stephen Bond > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Sunday, 17 October 2004 10:07 a.m. > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] comparing tables > > > I've got some SQL code that compares two tables and reports > on records that > aren't in both tables. I did a bit of checking to be sure, > but I can't find > any built-in Access feature that does this -- anyone know of > a wizard or > something that I might have missed? I'd hate to recommend > something that's > not necessary. > > Susan H. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Sat Oct 16 20:59:19 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sat, 16 Oct 2004 21:59:19 -0400 Subject: [AccessD] comparing tables In-Reply-To: <70F3D727890C784291D8433E9C418F29088915@server.bondsoftware.co.nz> Message-ID: <20041017015920.RYYL2403.imf23aec.mail.bellsouth.net@SUSANONE> Hmmmmmm... I thought about that one, but haven't gotten the exact results I was after -- will look at it again. Susan H. Can't the 'Find Unmatched Query Wizard' do that? From stephen at bondsoftware.co.nz Sat Oct 16 22:06:25 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sun, 17 Oct 2004 16:06:25 +1300 Subject: [AccessD] comparing tables Message-ID: <70F3D727890C784291D8433E9C418F298FD0@server.bondsoftware.co.nz> The restriction on this wizard is that it allows only one left join at the wizard stage. If there are a number of fields I want to compare in 2 tables, I manually insert/delete left joins in the Design View after the wiz has done its stuff.. Stephen Bond > -----Original Message----- > From: Susan Harkins [mailto:ssharkins at bellsouth.net] > Sent: Sunday, 17 October 2004 2:59 p.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] comparing tables > > > Hmmmmmm... I thought about that one, but haven't gotten the > exact results I > was after -- will look at it again. > > Susan H. > > Can't the 'Find Unmatched Query Wizard' do that? > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ssharkins at bellsouth.net Sun Oct 17 09:27:55 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Sun, 17 Oct 2004 10:27:55 -0400 Subject: [AccessD] comparing tables In-Reply-To: <70F3D727890C784291D8433E9C418F298FD0@server.bondsoftware.co.nz> Message-ID: <20041017142755.WTUT2403.imf23aec.mail.bellsouth.net@SUSANONE> OK, I thought I had run across that before myself, but it's been so long ago -- I'll play around with it. Thanks! Susan H. The restriction on this wizard is that it allows only one left join at the wizard stage. If there are a number of fields I want to compare in 2 tables, I manually insert/delete left joins in the Design View after the wiz has done its stuff.. From gustav at cactus.dk Sun Oct 17 09:56:00 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Oct 2004 16:56:00 +0200 Subject: [AccessD] Query a text file without attach or import In-Reply-To: <14835902294.20041014190208@cactus.dk> References: <14835902294.20041014190208@cactus.dk> Message-ID: <3925901123.20041017165600@cactus.dk> Hi all Forgot to note that the use of an alias for the table is beneficial or even mandatory. Note that the first syntax can be modified to: SELECT NameOfField1, NameOfField2 FROM [pics#txt] AS T IN '' [Text;DATABASE=c:\windows\temp;]; In the second syntax the trick is the brackets which force accept of filenames or foldernames containing spaces. This should be changed to: SELECT NameOfFiels1, NameOfField2 FROM [Text;DATABASE=c:\windows\temp;HDR=YES].[pics.txt] AS T; as Access otherwise my remodel the syntax into invalid syntax. /gustav > Hi all > Should you ever need it, you can query a text file directly without > importing or attaching it first. The trich is to understand that > Access regards the directory of the text file as a "database": > SELECT > [pics#txt].Field1, > [pics#txt].Field2 > FROM > [pics#txt] IN '' [Text;DATABASE=c:\windows\temp;]; > or: > SELECT > Field1, > Field2 > FROM > [Text;DATABASE=c:\windows\temp;HDR=YES].[pics.txt]; > I should note that - as to my testings - even if you specify HDR=NO, > Access still reads the first line for the column names. > These syntax are very handy when you need to read temporary text files > where you do not wish to attach these at all. From gustav at cactus.dk Sun Oct 17 11:43:28 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Oct 2004 18:43:28 +0200 Subject: [AccessD] Re: [dba-Tech] Alternate PDF writing solution In-Reply-To: <4171438F.6040204@rogers.com> References: <001801c4b2c3$ae4dfd10$e8dafea9@ColbyM6805> <4171438F.6040204@rogers.com> Message-ID: <6032348975.20041017184328@cactus.dk> Hi Arthur Any fool can buy Distiller but many clients find it pretty expensive. We use the German FreePDF which is absolutely free: http://freepdfxp.de/fpxp.htm It has the advantage of using the Apple PS driver as well as Ghostscript which ensures a high level of compatibility. Some time ago we did some testing with the alternatives and found all sort of troubles from using wrong fonts, margin offsets, wrong paper format, and other things. Some issues are only present for complicated docs. Be sure to download the "Administration Manual" as well as the resource kit (some VBA code examples) and the Multidocument Printer option. There is no API but you can control it by registry settings and command line parameters. Installation is not that difficult. Batch files are included for silent install on user's station as well as Terminal Server. /gustav > Date: 2004-10-16 17:51 > As some of you may know from previous messages, when the subject of PDF > and Email came up, I recommended PDFMail, a class library from Attac > Consulting. Recently I encountered significantly different behaviour > when using Acrobat 6 as opposed to 5; which behaviour the client deems > unacceptable. So I inquired about the costs of upgrading and was > dismayed to learn that the Pro package I had bought for $199 now goes for >> $500, and the upgrade is more than I paid in the first place. > So now I'm looking for an alternative. At a minimum, it must: > a) support creation of a PDF from any given Access report; > b) support, with a minimum of fuss, emaling said PDF to any specified > recipient, and ideally setting up mail subject and body with a minimum > of fuss; > c) support the merging or amalgamation of several reports into a single PDF. > Attac's PDFMail does all this, and works flawlessly with Acrobat 5, but > without the upgrade there are issues if Acrobat 6 is installed rather > than 5. > In case it helps, in the app of concern I print several documents -- an > invoice, a hotel confirmation, a ticket to a party, etc. All these > documents are based on the invoice selected when you hit PrintAndEmail. > The reason we went PDF in the first place is that conversion to RTF etc. > failed to reproduce the documents exactly as they were. > To phrase this last part in another way, PDF reproduces the color logos > etc., which are a big part of the sizzle, flawlessly. But PDF itself is > not a mandatory part of the spec -- flawless reproduction IS. If there > is another way to go, I'm interested, the more so if this way is free or > cheap. The client is extremely reluctant to spring the $500 + that Attac > wants for the upgrade. > Any alternatives come to mind? I don't want to have to install 5 pieces > of software on each client machine, nor cause the users to do anything > more than click on one button. After that everything should simply "happen". > TIA, > Arthur > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 17 18:03:58 2004 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 17 Oct 2004 18:03:58 -0500 Subject: [AccessD] acCmdCompileAllModules Message-ID: <000001c4b49d$95f23480$de1811d8@danwaters> Has anyone tried this? DoCmd.RunCommand acCmdCompileAllModules I wanted to use it to detect any compile errors before shutting down my development database. I tested with a misspelled keyword (DoCmd.Close acformX, "frmMyForm"), and this was not detected by the compile command. Of course if I click the compile button it is detected. Should this work as I'm expecting? Dan Waters ProMation Systems, Inc. From martyconnelly at shaw.ca Mon Oct 18 01:29:58 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 17 Oct 2004 23:29:58 -0700 Subject: [AccessD] acCmdCompileAllModules References: <000001c4b49d$95f23480$de1811d8@danwaters> Message-ID: <417362E6.5010400@shaw.ca> You could try these http://www.access.vis.pl/af0424a.htm My Polish is lousy. NB. IMPORTANT These undocumented commands should only be attempted by fully qualified stunt driver. ' Call a hidden SysCmd to automatically compile/save all modules. Call SysCmd(504, 16483) or you could also try Application.IsCompiled I have heard this maynot work in cases where you don't have full permissions to all objects in the database.Linked tables maybe? Polish List SysCmd(7) 'Detects the Access VERSION number For Access 97: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB SysCmd 555 'create MSysIMEX... tables SysCmd(504, 16483) 'save and compile code SysCmd(504, 16484) 'save code without compiling SysCmd(501, i) 'list of references, i = 0, 1, ... n SysCmd(500) 'count of references For Access 2000+: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB 'You must use in this case following method, example: Dim accApp As Access.Application Set accApp = New Access.Application accApp.SysCmd 603, PathMdb, PathMde accApp.SysCmd 602, PathMdb, PathMdb Set accApp = Nothing SysCmd(605, 0) 'convert DB to previous version SysCmd(605, "C:\Database97.mdb") 'convert DB to previous version SysCmd(607,"C:\Project1.adp") 'convert DB to ADP project SysCmd(608, i) '60 tips about Access programming for i=0, 1, ... 60 SysCmd(710, 68486165) 'set Polish keyboard (if installed) SysCmd(710, 67699721) 'set US keyboard SysCmd(710, 68748313) 'set Russian keyboard SysCmd(710, 67634184) 'set Greek keyboard SysCmd(710, ...) 'set other country keyboard SysCmd(710,1) 'set next installed keyboard SysCmd(710,0) 'set previous installed keyboard SysCmd(711) 'return put keyboard currently SysCmd(714) 'returns TRUE, if any form, report, macro or module is in design mode SysCmd(715) 'returns Build number of MSACCESS.EXE file to check Access version or e.g. which Service Pack is installed. Dan Waters wrote: >Has anyone tried this? > > > >DoCmd.RunCommand acCmdCompileAllModules > > > >I wanted to use it to detect any compile errors before shutting down my >development database. I tested with a misspelled keyword (DoCmd.Close >acformX, "frmMyForm"), and this was not detected by the compile command. Of >course if I click the compile button it is detected. > > > >Should this work as I'm expecting? > > > >Dan Waters > >ProMation Systems, Inc. > > > -- Marty Connelly Victoria, B.C. Canada From gustav at cactus.dk Mon Oct 18 04:02:27 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Oct 2004 11:02:27 +0200 Subject: [AccessD] acCmdCompileAllModules In-Reply-To: <000001c4b49d$95f23480$de1811d8@danwaters> References: <000001c4b49d$95f23480$de1811d8@danwaters> Message-ID: <776632176.20041018110227@cactus.dk> Hi Dan > Has anyone tried this? > DoCmd.RunCommand acCmdCompileAllModules > I wanted to use it to detect any compile errors before shutting down my > development database. I tested with a misspelled keyword (DoCmd.Close > acformX, "frmMyForm"), and this was not detected by the compile command. Of > course if I click the compile button it is detected. > Should this work as I'm expecting? Perhaps, but it doesn't - because you can't ask the code to compile itself. You have to run this command from a macro. We had a long thread on this and references. Look up in the archives: "Broken References in Runtime AXP and A97. Solved!" from 2003-07-23. The macro is there shown converted to VBA code. However, Marty learned us how to save and load objects as text, so here goes: Application.LoadFromText acMacro, "AutoExec", "autoexec.txt" and here is the text to save as autoexec.txt: Version = 131074 ColumnsShown = 3 Begin Action ="Echo" Argument ="0" End Begin Condition ="CheckReferences()=False" Action ="RunCode" Argument ="VerifyReferences(True)" End Begin Condition ="..." Action ="OpenModule" Argument ="USysReferencesCheck" End Begin Condition ="..." Action ="RunCommand" Argument ="126" End Begin Condition ="..." Action ="Close" Argument ="-1" Argument ="" Argument ="0" End Begin Action ="Echo" Argument ="-1" End /gustav From tom.bolton at donnslaw.co.uk Mon Oct 18 07:26:31 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Mon, 18 Oct 2004 13:26:31 +0100 Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... Message-ID: <61F915314798D311A2F800A0C9C83188064331E6@dibble.observatory.donnslaw.co.uk> Fred I think you may be on to something with the permissions, I'll look into it. Many thanks! Tom -----Original Message----- From: Fred Hooper [mailto:fahooper at trapo.com] Sent: 15 October 2004 19:38 To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... Hi Tom, Two thoughts: (1) Your permissions may be different in your two methods of executing the SQL depending on how SQL Server is set up. (2) I haven't tried to use DoCmd.RunSQL for indexing SQL Server. However, I've successfully used an ADO cmd for indexing. Unfortunately, I no longer have the code for an example. Hope this helps, Fred Hooper |-----Original Message----- |From: accessd-bounces at databaseadvisors.com |[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tom Bolton |Sent: Friday, October 15, 2004 11:36 AM |To: 'accessd at databaseadvisors.com' |Subject: [AccessD] RE: A2k2 doCmd.RunSQL won't run my SQL... | | |Hi guys | |First post from a VB / ASP developer who's been left in charge |of an Access mod... sorry to kick off by begging for help ;-) | |I am trying to programatically link to an SQL v7 table from my |Access DB, the source table sits on a networked SQL Server |box. I'm using ADOX etc. to bring the table in. Everything |goes fine until I try and index the table with an SQL CREATE |INDEX statement, executed using the DoCmd.RunSQL method. It |just doesn't work - it fails silently. | |If I take the contents of the string variable from the |immediate window and paste it into a query, it runs fine and |indexes my table. | |It's driving me to distraction... any help would be greatly |appreciated, many thanks in advance. | |Tom Bolton | -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From dwaters at usinternet.com Mon Oct 18 09:53:04 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 18 Oct 2004 09:53:04 -0500 Subject: [AccessD] acCmdCompileAllModules - Solved! In-Reply-To: <31324646.1098081390720.JavaMail.root@sniper5.usinternet.com> Message-ID: <000d01c4b522$2cd468d0$de1811d8@danwaters> Gustav & Marty, I put this code in the Click event of the system Exit button: If CurrentPCName = "DanWaters" Then '-- Try to compile the VBA code. If it doesn't compile, stop system shutdown. _ Note: If VBA code can't be compiled, no error is raised. But, Application.IsCompiled will still be False. _ If VBA code can be compiled, then it will be compiled and Application.IsCompiled will then be True. DoCmd.RunCommand acCmdCompileAllModules If Application.IsCompiled = False Then FormattedMsgBox GstgNotReady, "The database could not compile!@ @", vbExclamation + vbOKOnly, "Not Compiled" Exit Sub End If End If The function CurrentPCName is my function which uses the API GetComputerName. It turns out that acCmdCompileAllModules really does compile code in the current database. Thanks for your help! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, October 18, 2004 1:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] acCmdCompileAllModules You could try these http://www.access.vis.pl/af0424a.htm My Polish is lousy. NB. IMPORTANT These undocumented commands should only be attempted by fully qualified stunt driver. ' Call a hidden SysCmd to automatically compile/save all modules. Call SysCmd(504, 16483) or you could also try Application.IsCompiled I have heard this maynot work in cases where you don't have full permissions to all objects in the database.Linked tables maybe? Polish List SysCmd(7) 'Detects the Access VERSION number For Access 97: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB SysCmd 555 'create MSysIMEX... tables SysCmd(504, 16483) 'save and compile code SysCmd(504, 16484) 'save code without compiling SysCmd(501, i) 'list of references, i = 0, 1, ... n SysCmd(500) 'count of references For Access 2000+: SysCmd 603, PathMdb, PathMde 'convert MDB -> MDE SysCmd 602, PathMdb, PathMdb 'compact DB 'You must use in this case following method, example: Dim accApp As Access.Application Set accApp = New Access.Application accApp.SysCmd 603, PathMdb, PathMde accApp.SysCmd 602, PathMdb, PathMdb Set accApp = Nothing SysCmd(605, 0) 'convert DB to previous version SysCmd(605, "C:\Database97.mdb") 'convert DB to previous version SysCmd(607,"C:\Project1.adp") 'convert DB to ADP project SysCmd(608, i) '60 tips about Access programming for i=0, 1, ... 60 SysCmd(710, 68486165) 'set Polish keyboard (if installed) SysCmd(710, 67699721) 'set US keyboard SysCmd(710, 68748313) 'set Russian keyboard SysCmd(710, 67634184) 'set Greek keyboard SysCmd(710, ...) 'set other country keyboard SysCmd(710,1) 'set next installed keyboard SysCmd(710,0) 'set previous installed keyboard SysCmd(711) 'return put keyboard currently SysCmd(714) 'returns TRUE, if any form, report, macro or module is in design mode SysCmd(715) 'returns Build number of MSACCESS.EXE file to check Access version or e.g. which Service Pack is installed. Dan Waters wrote: >Has anyone tried this? > > > >DoCmd.RunCommand acCmdCompileAllModules > > > >I wanted to use it to detect any compile errors before shutting down my >development database. I tested with a misspelled keyword (DoCmd.Close >acformX, "frmMyForm"), and this was not detected by the compile command. Of >course if I click the compile button it is detected. > > > >Should this work as I'm expecting? > > > >Dan Waters > >ProMation Systems, Inc. > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Mon Oct 18 10:19:05 2004 From: gustav at cactus.dk (Gustav Brock) Date: Mon, 18 Oct 2004 17:19:05 +0200 Subject: [AccessD] acCmdCompileAllModules - Solved! In-Reply-To: <000d01c4b522$2cd468d0$de1811d8@danwaters> References: <000d01c4b522$2cd468d0$de1811d8@danwaters> Message-ID: <14529230701.20041018171905@cactus.dk> Hi Dan I haven't tested this scenario. Are you sure the code is compiled when you reopen the application? The original problem was that whenever you fiddle with the references - as you do if you reestablish these after having found one or more missing reference - you wish to have the code compiled before moving on. That couldn't be done without moving the task to the AutoExec macro. /gustav > I put this code in the Click event of the system Exit button: > If CurrentPCName = "DanWaters" Then > '-- Try to compile the VBA code. If it doesn't compile, stop system > shutdown. _ > Note: If VBA code can't be compiled, no error is raised. But, > Application.IsCompiled will still be False. _ > If VBA code can be compiled, then it will be compiled and > Application.IsCompiled will then be True. > DoCmd.RunCommand acCmdCompileAllModules > If Application.IsCompiled = False Then > FormattedMsgBox GstgNotReady, "The database could not compile!@ @", > vbExclamation + vbOKOnly, "Not Compiled" > Exit Sub > End If > End If > The function CurrentPCName is my function which uses the API > GetComputerName. > It turns out that acCmdCompileAllModules really does compile code in the > current database. From dwaters at usinternet.com Mon Oct 18 11:53:59 2004 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 18 Oct 2004 11:53:59 -0500 Subject: [AccessD] acCmdCompileAllModules - Solved! In-Reply-To: <25230394.1098113286597.JavaMail.root@sniper2.usinternet.com> Message-ID: <001501c4b533$105f3110$de1811d8@danwaters> Hi Gustav, I just tested this when the database was not compiled, then compiled using DoCmd.CompileAllModules in the shutdown sequence. When I reopened the database it was still compiled. I haven't been doing anything with references, I just wanted to find a way to catch myself if code couldn't be compiled prior to closing the database. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 18, 2004 10:19 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] acCmdCompileAllModules - Solved! Hi Dan I haven't tested this scenario. Are you sure the code is compiled when you reopen the application? The original problem was that whenever you fiddle with the references - as you do if you reestablish these after having found one or more missing reference - you wish to have the code compiled before moving on. That couldn't be done without moving the task to the AutoExec macro. /gustav > I put this code in the Click event of the system Exit button: > If CurrentPCName = "DanWaters" Then > '-- Try to compile the VBA code. If it doesn't compile, stop system > shutdown. _ > Note: If VBA code can't be compiled, no error is raised. But, > Application.IsCompiled will still be False. _ > If VBA code can be compiled, then it will be compiled and > Application.IsCompiled will then be True. > DoCmd.RunCommand acCmdCompileAllModules > If Application.IsCompiled = False Then > FormattedMsgBox GstgNotReady, "The database could not compile!@ @", > vbExclamation + vbOKOnly, "Not Compiled" > Exit Sub > End If > End If > The function CurrentPCName is my function which uses the API > GetComputerName. > It turns out that acCmdCompileAllModules really does compile code in the > current database. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Mon Oct 18 07:24:57 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Mon, 18 Oct 2004 05:24:57 -0700 Subject: [AccessD] RE: [dba-Tech] Script Editor (x-posted) Message-ID: Any suggestions for the problem listed below? TIA, Mark -----Original Message----- From: Mitsules, Mark Sent: Friday, October 15, 2004 1:51 PM To: dba-tech at databaseadvisors.com Subject: [dba-Tech] Script Editor Anyone have a free recommendation for a utility that will take a .js file (that has zero line breaks) and reformat it back to "normal"? Mark _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Mon Oct 18 13:01:39 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 18 Oct 2004 14:01:39 -0400 Subject: [AccessD] Open a form and find a record Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738EC@doesefpeml02.eus.fldoe.int> I am using the following code to open a from the menu form and filter the records so that the user sees only their records. Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria The problem is that sometimes the user's name will not be found on the form in the [QAFName] text box. This would simply mean that the user is not a "Quality Assurance" person on anybody's project. When this happens I don't want the form to open. I want a message box to pop up that says "You are not the QA on any projects". On clicking ok on the message box the menu opens back up. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From donald.a.Mcgillivray at mail.sprint.com Mon Oct 18 13:23:21 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Mon, 18 Oct 2004 13:23:21 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <988E2AC88CCB54459286C4077DB662F501E26383@PDAWB03C.ad.sprint.com> Susan, Try something like: (air code) Dim stDocName As String Dim stLinkCriteria As String If Nz(Dlookup("[ProjectID]","tblProjects","[QAFName]='" & Me![UsersName] & "'"),"NotFound") = "NotFound" Then MsgBox "You are not the QA on any projects." Else stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria End If Just substitute your actual field and table names in the dlookup function. HTH, Don McGillivray From cyx5 at cdc.gov Mon Oct 18 13:31:59 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 18 Oct 2004 14:31:59 -0400 Subject: [AccessD] Open a form and find a record Message-ID: OK. I am doing the same thing to open a form and determine pretty much the same kind of filter. I get queezy using dlookups and was trying to find a better way, not using dlookups, to achieve the same functionality. I was under the assumption that using dlookups is a nono as other programs do not understand them (in the event I upgrade to VB.net) and dlookups are slow. Any other suggestions beside the old dlookup method? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Monday, October 18, 2004 2:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open a form and find a record Susan, Try something like: (air code) Dim stDocName As String Dim stLinkCriteria As String If Nz(Dlookup("[ProjectID]","tblProjects","[QAFName]='" & Me![UsersName] & "'"),"NotFound") = "NotFound" Then MsgBox "You are not the QA on any projects." Else stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria End If Just substitute your actual field and table names in the dlookup function. HTH, Don McGillivray -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Oct 18 13:52:23 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 18 Oct 2004 13:52:23 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337183@corp-es01.fleetpride.com> How about seek? Would that work here? Jim -----Original Message----- From: Nicholson, Karen [mailto:cyx5 at cdc.gov] Sent: Monday, October 18, 2004 1:32 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open a form and find a record OK. I am doing the same thing to open a form and determine pretty much the same kind of filter. I get queezy using dlookups and was trying to find a better way, not using dlookups, to achieve the same functionality. I was under the assumption that using dlookups is a nono as other programs do not understand them (in the event I upgrade to VB.net) and dlookups are slow. Any other suggestions beside the old dlookup method? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mcgillivray, Donald [ITS] Sent: Monday, October 18, 2004 2:23 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Open a form and find a record Susan, Try something like: (air code) Dim stDocName As String Dim stLinkCriteria As String If Nz(Dlookup("[ProjectID]","tblProjects","[QAFName]='" & Me![UsersName] & "'"),"NotFound") = "NotFound" Then MsgBox "You are not the QA on any projects." Else stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria End If Just substitute your actual field and table names in the dlookup function. HTH, Don McGillivray -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From donald.a.Mcgillivray at mail.sprint.com Mon Oct 18 13:56:03 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Mon, 18 Oct 2004 13:56:03 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <988E2AC88CCB54459286C4077DB662F501E263FC@PDAWB03C.ad.sprint.com> Well, I don't have to worry much about portability issues, but I'd be interested in the opinions of folks better versed than I in the area of optimization. I was under the impression that a simple one-time call to a domain function in a case like this is no big deal in terms of speed. (I suppose it depends on the size of the table.) I do avoid using them in iterative processes, however. Maybe after applying the filter you could evaluate the state of the form's underlying recordset (eof/bof) upon open (load?), and, if it's empty, display a message box and close the form. Just speculating here - haven't actually tried it. -----Original Message----- OK. I am doing the same thing to open a form and determine pretty much the same kind of filter. I get queezy using dlookups and was trying to find a better way, not using dlookups, to achieve the same functionality. I was under the assumption that using dlookups is a nono as other programs do not understand them (in the event I upgrade to VB.net) and dlookups are slow. Any other suggestions beside the old dlookup method? From artful at rogers.com Mon Oct 18 14:21:34 2004 From: artful at rogers.com (Arthur Fuller) Date: Mon, 18 Oct 2004 15:21:34 -0400 Subject: [AccessD] comparing tables In-Reply-To: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> References: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> Message-ID: <417417BE.5030103@rogers.com> Susan Harkins wrote: >I've got some SQL code that compares two tables and reports on records that >aren't in both tables. I did a bit of checking to be sure, but I can't find >any built-in Access feature that does this -- anyone know of a wizard or >something that I might have missed? I'd hate to recommend something that's >not necessary. > >Susan H. > > That must be some bitchin' code, rather like the SQL underlying such statements from "Star Trek" as, "Scan the federation databases for anomalies." I would suggest that the set of records not found in both tables is infinite, to say the least. :) A. From andy at minstersystems.co.uk Mon Oct 18 16:39:28 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 18 Oct 2004 22:39:28 +0100 Subject: [AccessD] comparing tables In-Reply-To: <417417BE.5030103@rogers.com> Message-ID: <006701c4b55a$f20870a0$b274d0d5@minster33c3r25> ROTFLMAO -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Arthur Fuller > Sent: 18 October 2004 20:22 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] comparing tables > > > Susan Harkins wrote: > > >I've got some SQL code that compares two tables and reports > on records > >that aren't in both tables. I did a bit of checking to be > sure, but I > >can't find any built-in Access feature that does this -- > anyone know of > >a wizard or something that I might have missed? I'd hate to > recommend > >something that's not necessary. > > > >Susan H. > > > > > That must be some bitchin' code, rather like the SQL underlying such > statements from "Star Trek" as, "Scan the federation databases for > anomalies." > > I would suggest that the set of records not found in both tables is > infinite, to say the least. :) > > A. > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From clh at christopherhawkins.com Mon Oct 18 17:04:12 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Mon, 18 Oct 2004 16:04:12 -0600 Subject: [AccessD] Run-Time error 2507 when importing from DBase Message-ID: <166240-220041011822412200@christopherhawkins.com> So here's the dilemma. I have an mdb that is executing DoCmd.TransferDatabase to pull a .dbf file in. This work great on every machine except for one. On the problem machine, the code throws an error (paraphrased): "run-time error 2507: the type "DBASE 5.0" is not an installed database type". I've googoled but to no avail. WHat's really kicking my butt is that I've heard of this one befroe, I know it. But I can't find any solutions anywhere. Has anyone seen this, or have a link to a KBase article or something I can use to guide my way througha troubleshoot? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From stuart at lexacorp.com.pg Mon Oct 18 17:26:08 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 19 Oct 2004 08:26:08 +1000 Subject: [AccessD] Open a form and find a record In-Reply-To: Message-ID: <4174CFA0.7818.19243AED@lexacorp.com.pg> On 18 Oct 2004 at 14:31, Nicholson, Karen wrote: > OK. I am doing the same thing to open a form and determine pretty much > the same kind of filter. I get queezy using dlookups and was trying to > find a better way, not using dlookups, to achieve the same > functionality. I was under the assumption that using dlookups is a nono > as other programs do not understand them (in the event I upgrade to > VB.net) and dlookups are slow. Any other suggestions beside the old > dlookup method? > If you want to avoid DLookup/DCount et al, you can roll your own equivalent. Something along the lines of: Function IsQA(User as String) as Boolean Dim rs as DAO.Recordset rs = CurrentDB.Openrecordset("Select count(*) from tblProjects where QAFName = '" & User & "'") IsQA = rs(0) End Function Then just use: If IsQA(Username) Then DoCmd.OpenForm "frmProjects",,,,"QAFName ='" & Username & "'" Else MsgBox "You are not QA on any Project" End If -- Stuart From cfoust at infostatsystems.com Mon Oct 18 17:33:53 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 18 Oct 2004 15:33:53 -0700 Subject: [AccessD] Run-Time error 2507 when importing from DBase Message-ID: Don't you need the Borland Database engine on the machine to handle dBase 5.0? Try googling for that or for "BDE" Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, October 18, 2004 3:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Run-Time error 2507 when importing from DBase So here's the dilemma. I have an mdb that is executing DoCmd.TransferDatabase to pull a .dbf file in. This work great on every machine except for one. On the problem machine, the code throws an error (paraphrased): "run-time error 2507: the type "DBASE 5.0" is not an installed database type". I've googoled but to no avail. WHat's really kicking my butt is that I've heard of this one befroe, I know it. But I can't find any solutions anywhere. Has anyone seen this, or have a link to a KBase article or something I can use to guide my way througha troubleshoot? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From d.dick at uws.edu.au Mon Oct 18 17:41:52 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Tue, 19 Oct 2004 08:41:52 +1000 Subject: [AccessD] Run-Time error 2507 when importing from DBase In-Reply-To: Message-ID: <200410182242.i9IMg0XH022642@cooper.uws.edu.au> Chris Not a solution - just a suggestion Try the usual 'update to latest' packs IE install the latest Jet for that OS Latest Service pack for that OS Make sure all the data options for that version of Office are installed etc. Hope this helps Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, 19 October 2004 8:34 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Run-Time error 2507 when importing from DBase Don't you need the Borland Database engine on the machine to handle dBase 5.0? Try googling for that or for "BDE" Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Monday, October 18, 2004 3:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Run-Time error 2507 when importing from DBase So here's the dilemma. I have an mdb that is executing DoCmd.TransferDatabase to pull a .dbf file in. This work great on every machine except for one. On the problem machine, the code throws an error (paraphrased): "run-time error 2507: the type "DBASE 5.0" is not an installed database type". I've googoled but to no avail. WHat's really kicking my butt is that I've heard of this one befroe, I know it. But I can't find any solutions anywhere. Has anyone seen this, or have a link to a KBase article or something I can use to guide my way througha troubleshoot? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Oct 19 01:41:31 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 07:41:31 +0100 Subject: [AccessD] Run-Time error 2507 when importing from DBase In-Reply-To: <166240-220041011822412200@christopherhawkins.com> Message-ID: <007a01c4b5a6$ab9e8db0$b274d0d5@minster33c3r25> Chris Isn't support for DBF an option on the Access install? Could it be that machine didn't opt for it? -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Christopher Hawkins > Sent: 18 October 2004 23:04 > To: accessd at databaseadvisors.com > Subject: [AccessD] Run-Time error 2507 when importing from DBase > > > So here's the dilemma. I have an mdb that is executing > DoCmd.TransferDatabase to pull a .dbf file in. This work > great on every machine except for one. On the problem > machine, the code throws an error (paraphrased): "run-time > error 2507: the type "DBASE 5.0" is not an installed database type". > > I've googoled but to no avail. WHat's really kicking my butt > is that I've heard of this one befroe, I know it. But I > can't find any solutions anywhere. > > Has anyone seen this, or have a link to a KBase article or > something I can use to guide my way througha troubleshoot? > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Chris.Foote at uk.thalesgroup.com Tue Oct 19 02:14:27 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Tue, 19 Oct 2004 08:14:27 +0100 Subject: [AccessD] Updating front-end via batch file? Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C3D4@ntscxch1.int.rdel.co.uk> Morning Christopher! Sorry I'm a day late with this. Below is the batch file that I use to update an Access FE file on user's local C: drives. The file 'lives' on the same network 'share' as the current FE file (\\\\ChrisFoote\). It checks to see if the locally stored file has the same filename as the latest version (this is 'hard coded' in the batch file). If it is, it runs Access and opens the FE file and quits the batch file. If the file does not exist it makes the required sub-directory, deletes any existing older version of the file, and copies the latest version to the new directory. Access is then run and the new FE file opened. The users of this db have a desktop link to this batch file. HTH - Chris Foote (Now I come to describe the operation of this bat file I realise that it could be improved somewhat! Still, it seems to work ok ;-O) ----------(Bat file) @echo off if not exist "c:\Program Files\jamling\Jamling-a14.mdb" goto getdb: goto startdb :getdb md "c:\Program Files\jamling" >nul del "c:\Program Files\jamling\Jamling*.mdb" >nul copy "\\\\ChrisFoote\Jamling-a14.mdb" "c:\Program Files\jamling" >nul :startdb start "C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "c:\Program Files\jamling\Jamling-a14.mdb" exit > -----Original Message----- > From: Chris Foote (Spike) [mailto:spikee at oatlandspark.org.uk] > Sent: Friday, October 15, 2004 9:18 PM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Updating front-end via batch file? > > > Hi Christopher! > > I have a batch file at work doing just the job you are after. > > If you can wait 'til Monday I'll send it to you then. > > Regards! > Chris Foote > > > Norton Anti-virus > 9.05.15 with virus definitions dated 12th October 2004> > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Christopher > Hawkins > Sent: 15 October 2004 20:39 > To: accessd at databaseadvisors.com > Subject: [AccessD] Updating front-end via batch file? > > > Hello, all. > > I have a client who is constantly tinkering with his home-grown > Access solution and is constantly rolling out updates (against my > advice, of course). > > I was about to set him up with a simple batch file that just uses > COPY [origin] [destination] to copy the latest version of the .mdb > from a folder on the server to a user's machine. But before I do, I > want to know if it is possible to get a little fancier. > > I would like the batch file to a) compare the filename on the user's > machine to the filename on the server, and then b) do the copy if the > names are different, or c) NOT do the copy if the names are the same > (my client likes to put the version number in the filename). > > Is this too much to ask of the humble batch file? > > > -Christopher- > > P.S. > And for those of you who wonder why I don't use a vbscript file, this > client swaps eMachines and other budget boxes in and out of his > business based on what's on sale at Costco that week (again, against > my advice). I can't be sure that new boxes he brings in will have > WSH or any of the complementary components installed on the > bastardized version of WinXP that ships with a lot of thses crap > boxes. But I know that batch files work on everything from Win95 up. > ;) > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From gustav at cactus.dk Tue Oct 19 04:05:23 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Oct 2004 11:05:23 +0200 Subject: [AccessD] Open a form and find a record In-Reply-To: <988E2AC88CCB54459286C4077DB662F501E263FC@PDAWB03C.ad.sprint.com> References: <988E2AC88CCB54459286C4077DB662F501E263FC@PDAWB03C.ad.sprint.com> Message-ID: <926977783.20041019110523@cactus.dk> Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be > interested in the opinions of folks better versed than I in the area of > optimization. I was under the impression that a simple one-time call to > a domain function in a case like this is no big deal in terms of speed. > (I suppose it depends on the size of the table.) I do avoid using them > in iterative processes, however. From gustav at cactus.dk Tue Oct 19 04:10:53 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Oct 2004 11:10:53 +0200 Subject: [AccessD] comparing tables In-Reply-To: <417417BE.5030103@rogers.com> References: <20041016210746.LLTU2383.imf24aec.mail.bellsouth.net@SUSANONE> <417417BE.5030103@rogers.com> Message-ID: <1527308328.20041019111053@cactus.dk> Nice catch Arthur! /gustav > Susan Harkins wrote: >>I've got some SQL code that compares two tables and reports on records that >>aren't in both tables. I did a bit of checking to be sure, but I can't find >>any built-in Access feature that does this -- anyone know of a wizard or >>something that I might have missed? I'd hate to recommend something that's >>not necessary. >> >>Susan H. >> >> > That must be some bitchin' code, rather like the SQL underlying such > statements from "Star Trek" as, "Scan the federation databases for > anomalies." > I would suggest that the set of records not found in both tables is > infinite, to say the least. :) > A. From cyx5 at cdc.gov Tue Oct 19 05:20:36 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 19 Oct 2004 06:20:36 -0400 Subject: [AccessD] Open a form and find a record Message-ID: Wowzer. I am going to try this to see if this works faster than my dlookup and relieves my conscience (sp?) of using dlookups when I know this database will be upscaled someday and I won't have another programmer complaining that I used dlookups. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 18, 2004 6:26 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] Open a form and find a record On 18 Oct 2004 at 14:31, Nicholson, Karen wrote: > OK. I am doing the same thing to open a form and determine pretty much > the same kind of filter. I get queezy using dlookups and was trying to > find a better way, not using dlookups, to achieve the same > functionality. I was under the assumption that using dlookups is a nono > as other programs do not understand them (in the event I upgrade to > VB.net) and dlookups are slow. Any other suggestions beside the old > dlookup method? > If you want to avoid DLookup/DCount et al, you can roll your own equivalent. Something along the lines of: Function IsQA(User as String) as Boolean Dim rs as DAO.Recordset rs = CurrentDB.Openrecordset("Select count(*) from tblProjects where QAFName = '" & User & "'") IsQA = rs(0) End Function Then just use: If IsQA(Username) Then DoCmd.OpenForm "frmProjects",,,,"QAFName ='" & Username & "'" Else MsgBox "You are not QA on any Project" End If -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Oct 19 05:42:09 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 11:42:09 +0100 Subject: [AccessD] Events Collection?? Message-ID: <20041019104207.0C00024CDA7@smtp.nildram.co.uk> Can you enumerate through the event procedures of a form or control? I want to modify my homespun search routine to look for function calls triggered from an event (not from code), and was wondering if I can do a For Each sort of loop or if I've got to specify each event/ -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From actebs at actebs.com.au Tue Oct 19 07:22:57 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 19 Oct 2004 22:22:57 +1000 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <2025BB6F17FCB54791F23CD505583328041BC4@starfleet.unknown.local> Guys, Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... Any ideas? Vlad From actebs at actebs.com.au Tue Oct 19 07:24:10 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 19 Oct 2004 22:24:10 +1000 Subject: [AccessD] Filemaker ODBC Driver for Access Message-ID: <2025BB6F17FCB54791F23CD505583328088648@starfleet.unknown.local> Marty, Your a god! Thanks Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of MartyConnelly Sent: Saturday, 16 October 2004 2:00 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Filemaker ODBC Driver for Access On the filemaker site there are methods to export files to an xml spreadsheet Excel 2002 or 2003 Then just export to Access. May not work for your version of FileMaker tho. http://www.filemaker.com/technologies/xslt_library.html ACTEBS wrote: >Guys, > >Does anyone know where to get an ODBC driver for Filemaker Pro? I have a >client who is migrating from Filemaker Pro to Access (Government Dept) >and they would not know where to get the disk that was originally >installed on their PC. The task of extracting the data from his FmPro DB >into Access is part of an app I'm building for them. > >I don't want to purchase one if I don't have to, but the only ones I can >find online are $100+. For one file and one import instance I can't see >that that is value for money... > >Any help greatly appreciated... > >Vlad > > > -- Marty Connelly Victoria, B.C. Canada -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Oct 19 07:41:51 2004 From: bchacc at san.rr.com (bchacc at san.rr.com) Date: Tue, 19 Oct 2004 08:41:51 -0400 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <32270-2200410219124151596@M2W079.mail2web.com> Vlad, All I can think of right off is to issue a DAO command like .FindFirst and trap the error. HTH anyway, Rocky Original Message: ----------------- From: ACTEBS actebs at actebs.com.au Date: Tue, 19 Oct 2004 22:22:57 +1000 To: accessd at databaseadvisors.com Subject: [AccessD] DAO Recordset/Database is Open? Guys, Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web.com/ . From andy at minstersystems.co.uk Tue Oct 19 07:43:45 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 13:43:45 +0100 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <20041019124343.010DC25550E@smtp.nildram.co.uk> Hi Vlad How about: If rst Is Nothing Then -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Group E-mail Subject: [AccessD] DAO Recordset/Database is Open? Date: 19/10/04 12:26 > > Guys, > > Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... > > Any ideas? > > Vlad > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From gustav at cactus.dk Tue Oct 19 07:48:49 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Oct 2004 14:48:49 +0200 Subject: [AccessD] DAO Recordset/Database is Open? In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BC4@starfleet.unknown.local> References: <2025BB6F17FCB54791F23CD505583328041BC4@starfleet.unknown.local> Message-ID: <17220383910.20041019144849@cactus.dk> Hi Vlad I believe the only method is to try to open it exclusively and catch the error if that fails. /gustav > Does anyone know how, using DAO, to check whether a recordset is > currently open and also whether the database is currently open. In > ADO you can use "State", but there seems to be no equivalent in > DAO... From actebs at actebs.com.au Tue Oct 19 08:05:52 2004 From: actebs at actebs.com.au (ACTEBS) Date: Tue, 19 Oct 2004 23:05:52 +1000 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <2025BB6F17FCB54791F23CD505583328088649@starfleet.unknown.local> Andy, You're a star. Thanks to Gustav and Rocky for their suggestions. For the life of me I couldn't come up with that. I love this list! Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Tuesday, 19 October 2004 10:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO Recordset/Database is Open? Hi Vlad How about: If rst Is Nothing Then -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Group E-mail Subject: [AccessD] DAO Recordset/Database is Open? Date: 19/10/04 12:26 > > Guys, > > Does anyone know how, using DAO, to check whether a recordset is currently open and also whether the database is currently open. In ADO you can use "State", but there seems to be no equivalent in DAO... > > Any ideas? > > Vlad > > > -- > _______________________________________________ > 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 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From michael.mattys at adelphia.net Tue Oct 19 08:24:53 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 19 Oct 2004 09:24:53 -0400 Subject: [AccessD] Events Collection?? References: <20041019104207.0C00024CDA7@smtp.nildram.co.uk> Message-ID: <00aa01c4b5df$05895fc0$6401a8c0@default> ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 19, 2004 6:42 AM Subject: [AccessD] Events Collection?? > Can you enumerate through the event procedures of a form or control? I want > to modify my homespun search routine to look for function calls triggered > from an event (not from code), and was wondering if I can do a For Each sort > of loop or if I've got to specify each event/ > -- > Andy Lacey > http://www.minstersystems.co.uk Andy, You can iterate through each Control and Form/Report using a properties loop: Const EVP As String = "[Event Procedure]" Dim prp As Access.Property For each prp in Obj.Properties If IsEvent(prp.Name) Then If prp.Value = EVP Then ' End If End If Next Function IsEvent(prpName As String) As Boolean 'Actually, this is a table in one of the A97 Wizards IsEvent = False Select Case prpName Case "BeforeInsert", "AfterInsert", "ApplyFilter" IsEvent = True Case "BeforeUpdate", "AfterUpdate" IsEvent = True Case "BeforeDelConfirm", "AfterDelConfirm" IsEvent = True Case Else If Left(prpName, 2) = "On" Then IsEvent = True End If End Select End Function ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From adtp at touchtelindia.net Tue Oct 19 09:15:42 2004 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 19 Oct 2004 19:45:42 +0530 Subject: [AccessD] Open a form and find a record References: <01B619CB8F6C8C478EDAC39191AEC51EE738EC@doesefpeml02.eus.fldoe.i nt> Message-ID: <003f01c4b5e6$5c366230$ac1865cb@winxp> Canceling Open Action Of Form - If No Record =================================== As a generic solution, insertion of code block given at (A) below, in Open event of the target form, will ensure that if there is no record (in its record source), the form will refuse to open and display a custom message instead. This solution is universally applicable, whatever the filtering criteria in the command used for opening the form. It is however desirable to precede such a command by the following statement, in order to prevent error message (2501 - The OpenForm action was cancelled). On Error Resume Next It is observed from the original post (by Susan), that the command for closing the menu form has been placed before that for opening the target form. It has to be the other way around. Suggested revised code for click event of appropriate command button (CmdOpen) on the menu form, is given at (B) below. A.D.Tejpal -------------- (A) Code in target form (frmProjects) ================================== Private Sub Form_Open(Cancel As Integer) With Me.RecordsetClone If .BOF And .EOF Then MsgBox "You are not the QA on any projects" Cancel = 1 End If End With End Sub ================================== (B) Code in Menu Form ================================== Private Sub CmdOpen_Click() Dim stDocName As String Dim stLinkCriteria As String If Len(Nz(UsersName, "")) = 0 Then Exit Sub End If stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & _ "'" & Me![UsersName] & "'" On Error Resume Next DoCmd.OpenForm stDocName, , , stLinkCriteria On Error GoTo 0 DoCmd.Close acForm, Me.Name End Sub ================================== ----- Original Message ----- From: Gustav Brock To: Access Developers discussion and problem solving Sent: Tuesday, October 19, 2004 14:35 Subject: Re: [AccessD] Open a form and find a record Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be interested in the opinions of folks better versed than I in the area of optimization. I was under the impression that a simple one-time call to a domain function in a case like this is no big deal in terms of speed. > (I suppose it depends on the size of the table.) I do avoid using them in iterative processes, however. << SNIP >> ----- Original Message ----- From: Klos, Susan To: 'AccessD at databaseadvisors.com' Sent: Monday, October 18, 2004 23:31 Subject: [AccessD] Open a form and find a record I am using the following code to open a from the menu form and filter the records so that the user sees only their records. Dim stDocName As String Dim stLinkCriteria As String stDocName = "frmProjects" stLinkCriteria = "[QAFName]=" & "'" & Me![UsersName] & "'" DoCmd.Close 'Closes the menu form. DoCmd.OpenForm stDocName, , , stLinkCriteria The problem is that sometimes the user's name will not be found on the form in the [QAFName] text box. This would simply mean that the user is not a "Quality Assurance" person on anybody's project. When this happens I don't want the form to open. I want a message box to pop up that says "You are not the QA on any projects". On clicking ok on the message box the menu opens back up. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From cfoust at infostatsystems.com Tue Oct 19 09:33:13 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Oct 2004 07:33:13 -0700 Subject: [AccessD] Open a form and find a record Message-ID: I agree, Gustav. Sometimes a domain aggregate function is the *fastest* way to get a single piece of information, since all you're doing is effectively running a query on the fly to return a single value. Where it is slow is in a query where it executes once for every record. And in code, returning a single recordset and working with that is faster when it replaces multiple Dlookups. Charlotte Foust -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 19, 2004 2:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open a form and find a record Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be > interested in the opinions of folks better versed than I in the area > of optimization. I was under the impression that a simple one-time > call to a domain function in a case like this is no big deal in terms > of speed. (I suppose it depends on the size of the table.) I do avoid > using them in iterative processes, however. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Oct 19 09:34:02 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 15:34:02 +0100 Subject: [AccessD] DAO Recordset/Database is Open? Message-ID: <20041019143358.AFCB6253B8E@smtp.nildram.co.uk> Happy to help Vlad. Note though that my solution only looks to see if you (ie the cuuent instance of Access) have that recordset open. The others were looking to see if the underlying table was open anywhere. Be sure to choose the right one for what you're after. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: RE: [AccessD] DAO Recordset/Database is Open? Date: 19/10/04 13:09 > > Andy, > > You're a star. Thanks to Gustav and Rocky for their suggestions. For the life of me I couldn't come up with that. I love this list! > > Vlad > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey > Sent: Tuesday, 19 October 2004 10:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DAO Recordset/Database is Open? > > > Hi Vlad > > How about: > > If rst Is Nothing Then > > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > <accessd at databaseadvisors.com> > To: Access Group E-mail <accessd at databaseadvisors.com> > Subject: [AccessD] DAO Recordset/Database is Open? > Date: 19/10/04 12:26 > > > > > Guys, > > > > Does anyone know how, using DAO, to check whether a recordset is currently > open and also whether the database is currently open. In ADO you can use > &quot;State&quot;, but there seems to be no equivalent in DAO... > > > > Any ideas? > > > > Vlad > > > > > > -- > > _______________________________________________ > > 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 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From andy at minstersystems.co.uk Tue Oct 19 09:57:06 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 15:57:06 +0100 Subject: [AccessD] Events Collection?? Message-ID: <20041019145703.417432547B6@smtp.nildram.co.uk> Hi Michael That looks great but when I open a form (A97 BTW) and iterate through its properties I don't see any of the events, just things like its Name, LastUpdated and stuff. What am I doing wrong? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Date: 19/10/04 13:33 > > ----- Original Message ----- > From: "Andy Lacey" <andy at minstersystems.co.uk> > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Sent: Tuesday, October 19, 2004 6:42 AM > Subject: [AccessD] Events Collection?? > > > > Can you enumerate through the event procedures of a form or control? I > want > > to modify my homespun search routine to look for function calls triggered > > from an event (not from code), and was wondering if I can do a For Each > sort > > of loop or if I've got to specify each event/ > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > Andy, > > You can iterate through each Control and Form/Report > using a properties loop: > > Const EVP As String = "[Event Procedure]" > Dim prp As Access.Property > > For each prp in Obj.Properties > If IsEvent(prp.Name) Then > If prp.Value = EVP Then > ' > End If > End If > Next > > Function IsEvent(prpName As String) As Boolean > 'Actually, this is a table in one of the A97 Wizards > IsEvent = False > Select Case prpName > Case "BeforeInsert", "AfterInsert", "ApplyFilter" > IsEvent = True > Case "BeforeUpdate", "AfterUpdate" > IsEvent = True > Case "BeforeDelConfirm", "AfterDelConfirm" > IsEvent = True > Case Else > If Left(prpName, 2) = "On" Then > IsEvent = True > End If > End Select > End Function > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From michael.mattys at adelphia.net Tue Oct 19 10:17:38 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 19 Oct 2004 11:17:38 -0400 Subject: [AccessD] Events Collection?? References: <20041019145703.417432547B6@smtp.nildram.co.uk> Message-ID: <013201c4b5ee$c783bd00$6401a8c0@default> Andy, Everything on the Properties Sheet for any object is contained within that object's properties collection. Try putting a stop in the code where you've written (This is DAO code) Dim frm As Access.Form Dim prp As Access.Property Set frm = Forms("X") For Each prp In frm.Properties Stop Next Now look at the Properties Window in the VBE. You should see every event listed under frm. What we are looking for is the Name of a property that is listed in the Select ... Case structure and if it's value equals EVP, then we know that it triggers an event. . We can also get functions in the property sheet that are of the form "=MyFunction()" by simply checking the Len() of the prp.Value and whether or not it equals EVP or IsNull(). HTH ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com ----- Original Message ----- From: "Andy Lacey" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 19, 2004 10:57 AM Subject: Re: [AccessD] Events Collection?? > Hi Michael > That looks great but when I open a form (A97 BTW) and iterate through its > properties I don't see any of the events, just things like its Name, > LastUpdated and stuff. What am I doing wrong? > > -- > Andy Lacey > http://www.minstersystems.co.uk > > > > --------- Original Message -------- > From: Access Developers discussion and problem solving > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Events Collection?? > Date: 19/10/04 13:33 > > > > > ----- Original Message ----- > > From: "Andy Lacey" <andy at minstersystems.co.uk> > > To: "Access Developers discussion and problem solving" > > <accessd at databaseadvisors.com> > > Sent: Tuesday, October 19, 2004 6:42 AM > > Subject: [AccessD] Events Collection?? > > > > > > > Can you enumerate through the event procedures of a form or control? > I > > want > > > to modify my homespun search routine to look for function calls > triggered > > > from an event (not from code), and was wondering if I can do a For > Each > > sort > > > of loop or if I've got to specify each event/ > > > -- > > > Andy Lacey > > > http://www.minstersystems.co.uk > > > > Andy, > > > > You can iterate through each Control and Form/Report > > using a properties loop: > > > > Const EVP As String = "[Event Procedure]" > > Dim prp As Access.Property > > > > For each prp in Obj.Properties > > If IsEvent(prp.Name) Then > > If prp.Value = EVP Then > > ' > > End If > > End If > > Next > > > > Function IsEvent(prpName As String) As Boolean > > 'Actually, this is a table in one of the A97 Wizards > > IsEvent = False > > Select Case prpName > > Case "BeforeInsert", "AfterInsert", > "ApplyFilter" > > IsEvent = True > > Case "BeforeUpdate", "AfterUpdate" > > IsEvent = True > > Case "BeforeDelConfirm", "AfterDelConfirm" > > IsEvent = True > > Case Else > > If Left(prpName, 2) = "On" Then > > IsEvent = True > > End If > > End Select > > End Function > > ---- > > > > Michael R. Mattys > > Mattys MapLib for Microsoft MapPoint > > http://www.mattysconsulting.com > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 19 10:51:25 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Oct 2004 08:51:25 -0700 Subject: [AccessD] Events Collection?? Message-ID: If you want to itemize the event procedures, you need to work with the module, not the form itself. It's very ugly code. Charlotte Foust -----Original Message----- From: Andy Lacey [mailto:andy at minstersystems.co.uk] Sent: Tuesday, October 19, 2004 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Hi Michael That looks great but when I open a form (A97 BTW) and iterate through its properties I don't see any of the events, just things like its Name, LastUpdated and stuff. What am I doing wrong? -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Date: 19/10/04 13:33 > > ----- Original Message ----- > From: "Andy Lacey" <andy at minstersystems.co.uk> > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Sent: Tuesday, October 19, 2004 6:42 AM > Subject: [AccessD] Events Collection?? > > > > Can you enumerate through the event procedures of a form or > control? I > want > > to modify my homespun search routine to look for function calls triggered > > from an event (not from code), and was wondering if I can do a > For Each > sort > > of loop or if I've got to specify each event/ > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > Andy, > > You can iterate through each Control and Form/Report > using a properties loop: > > Const EVP As String = "[Event Procedure]" > Dim prp As Access.Property > > For each prp in Obj.Properties > If IsEvent(prp.Name) Then > If prp.Value = EVP Then > ' > End If > End If > Next > > Function IsEvent(prpName As String) As Boolean > 'Actually, this is a table in one of the A97 Wizards > IsEvent = False > Select Case prpName > Case "BeforeInsert", "AfterInsert", "ApplyFilter" > IsEvent = True > Case "BeforeUpdate", "AfterUpdate" > IsEvent = True > Case "BeforeDelConfirm", "AfterDelConfirm" > IsEvent = True > Case Else > If Left(prpName, 2) = "On" Then > IsEvent = True > End If > End Select > End Function > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Tue Oct 19 11:18:47 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 17:18:47 +0100 Subject: [AccessD] Events Collection?? Message-ID: <20041019161844.28FEA24CC77@smtp.nildram.co.uk> Hi Michael Found what I was doing wrong. My code to iterate through the form used For Each Doc In Ctr.Documents The Doc properties do not include the Events. I needed the "Set frm = Forms(0)", and now I see them. Terrific. Thanks again Michael. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: Access Developers discussion and problem solving To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? Date: 19/10/04 15:22 > > Andy, > > Everything on the Properties Sheet for any object > is contained within that object's properties collection. > Try putting a stop in the code where you've written > (This is DAO code) > > Dim frm As Access.Form > Dim prp As Access.Property > Set frm = Forms("X") > For Each prp In frm.Properties > Stop > Next > > Now look at the Properties Window in the VBE. > You should see every event listed under frm. > What we are looking for is the Name of a property > that is listed in the Select ... Case structure and if it's > value equals EVP, then we know that it triggers an > event. > .. > We can also get functions in the property sheet > that are of the form "=MyFunction()" by simply > checking the Len() of the prp.Value and whether > or not it equals EVP or IsNull(). > > HTH > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > ----- Original Message ----- > From: "Andy Lacey" <andy at minstersystems.co.uk> > To: "Access Developers discussion and problem solving" > <accessd at databaseadvisors.com> > Sent: Tuesday, October 19, 2004 10:57 AM > Subject: Re: [AccessD] Events Collection?? > > > > Hi Michael > > That looks great but when I open a form (A97 BTW) and iterate through its > > properties I don't see any of the events, just things like its Name, > > LastUpdated and stuff. What am I doing wrong? > > > > -- > > Andy Lacey > > http://www.minstersystems.co.uk > > > > > > > > --------- Original Message -------- > > From: Access Developers discussion and problem solving > > <accessd at databaseadvisors.com> > > To: Access Developers discussion and problem solving > > <accessd at databaseadvisors.com> > > Subject: Re: [AccessD] Events Collection?? > > Date: 19/10/04 13:33 > > > > > > > > ----- Original Message ----- > > > From: &quot;Andy Lacey&quot; &lt;andy at minstersystems.co.uk&gt; > > > To: &quot;Access Developers discussion and problem solving&quot; > > > &lt;accessd at databaseadvisors.com&gt; > > > Sent: Tuesday, October 19, 2004 6:42 AM > > > Subject: [AccessD] Events Collection?? > > > > > > > > > &gt; Can you enumerate through the event procedures of a form or > control? > > I > > > want > > > &gt; to modify my homespun search routine to look for function calls > > triggered > > > &gt; from an event (not from code), and was wondering if I can do a For > > Each > > > sort > > > &gt; of loop or if I've got to specify each event/ > > > &gt; -- > > > &gt; Andy Lacey > > > &gt; http://www.minstersystems.co.uk > > > > > > Andy, > > > > > > You can iterate through each Control and Form/Report > > > using a properties loop: > > > > > > Const EVP As String = &quot;[Event Procedure]&quot; > > > Dim prp As Access.Property > > > > > > For each prp in Obj.Properties > > > If IsEvent(prp.Name) Then > > > If prp.Value = EVP Then > > > ' > > > End If > > > End If > > > Next > > > > > > Function IsEvent(prpName As String) As Boolean > > > 'Actually, this is a table in one of the A97 Wizards > > > IsEvent = False > > > Select Case prpName > > > Case &quot;BeforeInsert&quot;, &quot;AfterInsert&quot;, > > &quot;ApplyFilter&quot; > > > IsEvent = True > > > Case &quot;BeforeUpdate&quot;, &quot;AfterUpdate&quot; > > > IsEvent = True > > > Case &quot;BeforeDelConfirm&quot;, > &quot;AfterDelConfirm&quot; > > > IsEvent = True > > > Case Else > > > If Left(prpName, 2) = &quot;On&quot; Then > > > IsEvent = True > > > End If > > > End Select > > > End Function > > > ---- > > > > > > Michael R. Mattys > > > Mattys MapLib for Microsoft MapPoint > > > http://www.mattysconsulting.com > > > > > > -- > > > _______________________________________________ > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > > > > > > > > > > > > > > > ________________________________________________ > > Message sent using UebiMiau 2.7.2 > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > ________________________________________________ Message sent using UebiMiau 2.7.2 From michael.mattys at adelphia.net Tue Oct 19 14:58:23 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Tue, 19 Oct 2004 15:58:23 -0400 Subject: [AccessD] Events Collection?? References: Message-ID: <01c201c4b615$fe83de80$6401a8c0@default> > If you want to itemize the event procedures, you need to work with the > module, not the form itself. It's very ugly code. > > Charlotte Foust Ugly code? Should I defend myself? :) En Garde, Charlotte Foust! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com From cfoust at infostatsystems.com Tue Oct 19 16:00:01 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 19 Oct 2004 14:00:01 -0700 Subject: [AccessD] Events Collection?? Message-ID: Only if you really *like* working with methods like ProcOfLine! ;-} Here's some I wrote years ago to print a list of event procedures in a form module to the immediate window. It tests for the existence of control event procedures in the form and prints starting line of existing procedures or MISSING for missing procedures. Now THAT'S ugly! Function TestEventProcs(ByVal strFrm As String) On Error Resume Next Dim frm As Form Dim mdl As Module Dim ctl As Control Dim prp As dao.Property Dim strSub As String Dim lngSLine As Long Dim lngSCol As Long Dim lngELine As Long Dim lngECol As Long Dim intPfx As Integer 'make sure the form and its module are open If Not IsLoaded(strFrm) Then DoCmd.OpenForm strFrm, acDesign End If Set frm = Forms(strFrm) Set mdl = Modules("Form_" & strFrm) If Err <> 0 Then DoCmd.OpenModule "Form_" & strFrm Set mdl = Modules("Form_" & strFrm) End If 'loop through the controls 'looking for event procedures For Each ctl In frm.Controls For Each prp In ctl.Properties If prp.name Like "On*" Or _ prp.name Like "After*" Or _ prp.name Like "Before*" Then 'store the length of the prefix If prp.name Like "On*" Then intPfx = 2 ElseIf prp.name Like "After*" Then intPfx = 5 ElseIf prp.name Like "Before*" Then intPfx = 6 End If If prp.Value = "[Event Procedure]" Then 'initialize the line and colum variables 'for the proc find in the module lngSLine = 0 lngSCol = 0 lngELine = 0 lngECol = 0 strSub = ctl.name & "_" & Mid(prp.name, intPfx + 1) 'look for the event procedure in the module If mdl.Find(strSub, lngSLine, lngSCol, lngELine, lngECol) Then 'if event procedure found, 'print its name and starting line Debug.Print strSub & "() Exists" Debug.Print , "Starts at line: " & lngSLine Else 'otherwise, print name and MISSING Debug.Print strSub & "() Is MISSING" End If End If End If Next prp Next ctl Set prp = Nothing Set ctl = Nothing Set mdl = Nothing Set frm = Nothing End Function Charlotte Foust -----Original Message----- From: Michael R Mattys [mailto:michael.mattys at adelphia.net] Sent: Tuesday, October 19, 2004 12:58 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Events Collection?? > If you want to itemize the event procedures, you need to work with the > module, not the form itself. It's very ugly code. > > Charlotte Foust Ugly code? Should I defend myself? :) En Garde, Charlotte Foust! ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.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 Tue Oct 19 17:00:00 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 19 Oct 2004 23:00:00 +0100 Subject: [AccessD] Events Collection?? In-Reply-To: Message-ID: <009501c4b626$fb314860$b274d0d5@minster33c3r25> I've got code to look through module code but what I wanted was to find all occurrences of a function call, some of which are calls fired direct from an event without using an Event proc. So Michael's code did the job perfectly. Thanks anyway Charlotte. And you're right, the code to find stuff in a module is pretty horrible. Can't remember where I got it from. Works though. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Charlotte Foust > Sent: 19 October 2004 22:00 > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] Events Collection?? > > > Only if you really *like* working with methods like ProcOfLine! ;-} > > Here's some I wrote years ago to print a list of event > procedures in a form module to the immediate window. It > tests for the existence of control event procedures in the > form and prints starting line of existing procedures or > MISSING for missing procedures. Now THAT'S ugly! > > Function TestEventProcs(ByVal strFrm As String) > On Error Resume Next > Dim frm As Form > Dim mdl As Module > Dim ctl As Control > Dim prp As dao.Property > Dim strSub As String > Dim lngSLine As Long > Dim lngSCol As Long > Dim lngELine As Long > Dim lngECol As Long > Dim intPfx As Integer > 'make sure the form and its module are open > If Not IsLoaded(strFrm) Then > DoCmd.OpenForm strFrm, acDesign > End If > Set frm = Forms(strFrm) > Set mdl = Modules("Form_" & strFrm) > If Err <> 0 Then > DoCmd.OpenModule "Form_" & strFrm > Set mdl = Modules("Form_" & strFrm) > End If > 'loop through the controls > 'looking for event procedures > For Each ctl In frm.Controls > For Each prp In ctl.Properties > If prp.name Like "On*" Or _ > prp.name Like "After*" Or _ > prp.name Like "Before*" Then > 'store the length of the prefix > If prp.name Like "On*" Then > intPfx = 2 > ElseIf prp.name Like "After*" Then > intPfx = 5 > ElseIf prp.name Like "Before*" Then > intPfx = 6 > End If > > If prp.Value = "[Event Procedure]" Then > 'initialize the line and colum variables > 'for the proc find in the module > lngSLine = 0 > lngSCol = 0 > lngELine = 0 > lngECol = 0 > strSub = ctl.name & "_" & Mid(prp.name, intPfx + 1) > 'look for the event procedure in the module > If mdl.Find(strSub, lngSLine, lngSCol, lngELine, > lngECol) Then > 'if event procedure found, > 'print its name and starting line > Debug.Print strSub & "() Exists" > Debug.Print , "Starts at line: " & lngSLine > Else > 'otherwise, print name and MISSING > Debug.Print strSub & "() Is MISSING" > End If > End If > End If > Next prp > Next ctl > Set prp = Nothing > Set ctl = Nothing > Set mdl = Nothing > Set frm = Nothing > End Function > > Charlotte Foust > > > -----Original Message----- > From: Michael R Mattys [mailto:michael.mattys at adelphia.net] > Sent: Tuesday, October 19, 2004 12:58 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Events Collection?? > > > > If you want to itemize the event procedures, you need to > work with the > > > module, not the form itself. It's very ugly code. > > > > Charlotte Foust > > > Ugly code? Should I defend myself? :) > En Garde, Charlotte Foust! > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From mwhittinghill at symphonyinfo.com Wed Oct 20 10:15:12 2004 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 20 Oct 2004 10:15:12 -0500 Subject: [AccessD] OT: (Cross posted) VSS and VB6 Message-ID: <004d01c4b6b7$991b4c70$2601a8c0@Symphony.local> Hi all, I have a VB6 project where I would like to make a copy of the project files that is detached from Visual Source Safe, while leaving the original project alone. In Access, I can compact a copy of an mdb to do that, but when I make a copy of my VB files, they seem to still affect my VSS project. How can I do this? Thanks, Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com From mwhittinghill at symphonyinfo.com Wed Oct 20 10:34:29 2004 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 20 Oct 2004 10:34:29 -0500 Subject: [AccessD] OT: Test - no reply Message-ID: <000d01c4b6ba$4bcc9ed0$2601a8c0@Symphony.local> Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com From Jim.Hale at FleetPride.com Wed Oct 20 12:04:41 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 20 Oct 2004 12:04:41 -0500 Subject: [AccessD] Load Excel comments into database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337197@corp-es01.fleetpride.com> Does anyone have any code or ideas on how to strip comments from an Excel spreadsheet and load them into an Access DB? I vaguely recall seeing some code once upon a time but I can't recall where. TIA Jim *********************************************************************** 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 chris at piasd.org Wed Oct 20 12:14:48 2004 From: chris at piasd.org (Chris Kettenbach) Date: Wed, 20 Oct 2004 10:14:48 -0700 Subject: [AccessD] Load Excel comments into database Message-ID: <2F7BA03C93D17D48B13C42228C8FDAF27855E2@server.domain.local> Just get a reference to the spreadsheet and loop through the comments collections. Then you run INSERT queries or ADO.AddNew or something and insert them in. Hopes this helps. CK -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Wednesday, October 20, 2004 10:05 AM To: 'Accessd (E-mail) Subject: [AccessD] Load Excel comments into database Does anyone have any code or ideas on how to strip comments from an Excel spreadsheet and load them into an Access DB? I vaguely recall seeing some code once upon a time but I can't recall where. TIA Jim *********************************************************************** 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 BBarabash at TappeConstruction.com Wed Oct 20 12:22:44 2004 From: BBarabash at TappeConstruction.com (Brett Barabash) Date: Wed, 20 Oct 2004 12:22:44 -0500 Subject: [AccessD] OT: (Cross posted) VSS and VB6 Message-ID: <100F91B31300334B89EC531C9DCB0865318D59@tccexch01.tappeconstruction.net> When you copy the project files to a new folder, omit the mssccprj.scc and vssver.scc files. Make sure to right click on the files in Windows Explorer and uncheck the read only flag. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Whittinghill Sent: Wednesday, October 20, 2004 10:15 AM To: dba-tech-request at databaseadvisors.com; accessd at databaseadvisors.com Subject: [AccessD] OT: (Cross posted) VSS and VB6 Hi all, I have a VB6 project where I would like to make a copy of the project files that is detached from Visual Source Safe, while leaving the original project alone. In Access, I can compact a copy of an mdb to do that, but when I make a copy of my VB files, they seem to still affect my VSS project. How can I do this? Thanks, Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------------------------------------------------------------------------------------------------------------- The information in this email may contain confidential information that is legally privileged. The information is only for the use of the intended recipient(s) named above. If you are not the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or the taking of any action in regard to the content of this email is strictly prohibited. If transmission is incorrect, unclear, or incomplete, please notify the sender immediately. The authorized recipient(s) of this information is/are prohibited from disclosing this information to any other party and is/are required to destroy the information after its stated need has been fulfilled. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of Tappe Construction Co. This footer also confirms that this email message has been scanned for the presence of computer viruses.Scanning of this message and addition of this footer is performed by SurfControl E-mail Filter software in conjunction with virus detection software. From mwhittinghill at symphonyinfo.com Wed Oct 20 13:02:05 2004 From: mwhittinghill at symphonyinfo.com (Mark Whittinghill) Date: Wed, 20 Oct 2004 13:02:05 -0500 Subject: [AccessD] OT: (Cross posted) VSS and VB6 References: <100F91B31300334B89EC531C9DCB0865318D59@tccexch01.tappeconstruction.net> Message-ID: <001401c4b6ce$ea0411f0$2601a8c0@Symphony.local> Thanks, Brett. I figured it was easy like that, but I didn't want to risk messing things up as I experimented. Mark Whittinghill Symphony Information Services 763-391-7400 mwhittinghill at symphonyinfo.com ----- Original Message ----- From: "Brett Barabash" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 20, 2004 12:22 PM Subject: RE: [AccessD] OT: (Cross posted) VSS and VB6 > When you copy the project files to a new folder, omit the mssccprj.scc > and vssver.scc files. > Make sure to right click on the files in Windows Explorer and uncheck > the read only flag. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark > Whittinghill > Sent: Wednesday, October 20, 2004 10:15 AM > To: dba-tech-request at databaseadvisors.com; accessd at databaseadvisors.com > Subject: [AccessD] OT: (Cross posted) VSS and VB6 > > > Hi all, > > I have a VB6 project where I would like to make a copy of the project > files that is detached from Visual Source Safe, while leaving the > original project alone. In Access, I can compact a copy of an mdb to do > that, but when I make a copy of my VB files, they seem to still affect > my VSS project. > How can I do this? > > Thanks, > > Mark Whittinghill > Symphony Information Services > 763-391-7400 > mwhittinghill at symphonyinfo.com > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -------------------------------------------------------------------------- ------------------------------------------ > The information in this email may contain confidential information that > is legally privileged. The information is only for the use of the intended > recipient(s) named above. If you are not the intended recipient(s), you > are hereby notified that any disclosure, copying, distribution, or the taking > of any action in regard to the content of this email is strictly prohibited. If > transmission is incorrect, unclear, or incomplete, please notify the sender > immediately. The authorized recipient(s) of this information is/are prohibited > from disclosing this information to any other party and is/are required to > destroy the information after its stated need has been fulfilled. > > Any views expressed in this message are those of the individual > sender, except where the sender specifies and with authority, > states them to be the views of Tappe Construction Co. > > This footer also confirms that this email message has been scanned > for the presence of computer viruses.Scanning of this message and > addition of this footer is performed by SurfControl E-mail Filter software > in conjunction with virus detection software. > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Wed Oct 20 15:50:18 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 20 Oct 2004 16:50:18 -0400 Subject: [AccessD] Access with a MySQL database Message-ID: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. Any thoughts (advantages, limitations, etc.)? Thanks, Barb Ryan From Jim.Hale at FleetPride.com Wed Oct 20 15:53:51 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 20 Oct 2004 15:53:51 -0500 Subject: [AccessD] Load Excel comments into database Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233719B@corp-es01.fleetpride.com> Sounds like a plan to me. Thanks Jim Hale -----Original Message----- From: Chris Kettenbach [mailto:chris at piasd.org] Sent: Wednesday, October 20, 2004 12:15 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Load Excel comments into database Just get a reference to the spreadsheet and loop through the comments collections. Then you run INSERT queries or ADO.AddNew or something and insert them in. Hopes this helps. CK -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hale, Jim Sent: Wednesday, October 20, 2004 10:05 AM To: 'Accessd (E-mail) Subject: [AccessD] Load Excel comments into database Does anyone have any code or ideas on how to strip comments from an Excel spreadsheet and load them into an Access DB? I vaguely recall seeing some code once upon a time but I can't recall where. TIA Jim *********************************************************************** 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 *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Wed Oct 20 19:48:06 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 20 Oct 2004 17:48:06 -0700 Subject: [AccessD] Access with a MySQL database References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Message-ID: <41770746.2090304@shaw.ca> If you are using essentially static data, MYSQL is fine, However if you are using a lot of transactions go with SQL Server. The reason MYSQL 5.0 version has stored procedures and yet to be implemented triggers but this version is still in Alpha. Access goes fine to MySQL with ODBC and ADO or linked tables The InnoDB storage engine has to be installed as well if you want to maintain referential integrity. For more info and Tools. How to import Excel, Access or XML data into MySQL database by using a MySQL Client Tool  Navicat? http://www.stardeveloper.com/articles/display.html?article=2003101901&page=1 Toad? for MySQL  Preview Release http://www.quest.com/ToadMySQL/index.asp MySQL? Connector/ODBC http://www.mysql.com/products/connector/odbc/ To be used with this MySQL Manual | 22.1.11 MyODBC and Microsoft Access http://dev.mysql.com/doc/mysql/en/MSAccess.html MySQL Manual | 22.1.11.1 How to Set Up Microsoft Access to Work with MySQL using MyODBC? http://dev.mysql.com/doc/mysql/en/MSAccess_Setup.html Barbara Ryan wrote: >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > >Any thoughts (advantages, limitations, etc.)? > >Thanks, >Barb Ryan > > -- Marty Connelly Victoria, B.C. Canada From d.dick at uws.edu.au Wed Oct 20 23:06:05 2004 From: d.dick at uws.edu.au (Darren DICK) Date: Thu, 21 Oct 2004 14:06:05 +1000 Subject: [AccessD] A2K: Question for the Aussies (Or anyone who cares) Message-ID: <200410210406.i9L46GXH026212@cooper.uws.edu.au> Hello all A question for the Aussies or ate least those who have had a hand in developing dbs that deal with the Aussie TAX system I am after any dB that deals with GST, BAS, BAS Statements, preserved amounts yadda yadda yadda Anyone got anything like it I can look at or they are willing to share or even sell? many thanks See y'all Darren From tom.bolton at donnslaw.co.uk Wed Oct 20 10:36:10 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Wed, 20 Oct 2004 16:36:10 +0100 Subject: [AccessD] RE: Access 2002 hassles with DoCmd object Message-ID: <61F915314798D311A2F800A0C9C83188064331E9@dibble.observatory.donnslaw.co.uk> Hi Yet again having problems with this. I have a simple DDL query that works fine when run normally, i.e. you double-click it from the database window. However, I'm trying to run it programatically using the following statement: DoCmd.OpenQuery "qryIndex". I'm given the message warning me that I'm about to run a query that could alter the DB etc., but then nothing happens. The query is a simple CREATE INDEX statement that's creating an index on two fields in a table. Am I doing something fundamentally stupid here? Yet again, any help greatly appreciated! Many thanks Tom Bolton -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From gustav at cactus.dk Thu Oct 21 03:06:17 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Oct 2004 10:06:17 +0200 Subject: [AccessD] Access with a MySQL database In-Reply-To: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Message-ID: <263463650.20041021100617@cactus.dk> Hi Barbara > Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. > They currently do not own SQL Server but are using MySQL in their web application. > Any thoughts (advantages, limitations, etc.)? I did a custom frontend which moves data between a MySQL database and an Access database. It worked as expected using ODBC connection to MySQL. In addition to Marty's comments, have in mind that MySQL runs on nearly everything - Windows, Linux, even Novell. /gustav From william.thompson1 at att.net Thu Oct 21 04:23:46 2004 From: william.thompson1 at att.net (William Thompson) Date: Thu, 21 Oct 2004 02:23:46 -0700 Subject: [AccessD] Is there a fast way to set up an .mdb with security In-Reply-To: <263463650.20041021100617@cactus.dk> Message-ID: <200410210923.i9L9NsL03096@databaseadvisors.com> Is there a fast way to set up security for a workgroup, say by grabbing a table from a master with aliases and an access level code, and grant access to the .mdb en masse? Most of the .mdb's that need security contain pass-through queries to SQL server. Any comments, suggestions appreciated. I haven't had much experience doing this particular task. Bill Thompson From garykjos at gmail.com Thu Oct 21 10:52:32 2004 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Oct 2004 10:52:32 -0500 Subject: [AccessD] Microsoft ODBC for Oracle Password Change Message-ID: I have been using the Microsoft ODBC for Oracle Driver version 2 build 2.573.6200.00 for a few years to access Oracle 8 and 9 databases on a read only basis. All was well until the Oracle DBA's decided - or were forced to due to Sarbaine/Oxley legislation - make the passwords expire on a periodic basis on the Oracle user account that is used for the ODBC connection. The ODBC driver I am currently using doesn't seem to have the ability to allow the password to be changed, it just fires an error message window when the expired password is encountered. ODBC-call failed. Error ORA-28001: the password has expired The users could access the acount through SQL+ or another Oracle terminal tool like SQL Navigator or TOAD but that would be considered another security risk, so they don't want to provide any of those tools to the users. They want the users themselves to be able to change the passwords so that only they will know what the password is for their account. Anybody run into this or have any ideas? -- Gary Kjos garykjos at gmail.com From gustav at cactus.dk Thu Oct 21 11:37:45 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Oct 2004 18:37:45 +0200 Subject: [AccessD] Microsoft ODBC for Oracle Password Change In-Reply-To: References: Message-ID: <11334152208.20041021183745@cactus.dk> Hi Gary Couldn't you try to open a connection to the database? Pick the connect string from one of the tables and add a leading "ODBC;": strConnect = "ODBC;" & tdf.Connect Set wrk = DAO.CreateWorkspace("wrkVerify", vbNullString, vbNullString, dbUseODBC) ' Open ODBC connection for read/write using the connection string. Set cnn = wrk.OpenConnection("cnnVerify", dbDriverNoPrompt, False, strConnect) ' If this fails, username and/or password may be wrong. ' Prompt for these. Set cnn = wrk.OpenConnection("cnnVerify", dbDriverPrompt, False, strConnect) ' If this succeeds, save the connect string and use it to relink ' the tables. ' Update connection information. strConnect = cnn.Connect This is DAO. You could probably do something similar with ADO. You will, of course, need to add code to catch and handle errors. /gustav > I have been using the Microsoft ODBC for Oracle Driver version 2 build > 2.573.6200.00 for a few years to access Oracle 8 and 9 databases on a > read only basis. All was well until the Oracle DBA's decided - or were > forced to due to Sarbaine/Oxley legislation - make the passwords > expire on a periodic basis on the Oracle user account that is used for > the ODBC connection. The ODBC driver I am currently using doesn't seem > to have the ability to allow the password to be changed, it just fires > an error message window when the expired password is encountered. > ODBC-call failed. Error ORA-28001: the password has expired > The users could access the acount through SQL+ or another Oracle > terminal tool like SQL Navigator or TOAD but that would be considered > another security risk, so they don't want to provide any of those > tools to the users. They want the users themselves to be able to > change the passwords so that only they will know what the password is > for their account. > Anybody run into this or have any ideas? > -- > Gary Kjos > garykjos at gmail.com From garykjos at gmail.com Thu Oct 21 11:52:58 2004 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Oct 2004 11:52:58 -0500 Subject: [AccessD] Microsoft ODBC for Oracle Password Change In-Reply-To: <11334152208.20041021183745@cactus.dk> References: <11334152208.20041021183745@cactus.dk> Message-ID: Thanks Gustav. I will give that a try. Gary On Thu, 21 Oct 2004 18:37:45 +0200, Gustav Brock wrote: > Hi Gary > > Couldn't you try to open a connection to the database? > Pick the connect string from one of the tables and add a leading > "ODBC;": > > strConnect = "ODBC;" & tdf.Connect > > Set wrk = DAO.CreateWorkspace("wrkVerify", vbNullString, vbNullString, dbUseODBC) > ' Open ODBC connection for read/write using the connection string. > Set cnn = wrk.OpenConnection("cnnVerify", dbDriverNoPrompt, False, strConnect) > ' If this fails, username and/or password may be wrong. > ' Prompt for these. > Set cnn = wrk.OpenConnection("cnnVerify", dbDriverPrompt, False, strConnect) > ' If this succeeds, save the connect string and use it to relink > ' the tables. > ' Update connection information. > strConnect = cnn.Connect > > This is DAO. You could probably do something similar with ADO. > You will, of course, need to add code to catch and handle errors. > > /gustav > > > > > > I have been using the Microsoft ODBC for Oracle Driver version 2 build > > 2.573.6200.00 for a few years to access Oracle 8 and 9 databases on a > > read only basis. All was well until the Oracle DBA's decided - or were > > forced to due to Sarbaine/Oxley legislation - make the passwords > > expire on a periodic basis on the Oracle user account that is used for > > the ODBC connection. The ODBC driver I am currently using doesn't seem > > to have the ability to allow the password to be changed, it just fires > > an error message window when the expired password is encountered. > > > ODBC-call failed. Error ORA-28001: the password has expired > > > The users could access the acount through SQL+ or another Oracle > > terminal tool like SQL Navigator or TOAD but that would be considered > > another security risk, so they don't want to provide any of those > > tools to the users. They want the users themselves to be able to > > change the passwords so that only they will know what the password is > > for their account. > > > Anybody run into this or have any ideas? > > > -- > > Gary Kjos > > garykjos at gmail.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 accma at sympatico.ca Thu Oct 21 12:06:55 2004 From: accma at sympatico.ca (accma at sympatico.ca) Date: Thu, 21 Oct 2004 13:06:55 -0400 Subject: [AccessD] Form design question Message-ID: <20041021170655.ZJXI27476.tomts15-srv.bellnexxia.net@mxmta.bellnexxia.net> Hi all, I'm wondering if it's possible to have multiple sections in a forms like in a report. I don't exactly know how to explane this so I'll demontrate it as best as I can. On a form, I want to display all the products available. That form would be the order entry form. What I would like to do is put multiple column like this : product #, qt, price, product #, qt, price, product #, qt, price. The second and third "product #, qt, price" would be the continuing of the first column. Is this even possible and if so, how can I do this? Tanks! Annie From clh at christopherhawkins.com Thu Oct 21 12:13:58 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 11:13:58 -0600 Subject: [AccessD] Import specification - how to distribute? Message-ID: <83210-2200410421171358849@christopherhawkins.com> I'm building a feature for a client that requires me to come up with an import specification for the files they'll be pulling into the system. Problem is, I have no idea how the import spec is stored, and therefore no idea how to distribute it to my client when I deliver the .mdb files. Is the import spec in the registry? In an .ini file someplace? Is it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From garykjos at gmail.com Thu Oct 21 12:38:49 2004 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 Oct 2004 12:38:49 -0500 Subject: [AccessD] Import specification - how to distribute? In-Reply-To: <83210-2200410421171358849@christopherhawkins.com> References: <83210-2200410421171358849@christopherhawkins.com> Message-ID: It's in hidden tables in the mdb. Change the Option to display hidden and system tables in a database that has at least one and you will see the tables - there are two of them, on for the specification "header" and another for the "item details". On Thu, 21 Oct 2004 11:13:58 -0600, Christopher Hawkins wrote: > I'm building a feature for a client that requires me to come up with > an import specification for the files they'll be pulling into the > system. Problem is, I have no idea how the import spec is stored, > and therefore no idea how to distribute it to my client when I > deliver the .mdb files. > > Is the import spec in the registry? In an .ini file someplace? Is > it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... > > -Christopher- > Respectfully, > > Christopher Hawkins > Software Developer > (559) 687-7591 > http://www.christopherhawkins.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 Thu Oct 21 12:45:46 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Oct 2004 10:45:46 -0700 Subject: [AccessD] Form design question Message-ID: It sounds like you want a continuous form. Forms don't have column layouts like reports, and I don't understand what you mean by the second and third ... Would be the continuing of the first column. Charlotte Foust -----Original Message----- From: accma at sympatico.ca [mailto:accma at sympatico.ca] Sent: Thursday, October 21, 2004 10:07 AM To: accessd at databaseadvisors.com Subject: [AccessD] Form design question Hi all, I'm wondering if it's possible to have multiple sections in a forms like in a report. I don't exactly know how to explane this so I'll demontrate it as best as I can. On a form, I want to display all the products available. That form would be the order entry form. What I would like to do is put multiple column like this : product #, qt, price, product #, qt, price, product #, qt, price. The second and third "product #, qt, price" would be the continuing of the first column. Is this even possible and if so, how can I do this? Tanks! Annie -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 21 12:47:31 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Oct 2004 10:47:31 -0700 Subject: [AccessD] Import specification - how to distribute? Message-ID: Import specs are stored in the mdb file in two system tables MSysIMEXColumns and MSysIMEXSpecs. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, October 21, 2004 10:14 AM To: accessd at databaseadvisors.com Subject: [AccessD] Import specification - how to distribute? I'm building a feature for a client that requires me to come up with an import specification for the files they'll be pulling into the system. Problem is, I have no idea how the import spec is stored, and therefore no idea how to distribute it to my client when I deliver the .mdb files. Is the import spec in the registry? In an .ini file someplace? Is it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Mitsules at ngc.com Thu Oct 21 12:56:56 2004 From: Mark.Mitsules at ngc.com (Mitsules, Mark S. (Newport News)) Date: Thu, 21 Oct 2004 10:56:56 -0700 Subject: [AccessD] Import specification - how to distribute? Message-ID: I had to do this type of documentation for a government project. Since the documentation already included screenshots of the user interface, I saw no problem with including simple screenshots of the Import Specifications. Mark -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, October 21, 2004 1:14 PM To: accessd at databaseadvisors.com Subject: [AccessD] Import specification - how to distribute? I'm building a feature for a client that requires me to come up with an import specification for the files they'll be pulling into the system. Problem is, I have no idea how the import spec is stored, and therefore no idea how to distribute it to my client when I deliver the .mdb files. Is the import spec in the registry? In an .ini file someplace? Is it in the .mdb itself? I'm clueless. Heeeeeeeeeeeeeeeeeelp... -Christopher- Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Thu Oct 21 13:20:48 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 21 Oct 2004 14:20:48 -0400 Subject: [AccessD] From Main form to Subform (XP) Message-ID: I have a main form (frmMSBByTaskNo) and a subform (frmSortTaskNo). I have placed a combo-box drop down on the main form intending to navigate to the subform and to the selected record in my little drop-down box. I am not getting an error, but sure am not getting any action. This is my code: Private Sub cboGoToTaskNo_AfterUpdate() Forms!frmMSBByTaskNo!frmSortTaskNo.Form!txtTaskNumber.SetFocus DoCmd.FindRecord Forms("frmMSBbyTaskNo")!cboGoToTaskNo.Column(0), , True, , True, , True End Sub I put the little brown mark on the code and watched it go through locals and did a check to make sure that cboGoToTaskNo.Column(0) was returning the correct value and it is. The subform is a continuous form. Is there a better way to do this, i.e., one that works? From bheygood at abestsystems.com Thu Oct 21 14:16:29 2004 From: bheygood at abestsystems.com (Bob Heygood) Date: Thu, 21 Oct 2004 12:16:29 -0700 Subject: [AccessD] Empty and fill tables In-Reply-To: <61F915314798D311A2F800A0C9C83188064331E9@dibble.observatory.donnslaw.co.uk> Message-ID: Hello to the list, I have an app that uses linked/attached tables thru ODBC. When I created the original, I wrote a routine to empty an Access table with info from the corresponding linked table. This because I felt that I wanted to not impact the program which uses the table which I was linking to. The non-Access linked tables are linked to the F End. The Access tables I fill are in the back end. This "empty and fill" operation always took awhile but recently jumped to 59 minutes. Five tables - one over 106,000 record. A version 2K Code - - - EMPTY - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Delete * From tblTransactions" DoCmd.RunSQL (strSQL) FILL - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Insert into tblTransactions Select * From pMWTRN" DoCmd.RunSQL (strSQL) DoCmd.Hourglass False DoCmd.SetWarnings True My question: Can I do this faster/better? TIA, Bob From donald.a.Mcgillivray at mail.sprint.com Thu Oct 21 14:37:48 2004 From: donald.a.Mcgillivray at mail.sprint.com (Mcgillivray, Donald [ITS]) Date: Thu, 21 Oct 2004 14:37:48 -0500 Subject: [AccessD] Empty and fill tables Message-ID: <988E2AC88CCB54459286C4077DB662F501FCE3F3@PDAWB03C.ad.sprint.com> Bob, I don't know if my experience is relevant to your situation, but I too have a process which imports records into a temp table. I was loading data from text files (10,000 to 60,000 records at a time) summarizing the data, purging, and repeating. I noticed similar performance degradation over time, and traced it to db bloat. My solution (suggested by Gustav) was to shift the temp tables to a separate back end, of which I made two copies - TempTables.mdb and TempTablesTemplate.mdb. Then at the end of each processing cycle I included code to kill TempTables.mdb and copy TempTablesTemplate.mdb in its place. This ensures that the temp tables always start fresh for each processing cycle and the bloat problem disappears. Just make sure that no processes or db objects have a lock on the tables in TempTables.mdb when you run the kill and replace part. Hope this helps Don McGillivray -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bob Heygood Sent: Thursday, October 21, 2004 12:16 PM To: Access Developers discussion and problem solving Subject: [AccessD] Empty and fill tables Hello to the list, I have an app that uses linked/attached tables thru ODBC. When I created the original, I wrote a routine to empty an Access table with info from the corresponding linked table. This because I felt that I wanted to not impact the program which uses the table which I was linking to. The non-Access linked tables are linked to the F End. The Access tables I fill are in the back end. This "empty and fill" operation always took awhile but recently jumped to 59 minutes. Five tables - one over 106,000 record. A version 2K Code - - - EMPTY - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Delete * From tblTransactions" DoCmd.RunSQL (strSQL) FILL - - Dim strSQL As String DoCmd.Hourglass True DoCmd.SetWarnings False strSQL = "Insert into tblTransactions Select * From pMWTRN" DoCmd.RunSQL (strSQL) DoCmd.Hourglass False DoCmd.SetWarnings True My question: Can I do this faster/better? TIA, Bob -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Thu Oct 21 14:52:31 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Thu, 21 Oct 2004 15:52:31 -0400 Subject: [AccessD] Go to a new record on a subform on a tab control Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE738FC@doesefpeml02.eus.fldoe.int> I have a main form (frmAllData) that contains a tab control. So far there are two tabs on the control - Peopleform and frmCallData. PeopleForm and frmAllData are both bound to the same table (People). I have a combo box (cboFindPeople) on frmAllData that looks for someone on PeopleForm. Then frmCallData contains all the calls associated with the person found. If a person's name is input into cboFindPeople and that person is not in the database, I want a yes/no message box to pop up and if the user decides to add the person, I want to set peopleform on the tab control to add and then I want to populate the FName, LName, and ContactPerson controls with the information in cboFindPeople. I think I can populate the controls if I can just get to the subform on the tab control and set the form to add. Any help would be greatly appreciated. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From clh at christopherhawkins.com Thu Oct 21 16:29:23 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 15:29:23 -0600 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: <302020-2200410421212923655@christopherhawkins.com> I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From clh at christopherhawkins.com Thu Oct 21 16:31:21 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 15:31:21 -0600 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: <213200-2200410421213121188@christopherhawkins.com> I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From cfoust at infostatsystems.com Thu Oct 21 17:11:42 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Oct 2004 15:11:42 -0700 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: Yep, you're in trouble. Open the MDB bypassing any autoexec and go into the VB IDE and compile the project. Access is losing track of it's own controls and container objects. You may have to create a new database and import everything from the old one. Charlotte Foust -----Original Message----- From: Christopher Hawkins [mailto:clh at christopherhawkins.com] Sent: Thursday, October 21, 2004 2:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Troubleshootoing an OLE server error? I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at mchsi.com Thu Oct 21 17:22:44 2004 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Thu, 21 Oct 2004 22:22:44 +0000 Subject: [AccessD] parameterized query misbehavior Message-ID: <102120042222.1853.412@mchsi.com> I don't use Access as much as I used to, and I think this may be my first attempt to use a parameterized query for a report since being upgraded to Access 2003 (from Access 97). I have a report based on a parametertized query that asks the user to enter a Monday date and a Sunday date to select records between the two dates. I've done this a jillion times or so in the past with no problems. When I set up the query, I kept getting the error "The Microsoft Jet Engine does not recognize [What Monday Date?] as a valid field or expression". I solved that by explicitly defining the parameters and the datatype. I would have done that anyway, but I've never had to do that just to get it work before. So now in query design, when I run the query it prompts me correctly and displays the data as expected. Then I go to make my report and the wretched thing keeps prompting me over and over, while in design mode, for the damn parameters. I don't mean to sound like a prima donna, but I really can't work under these conditions :) I've done this sort of thing many, many times in the past and I never gotten prompted for the parameters in design mode, and only once when running the report each time for testing. When I run the report, it runs through the prompting process twice before displaying the report. What the heck is going on? If I'm doing something wrong I sure don't know what it is, and the MS help is, as usual, somewhat less than helpful. Thanks for any response. Ron From clh at christopherhawkins.com Thu Oct 21 23:02:15 2004 From: clh at christopherhawkins.com (Christopher Hawkins) Date: Thu, 21 Oct 2004 22:02:15 -0600 Subject: [AccessD] Troubleshootoing an OLE server error? Message-ID: <161680-22004105224215980@christopherhawkins.com> I ended up deleting the offending form, decompiled, recompiled, compact & repaired, and the built the form over from scratch. Voila! No more problems. -C- ---- Original Message ---- From: cfoust at infostatsystems.com To: accessd at databaseadvisors.com, Subject: RE: [AccessD] Troubleshootoing an OLE server error? Date: Thu, 21 Oct 2004 15:11:42 -0700 >Yep, you're in trouble. Open the MDB bypassing any autoexec and go >into >the VB IDE and compile the project. Access is losing track of it's >own >controls and container objects. You may have to create a new >database >and import everything from the old one. > >Charlotte Foust > > >-----Original Message----- >From: Christopher Hawkins [mailto:clh at christopherhawkins.com] >Sent: Thursday, October 21, 2004 2:29 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] Troubleshootoing an OLE server error? > > >I am in deep dip. > >Here's the situation: I have a form that is throwing the following >error when I click any button, the close button included: > >A problem occurred while Microsoft Office Access was communicating >with >the OLE server or Active X control. > >Now, I'm not doing anything with OLE servers or Active X controls. >It's just a plain ol' form bound to a table. But any buttons I click >bring up this error - the button code does not execute. > >I don't even know where to start troubleshooting. I've been Googling >the error, but am not finding much. Has anyone seen this? >Respectfully, > >Christopher Hawkins >Software Developer >(559) 687-7591 >http://www.christopherhawkins.com > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.com From accessd667 at yahoo.com Fri Oct 22 01:16:34 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 21 Oct 2004 23:16:34 -0700 (PDT) Subject: [AccessD] Itterate a collection Message-ID: <20041022061634.57309.qmail@web61110.mail.yahoo.com> Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. From viner at EUnet.yu Fri Oct 22 03:15:31 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Fri, 22 Oct 2004 10:15:31 +0200 Subject: [AccessD] Useful Samples Message-ID: <001001c4b80f$6358ca00$0100a8c0@razvoj> Great samples, in Polish www.bratki.w.v1.pl www.Access.vis.pl From gustav at cactus.dk Fri Oct 22 04:30:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 22 Oct 2004 11:30:11 +0200 Subject: [AccessD] Useful Samples In-Reply-To: <001001c4b80f$6358ca00$0100a8c0@razvoj> References: <001001c4b80f$6358ca00$0100a8c0@razvoj> Message-ID: <6810753703.20041022113011@cactus.dk> Hi Ervin Well, thanks, but except for "System Kolors" these are as close to dark talk as I can imagine ... /gustav > Great samples, in Polish > www.bratki.w.v1.pl > www.Access.vis.pl From Paul.Rogers at SummitMedia.co.uk Fri Oct 22 04:49:48 2004 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Fri, 22 Oct 2004 10:49:48 +0100 Subject: [AccessD] Useful Samples Message-ID: Very attractive sites, Gustav. What a pity (for me) they're not in English. Cheers paul -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: 22 October 2004 10:30 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Useful Samples Hi Ervin Well, thanks, but except for "System Kolors" these are as close to dark talk as I can imagine ... /gustav > Great samples, in Polish > www.bratki.w.v1.pl > www.Access.vis.pl -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 05/10/2004 From Jdemarco at hudsonhealthplan.org Fri Oct 22 07:06:11 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 22 Oct 2004 08:06:11 -0400 Subject: [AccessD] Itterate a collection Message-ID: <08F823FD83787D4BA0B99CA580AD3C7448691D@TTNEXCHCL2.hshhp.com> Two ways that I know of : Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection dim colItem As Variant Set cDO = New cDatabaseObjects Set oColl = cDO.TableNames For Each colItem in oColl debug.print colItem Next Set oColl = nothing End Sub or Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Dim i As Integer Set cDO = New cDatabaseObjects Set oColl = cDO.TableNames For i = 1 To oColl.Count debug.print oColl.Item(i) Next i Set oColl = nothing End Sub HTH Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Friday, October 22, 2004 2:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From andy at minstersystems.co.uk Fri Oct 22 12:16:30 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 22 Oct 2004 18:16:30 +0100 Subject: [AccessD] Go to a new record on a subform on a tab control In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE738FC@doesefpeml02.eus.fldoe.int> Message-ID: <003701c4b85a$dfcf51d0$b274d0d5@minster33c3r25> Susan, not sure if this is what you're asking but you refer to a subform on a tab control just the same as any other. So the syntax is something like (if you're on main form): Me!subformControl.Form. Etc Where subformControl refers to the name of the control containing the subform not the name of the subform itself (if you see what I mean). So, for example: Me!subformControl.Form.AllowAdditions=True -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan > Sent: 21 October 2004 20:53 > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] Go to a new record on a subform on a tab control > > > I have a main form (frmAllData) that contains a tab control. > So far there are two tabs on the control - Peopleform and frmCallData. > > PeopleForm and frmAllData are both bound to the same table > (People). I have a combo box (cboFindPeople) on frmAllData > that looks for someone on PeopleForm. > > Then frmCallData contains all the calls associated with the > person found. > > If a person's name is input into cboFindPeople and that > person is not in the database, I want a yes/no message box to > pop up and if the user decides to add the person, I want to > set peopleform on the tab control to add and then I want to > populate the FName, LName, and ContactPerson controls with > the information in cboFindPeople. > > > > I think I can populate the controls if I can just get to the > subform on the tab control and set the form to add. > > Any help would be greatly appreciated. > > > > Susan Klos > > Senior Database Analyst > > Evaluation and Reporting > > Florida Department of Education > > 850-245-0708 > > sc 205-0708 > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From BarbaraRyan at cox.net Fri Oct 22 14:24:46 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 22 Oct 2004 15:24:46 -0400 Subject: [AccessD] document development tools Message-ID: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan ************************************************************************************************************************** Do you know of any document development tools, something like VISIO Technical or Quick CAD that are specifically designed to support a tedium free graphical development of a table architecture or data model? I'm wondering if there is an affordable application out there for drafting up table schema's and database design diagrams that is easier to use than wiring together a bunch of text boxes or flow chart symbols in a MSword document. Just curious if you know about somthing that the development community uses. From martyconnelly at shaw.ca Fri Oct 22 19:25:16 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 22 Oct 2004 17:25:16 -0700 Subject: [AccessD] document development tools References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <4179A4EC.9010403@shaw.ca> You are probably looking for CASE (Computer Aided System Engineering) Tools. I have used Enterprise Architect http://www.sparxsystems.com.au/ Good for reverse engineering an Access mdb just plug in the mdb or an ODBC connection to SQL and it will layout a data model or ER diagram. Also lays out XSD schemas for tables and queries. Does UML modelling Probably best in it's price range for diagramming $200. There is trial version. Case Studio is good too. It generates SQL table scripts. http://www.casestudio.com/enu/ Then you get into the $1000 price range with ER-Win and WinDev and there are the $10,000 packages Rose, System Architect, and ARTiSAN, and probably even higher mainframe packages.Texas Instrument IEF I saw one about 15 years ago that produced good Cobol Code but none since then. So dont believe any code generation hype with Case Tools. Barbara Ryan wrote: >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > >************************************************************************************************************************** >Do you know of any document development tools, something like VISIO Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to use than >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > >Just curious if you know about somthing that the development community uses. > > -- Marty Connelly Victoria, B.C. Canada From BarbaraRyan at cox.net Fri Oct 22 20:14:28 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Fri, 22 Oct 2004 21:14:28 -0400 Subject: [AccessD] document development tools References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> <4179A4EC.9010403@shaw.ca> Message-ID: <007e01c4b89d$a5071ea0$0a00a8c0@cx470148a> Thanks, Marty....I'll pass on the info..............Barb ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, October 22, 2004 8:25 PM Subject: Re: [AccessD] document development tools > You are probably looking for CASE (Computer Aided System Engineering) Tools. > > I have used Enterprise Architect > http://www.sparxsystems.com.au/ > Good for reverse engineering an Access mdb just plug in the mdb or an > ODBC connection to SQL and it will layout a data model or ER diagram. > Also lays out XSD schemas for tables and queries. Does UML modelling > Probably best in it's price range for diagramming $200. There is trial > version. > > Case Studio is good too. It generates SQL table scripts. > http://www.casestudio.com/enu/ > > Then you get into the $1000 price range with ER-Win and WinDev > and there are the $10,000 packages Rose, System Architect, and ARTiSAN, > and probably even higher mainframe packages.Texas Instrument IEF > > I saw one about 15 years ago that produced good Cobol Code but none > since then. > So dont believe any code generation hype with Case Tools. > > Barbara Ryan wrote: > > >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > > > > >*************************************************************************** *********************************************** > >Do you know of any document development tools, something like VISIO Technical or Quick CAD that > >are specifically designed to support a tedium free graphical development of a > >table architecture or data model? > > > >I'm wondering if there is an affordable application out there for > >drafting up table schema's and database design diagrams that is easier to use than > >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > > > >Just curious if you know about somthing that the development community uses. > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 22 22:47:40 2004 From: artful at rogers.com (Arthur Fuller) Date: Fri, 22 Oct 2004 23:47:40 -0400 Subject: [AccessD] document development tools In-Reply-To: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <4179D45C.5010603@rogers.com> Barbara Ryan wrote: >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > >************************************************************************************************************************** >Do you know of any document development tools, something like VISIO Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to use than >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > >Just curious if you know about somthing that the development community uses. > > If Visio is out of the price range, then try DeZign (www.datanamic.com, if memory serves -- if not, just google it). Excellent piece of work, IMO, and cheap. From papparuff at comcast.net Fri Oct 22 23:23:22 2004 From: papparuff at comcast.net (John Ruff) Date: Fri, 22 Oct 2004 21:23:22 -0700 Subject: [AccessD] document development tools In-Reply-To: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <000001c4b8b8$1035efc0$6401a8c0@papparuff> Dezign for Databases is an excellent tool for around $229.00. http://www.datanamic.com/ John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Friday, October 22, 2004 12:25 PM To: Access List Subject: [AccessD] document development tools I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan **************************************************************************** ********************************************** Do you know of any document development tools, something like VISIO Technical or Quick CAD that are specifically designed to support a tedium free graphical development of a table architecture or data model? I'm wondering if there is an affordable application out there for drafting up table schema's and database design diagrams that is easier to use than wiring together a bunch of text boxes or flow chart symbols in a MSword document. Just curious if you know about somthing that the development community uses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sun Oct 24 06:02:30 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sun, 24 Oct 2004 13:02:30 +0200 Subject: [AccessD] document development tools In-Reply-To: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> References: <005f01c4b86c$ca571560$0a00a8c0@cx470148a> Message-ID: <1138864386.20041024130230@cactus.dk> Hi Barbara Though targeted at MySQL, this - at zero cost - could be useful as well: http://www.fabforce.net/dbdesigner4/ and - at little cost: http://www.thekompany.com/products/dataarchitect/ /gustav > I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > ************************************************************************************************************************** > Do you know of any document development tools, something like VISIO Technical or Quick CAD that > are specifically designed to support a tedium free graphical development of a > table architecture or data model? > I'm wondering if there is an affordable application out there for > drafting up table schema's and database design diagrams that is easier to use than > wiring together a bunch of text boxes or flow chart symbols in a MSword document. > Just curious if you know about somthing that the development community uses. From KP at sdsonline.net Sun Oct 24 18:58:38 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 25 Oct 2004 09:58:38 +1000 Subject: [AccessD] A2K: Question for the Aussies (Or anyone who cares) References: <200410210406.i9L46GXH026212@cooper.uws.edu.au> Message-ID: <003201c4ba25$61bb7d10$6401a8c0@user> Darren - most of my clients use something like MYOB or Cashflow Manager for accounting for BAS, so I haven't needed to do it... My own database does some calcs for me to produce my own BAS statements - it is fairly straightforward. Kath ----- Original Message ----- From: Darren DICK To: 'Access Developers discussion and problem solving' Sent: Thursday, October 21, 2004 2:06 PM Subject: [AccessD] A2K: Question for the Aussies (Or anyone who cares) Hello all A question for the Aussies or ate least those who have had a hand in developing dbs that deal with the Aussie TAX system I am after any dB that deals with GST, BAS, BAS Statements, preserved amounts yadda yadda yadda Anyone got anything like it I can look at or they are willing to share or even sell? many thanks See y'all Darren -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Sun Oct 24 19:01:09 2004 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 25 Oct 2004 10:01:09 +1000 Subject: [AccessD] Troubleshootoing an OLE server error? References: <213200-2200410421213121188@christopherhawkins.com> Message-ID: <006601c4ba25$bbf8fd70$6401a8c0@user> Christopher - I have definitely had that form error - and I think it related to an icon that I had copied an pasted into an image control. The message is very misleading... HTH Kath ----- Original Message ----- From: Christopher Hawkins To: accessd at databaseadvisors.com Sent: Friday, October 22, 2004 7:31 AM Subject: [AccessD] Troubleshootoing an OLE server error? I am in deep dip. Here's the situation: I have a form that is throwing the following error when I click any button, the close button included: A problem occurred while Microsoft Office Access was communicating with the OLE server or Active X control. Now, I'm not doing anything with OLE servers or Active X controls. It's just a plain ol' form bound to a table. But any buttons I click bring up this error - the button code does not execute. I don't even know where to start troubleshooting. I've been Googling the error, but am not finding much. Has anyone seen this? Respectfully, Christopher Hawkins Software Developer (559) 687-7591 http://www.christopherhawkins.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 Mon Oct 25 09:44:36 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 25 Oct 2004 09:44:36 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371B0@corp-es01.fleetpride.com> I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 rl_stewart at highstream.net Mon Oct 25 12:24:59 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 25 Oct 2004 12:24:59 -0500 Subject: [AccessD] Re: document development tools In-Reply-To: <200410231700.i9NH0HL14717@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041025122258.03f0f520@pop3.highstream.net> It really depends on the databases you want to be able to support. Personally, I use ERWin. And, unless you are buying a copy off of EBay, the price is more like 3500 not 1000. For me the key to using it is the number of databases it supports because I work with a lot of different ones. At 12:00 PM 10/23/2004 -0500, you wrote: >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan >Sent: Friday, October 22, 2004 12:25 PM >To: Access List >Subject: [AccessD] document development tools > > >I received the following email from my client ---- any thoughts / >suggestions?.....Thanks, Barb Ryan > > >**************************************************************************** >********************************************** >Do you know of any document development tools, something like VISIO >Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of >a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to >use than >wiring together a bunch of text boxes or flow chart symbols in a MSword >document. > >Just curious if you know about somthing that the development community uses. From KIsmert at TexasSystems.com Mon Oct 25 13:08:27 2004 From: KIsmert at TexasSystems.com (Ken Ismert) Date: Mon, 25 Oct 2004 13:08:27 -0500 Subject: [AccessD] document development tools In-Reply-To: <4179A4EC.9010403@shaw.ca> Message-ID: <008001c4babd$a0e1e2c0$2a3ca8c0@TEXASSYSTEMS.COM> I have used Artiso Visual Case: http://www.visualcase.com/ It has good drawing facilities, and it has a native Access .mdb forward and reverse engineering tool. You can also publish your data model to a web-based viewer. It also will do UML for objects and object pattern design, with .NET and Java support. It sells for about $450 USD for a single user. There is a 30 day free trial. -Ken -----Original Message----- From: MartyConnelly [mailto:martyconnelly at shaw.ca] Sent: Friday, October 22, 2004 7:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] document development tools You are probably looking for CASE (Computer Aided System Engineering) Tools. I have used Enterprise Architect http://www.sparxsystems.com.au/ Good for reverse engineering an Access mdb just plug in the mdb or an ODBC connection to SQL and it will layout a data model or ER diagram. Also lays out XSD schemas for tables and queries. Does UML modelling Probably best in it's price range for diagramming $200. There is trial version. Case Studio is good too. It generates SQL table scripts. http://www.casestudio.com/enu/ Then you get into the $1000 price range with ER-Win and WinDev and there are the $10,000 packages Rose, System Architect, and ARTiSAN, and probably even higher mainframe packages.Texas Instrument IEF I saw one about 15 years ago that produced good Cobol Code but none since then. So dont believe any code generation hype with Case Tools. Barbara Ryan wrote: >I received the following email from my client ---- any thoughts / suggestions?.....Thanks, Barb Ryan > > >*************************************************************************** *********************************************** >Do you know of any document development tools, something like VISIO Technical or Quick CAD that >are specifically designed to support a tedium free graphical development of a >table architecture or data model? > >I'm wondering if there is an affordable application out there for >drafting up table schema's and database design diagrams that is easier to use than >wiring together a bunch of text boxes or flow chart symbols in a MSword document. > >Just curious if you know about somthing that the development community uses. > > -- Marty Connelly Victoria, B.C. Canada From marcus at tsstech.com Mon Oct 25 13:19:52 2004 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 25 Oct 2004 14:19:52 -0400 Subject: [AccessD] OT: Does anyone know how to use DFS? Message-ID: I'm trying to do a server consolidation and would like to remap unc paths to a different server. I believe DFS can do this but am unsure how this is done. Can anyone help? Scott Marcus From mmmtbig at bellsouth.net Mon Oct 25 13:48:16 2004 From: mmmtbig at bellsouth.net (Myke Myers) Date: Mon, 25 Oct 2004 14:48:16 -0400 Subject: [AccessD] Memory Leak in DAO? Message-ID: <00d901c4bac3$309c3870$6501a8c0@tbig1> Does anyone see why the sub procedure below would result in an out of memory condition when run about 100 times in a loop? Public Sub ExecuteActionQuery(strQueryName As String) Dim db As Database Dim qdf As QueryDef Set db = CurrentDb Set qdf = db.QueryDefs(strQueryName) qdf.Execute Set qdf = Nothing Set db = Nothing Exit Sub TIA Myke From Jim.Hale at FleetPride.com Mon Oct 25 14:20:36 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 25 Oct 2004 14:20:36 -0500 Subject: [AccessD] Memory Leak in DAO? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371B4@corp-es01.fleetpride.com> try qdf.close before you set qdf=nothing Jum Hale -----Original Message----- From: Myke Myers [mailto:mmmtbig at bellsouth.net] Sent: Monday, October 25, 2004 1:48 PM To: Database Advisors Subject: [AccessD] Memory Leak in DAO? Does anyone see why the sub procedure below would result in an out of memory condition when run about 100 times in a loop? Public Sub ExecuteActionQuery(strQueryName As String) Dim db As Database Dim qdf As QueryDef Set db = CurrentDb Set qdf = db.QueryDefs(strQueryName) qdf.Execute Set qdf = Nothing Set db = Nothing Exit Sub TIA Myke -- _______________________________________________ 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 greggs at msn.com Mon Oct 25 15:58:51 2004 From: greggs at msn.com (Gregg) Date: Mon, 25 Oct 2004 15:58:51 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel References: <6A6AA9DF57E4F046BDA1E273BDDB67723371B0@corp-es01.fleetpride.com> Message-ID: Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 kaupca at chevrontexaco.com Mon Oct 25 16:47:46 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Mon, 25 Oct 2004 16:47:46 -0500 Subject: [AccessD] Export to CSV file problem Message-ID: <1375769556091B4DAABC159F944CA1BB07A266@bocnte2k4.hou150.chevrontexaco.net> I have the following field in a query that makes a table. Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short Date") When I open up the table I see a short date When I export the table to a csv type file I get both the date and the time. How do I get only the date into the csv file? Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From DWUTKA at marlow.com Mon Oct 25 17:17:11 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 25 Oct 2004 17:17:11 -0500 Subject: [AccessD] Itterate a collection Message-ID: <123701F54509D9119A4F00D0B747349016D028@main2.marlow.com> What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ 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 Oct 25 17:24:09 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 26 Oct 2004 08:24:09 +1000 Subject: [AccessD] Export to CSV file problem In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A266@bocnte2k4.hou150.chevrontexaco.net> Message-ID: <417E09A9.3776.7B00635@lexacorp.com.pg> On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. > How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart From Jim.Hale at FleetPride.com Mon Oct 25 17:24:58 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 25 Oct 2004 17:24:58 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371B8@corp-es01.fleetpride.com> Thanks, I'll give it a go Jim Hale -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Monday, October 25, 2004 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange Citrix error when running Access with Excel Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 accessd at shaw.ca Mon Oct 25 19:39:04 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Mon, 25 Oct 2004 17:39:04 -0700 Subject: [AccessD] Export to CSV file problem In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A266@bocnte2k4.hou150.chevrontexaco.net> Message-ID: Hi Chester: The real date in the table is stored Microsoft date format: i.e. 351235.12343. Its' display format can be very different from the real date and sometimes Access assists by assigning it's own date format recommendation when certain function are being used. I have found it is sometimes better to create a field, format the field and then export the contents from/through a query rather than directly from a table. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Kaup, Chester A Sent: Monday, October 25, 2004 2:48 PM To: accessd at databaseadvisors.com Subject: [AccessD] Export to CSV file problem I have the following field in a query that makes a table. Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short Date") When I open up the table I see a short date When I export the table to a csv type file I get both the date and the time. How do I get only the date into the csv file? Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 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 accessd667 at yahoo.com Tue Oct 26 03:46:17 2004 From: accessd667 at yahoo.com (S D) Date: Tue, 26 Oct 2004 01:46:17 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile Message-ID: <20041026084617.97636.qmail@web61105.mail.yahoo.com> Hi group, I've got 2 questions. First question: I need to create a table using a UNION query. How can I do this? Second question: I need to create a TAB-delimited flatfile using the table created above. How do I do that? Tia!! VS PS I'm using A2K --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From stuart at lexacorp.com.pg Tue Oct 26 04:26:41 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 26 Oct 2004 19:26:41 +1000 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041026084617.97636.qmail@web61105.mail.yahoo.com> Message-ID: <417EA4F1.31933.A0E9003@lexacorp.com.pg> On 26 Oct 2004 at 1:46, S D wrote: > Hi group, > > I've got 2 questions. > First question: > I need to create a table using a UNION query. How can I do this? > Something like: SELECT INTO newtable FROM (Select * from table1 UNION Select * from table2); > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? > I prefer to build my own text files using VBA. In DAO, something like: Function BuildCSV() as Long Dim rs as DAO.Recordset Set rs = CurrentDb.OpenRecordset("NewTable") Open "myFile.CSV" for Output As #1 While not rs.eof Print #1, rs(0) & chr$(9) & rs(1) & chr$(9) & rs(2)..... rs.MoveNext Wend rs.Close Close #1 End Function You can mess around with the "Print #" line to format your output exactly the way you want it. -- Stuart From gustav at cactus.dk Tue Oct 26 04:40:56 2004 From: gustav at cactus.dk (Gustav Brock) Date: Tue, 26 Oct 2004 11:40:56 +0200 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041026084617.97636.qmail@web61105.mail.yahoo.com> References: <20041026084617.97636.qmail@web61105.mail.yahoo.com> Message-ID: <1210331495.20041026114056@cactus.dk> Hi S > First question: > I need to create a table using a UNION query. How can I do this? Create a union query, then use that as source for the append/create query. > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? Create a query something like this: SELECT Field1, Field2 INTO [Text;Database=C:\Windows\Temp].[YourFile.txt] FROM YourTable; Before running this, create (or modify) the file schema.ini in the destination folder: [YourFile.txt] ColNameHeader=False CharacterSet=ANSI Format=TabDelimited Col1=Field1 Char Width 50 Col2=Field2 Char Width 50 The output file (YourFile.txt) must not exist before you run the query. As you can see, you may not need the temp table at all; use the union query as source when creating the text file. For more into on schema.ini file syntax, look here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp /gustav From Jdemarco at hudsonhealthplan.org Tue Oct 26 07:01:50 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 26 Oct 2004 08:01:50 -0400 Subject: [AccessD] Itterate a collection Message-ID: <08F823FD83787D4BA0B99CA580AD3C7448695C@TTNEXCHCL2.hshhp.com> Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From kaupca at chevrontexaco.com Tue Oct 26 07:19:37 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 07:19:37 -0500 Subject: [AccessD] Export to CSV file problem Message-ID: <1375769556091B4DAABC159F944CA1BB07A267@bocnte2k4.hou150.chevrontexaco.net> The field in the table is text. I tried date/time and both the date and the time displayed in the table. The export is dome by the transfertext method. The reason I used the word date is because the csv file generated is loaded into another program where the field names need to match and the field name in that program is date. I solved the problem by making the date field nine characters. Maybe not the best way but it chops of the time part of date/time and shows only the date in the csv file. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 25, 2004 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export to CSV file problem On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Tue Oct 26 09:04:14 2004 From: pharold at proftesting.com (Perry Harold) Date: Tue, 26 Oct 2004 10:04:14 -0400 Subject: [AccessD] Export to CSV file problem In-Reply-To: <1375769556091B4DAABC159F944CA1BB07A267@bocnte2k4.hou150.chevrontexaco.net> Message-ID: <005501c4bb64$ace18100$082da8c0@D58BT131> What happens when you have MM/DD/YYYY? That's 10 char. The catch is when it's M/M/YYYY because the time starts at position 10 and you pick up an extra digit. Any dates over 10/9, 11/9 and 12/9 loose the last char of the year when you use a size of 9. If you export with code then you could search the field for a space and pick up just the date portion of the field. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester A Sent: Tuesday, October 26, 2004 8:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Export to CSV file problem The field in the table is text. I tried date/time and both the date and the time displayed in the table. The export is dome by the transfertext method. The reason I used the word date is because the csv file generated is loaded into another program where the field names need to match and the field name in that program is date. I solved the problem by making the date field nine characters. Maybe not the best way but it chops of the time part of date/time and shows only the date in the csv file. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 25, 2004 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export to CSV file problem On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From actebs at actebs.com.au Tue Oct 26 09:07:36 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 27 Oct 2004 00:07:36 +1000 Subject: [AccessD] Last occurrence within a string Message-ID: <2025BB6F17FCB54791F23CD505583328041BCA@starfleet.unknown.local> Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad From CMackin at quiznos.com Tue Oct 26 09:10:31 2004 From: CMackin at quiznos.com (Mackin, Christopher) Date: Tue, 26 Oct 2004 08:10:31 -0600 Subject: [AccessD] Last occurrence within a string Message-ID: InstrRev("C:\MyDocs\Docs\Temps\Hello.doc", "\") will get it for you. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Tuesday, October 26, 2004 8:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tom.bolton at donnslaw.co.uk Tue Oct 26 09:16:56 2004 From: tom.bolton at donnslaw.co.uk (Tom Bolton) Date: Tue, 26 Oct 2004 15:16:56 +0100 Subject: [AccessD] Last occurrence within a string Message-ID: <61F915314798D311A2F800A0C9C83188064331FA@dibble.observatory.donnslaw.co.uk> Vlad InstrRev function - this counts the first occurrence of a string but 'backwards', i.e. starting at the end... HTH, Cheers Tom -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: 26 October 2004 15:08 To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -------------- next part -------------- The contents of this message and any attachments are the property of Donns Solicitors and are intended for the confidential use of the named recipient only. They may be legally privileged and should not be communicated to, or relied upon, by any other party without our written consent. If you are not the addressee, please notify us immediately so that we can make arrangements for its return. You should not show this e-mail to any person or take copies as you may be committing a criminal or civil offence for which you may be liable. The statement and opinions expressed in this e-mail message are those of the writer, and do not necessarily represent that of Donns Solicitors. Although any files attached to this e-mail will have been checked with virus protection software prior to transmission, you should carry out your own virus check before opening any attachment. Donns Solicitors does not accept any liability for any damage or loss which may be caused by software viruses... From actebs at actebs.com.au Tue Oct 26 09:27:42 2004 From: actebs at actebs.com.au (ACTEBS) Date: Wed, 27 Oct 2004 00:27:42 +1000 Subject: [AccessD] Last occurrence within a string Message-ID: <2025BB6F17FCB54791F23CD505583328088673@starfleet.unknown.local> Chris, You're a star!... Thanx muchly Vlad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mackin, Christopher Sent: Wednesday, 27 October 2004 12:11 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Last occurrence within a string InstrRev("C:\MyDocs\Docs\Temps\Hello.doc", "\") will get it for you. -Chris Mackin -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of ACTEBS Sent: Tuesday, October 26, 2004 8:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Oct 26 09:43:22 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 26 Oct 2004 09:43:22 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel *SOLVED" Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371BD@corp-es01.fleetpride.com> Gregg, Logging into the console worked! Many thanks! Jim Hale -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Monday, October 25, 2004 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange Citrix error when running Access with Excel Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim To: 'Accessd (E-mail) Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 *********************************************************************** 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 kaupca at chevrontexaco.com Tue Oct 26 09:48:52 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 09:48:52 -0500 Subject: [AccessD] Export to CSV file problem Message-ID: <1375769556091B4DAABC159F944CA1BB07A268@bocnte2k4.hou150.chevrontexaco.net> I am able to get away with it because day field is always 1. I agree that code would be the best way to do the export. With any luck this process will go away in a month or two so don't want to spend much time on it. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Perry Harold Sent: Tuesday, October 26, 2004 9:04 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Export to CSV file problem What happens when you have MM/DD/YYYY? That's 10 char. The catch is when it's M/M/YYYY because the time starts at position 10 and you pick up an extra digit. Any dates over 10/9, 11/9 and 12/9 loose the last char of the year when you use a size of 9. If you export with code then you could search the field for a space and pick up just the date portion of the field. Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester A Sent: Tuesday, October 26, 2004 8:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Export to CSV file problem The field in the table is text. I tried date/time and both the date and the time displayed in the table. The export is dome by the transfertext method. The reason I used the word date is because the csv file generated is loaded into another program where the field names need to match and the field name in that program is date. I solved the problem by making the date field nine characters. Maybe not the best way but it chops of the time part of date/time and shows only the date in the csv file. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 25, 2004 5:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Export to CSV file problem On 25 Oct 2004 at 16:47, Kaup, Chester A wrote: > I have the following field in a query that makes a table. > Date: Format((CDate(Forms![frm Select Date]!selected_date)),"Short > Date") > When I open up the table I see a short date > When I export the table to a csv type file I get both the date and the > time. How do I get only the date into the csv file? > Is the field in the table defined as String or Date/Time? (I just tried this in A2K and in my case it did end up as a String) How are you doing the Export? Incudentally, it is not good practice to use "Date" as a field name since it is a reserved word with a specific meaining in Access. It can bite you in all sorts of ways. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue Oct 26 09:58:11 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 Oct 2004 07:58:11 -0700 Subject: [AccessD] Last occurrence within a string Message-ID: InStrRev Charlotte Foust -----Original Message----- From: ACTEBS [mailto:actebs at actebs.com.au] Sent: Tuesday, October 26, 2004 7:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From william.thompson1 at att.net Tue Oct 26 10:00:50 2004 From: william.thompson1 at att.net (William Thompson) Date: Tue, 26 Oct 2004 08:00:50 -0700 Subject: [AccessD] why an .mdb won't connect the same way as secure pivot? In-Reply-To: Message-ID: <200410261500.i9QF0sL29437@databaseadvisors.com> Kind of a touchy problem. A user actually needs a flat file representation in an .mdb of data that underlies a pivot table. The .mdb might have to be a break from tradition and actually be secure at the file level. We have a pivot table that is sourced to a (row level) secure stored procedure in SQL Server. Funny thing is, the .mdb has trouble drawing data from the same stored procedure. It seems Excel has a leg up on secure connections, or stored procedure calls, or something. I presume ODBC since that is the driver in the pivot's connection string. The Pivot's connection string contains a 'call' to the stored procedure, and though it was a trusted connection - I'm not sure why - but there was also a user name in the string. (The user is no longer with the group by the way). My fear is that it was set up with a clear text password then had another call added in by the magic of Excel. Makes it difficult to set up an .mdb when it doesn't grab a connection that a pivot table is already grabbing. Trusted connections do not work. We can't change anything on the back-end. Any ideas? It seems to be looking like a situation where Excel is able to connect in a more secure way (and we may have to ditch the .mdb idea). It seemed at the time a logical thing, using Access to furnish a flat file that could be stored off securely. I've tried pass-through queries, ADO connections, to no avail. Any suggestions? Bill Thompson From cfoust at infostatsystems.com Tue Oct 26 10:01:51 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 Oct 2004 08:01:51 -0700 Subject: [AccessD] Itterate a collection Message-ID: The class Count method would *use* the Count method of the underlying collection. An empty collection should return a zero count. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 5:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From vchas at artronix-solutions.com Tue Oct 26 10:44:43 2004 From: vchas at artronix-solutions.com (Vincent Pusateri) Date: Tue, 26 Oct 2004 08:44:43 -0700 Subject: [AccessD] Last occurrence within a string In-Reply-To: <2025BB6F17FCB54791F23CD505583328041BCA@starfleet.unknown.local> Message-ID: Here you go Public Function GetEndString(vntString As Variant, strSymbol As String) As String Dim intStartPosition As Integer Dim intSymbolPosition As Integer ' Loop through the line, looking for the last occurrence ' of the symbol. Once the last symbol as been found, pass ' back the string to the right of it. intStartPosition = 1 Do intSymbolPosition = InStr(intStartPosition, vntString, strSymbol) If intSymbolPosition > 0 Then intStartPosition = intSymbolPosition + 1 End If Loop Until intSymbolPosition = 0 GetEndString = Trim$(Mid(vntString, intStartPosition)) End Function Vinnie Chas -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS Sent: Tuesday, October 26, 2004 7:08 AM To: Access Group (E-mail) Subject: [AccessD] Last occurrence within a string Guys, I am stuffing around with this and am sure I have done this before but for the life of me can't get it. I need to find the last occurrence of "\" within a file path string. For example if the path was C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc portion and to do that obviously I need to know what position the last backslash is. Any ideas? Vlad -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Tue Oct 26 11:24:11 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 26 Oct 2004 09:24:11 -0700 Subject: [AccessD] Memory Leak in DAO? References: <00d901c4bac3$309c3870$6501a8c0@tbig1> Message-ID: <417E7A2B.2090708@shaw.ca> Check your version of Jet, this was a problem corrected with Access97 SR-2 I think there were others http://support.microsoft.com/default.aspx?scid=kb;en-us;191743 Myke Myers wrote: >Does anyone see why the sub procedure below would result in an out of memory >condition when run about 100 times in a loop? > > > Public Sub ExecuteActionQuery(strQueryName As String) > > Dim db As Database > Dim qdf As QueryDef > > Set db = CurrentDb > Set qdf = db.QueryDefs(strQueryName) > qdf.Execute > > Set qdf = Nothing > Set db = Nothing > > Exit Sub > > > >TIA > >Myke > > > > -- Marty Connelly Victoria, B.C. Canada From Lambert.Heenan at AIG.com Tue Oct 26 12:31:50 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 26 Oct 2004 13:31:50 -0400 Subject: [AccessD] Last occurrence within a string Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471AAFD@xlivmbx21.aig.com> Or, starting at the right end of the string (as that's where we are expecting to see the data) Function InStrR(varText As Variant, strFind As String) As Integer Dim n As Integer, nStart As Integer n = Len(strFind) If IsNull(varText) Or n = 0 Then InStrR = 0 Exit Function End If nStart = Len(varText) - n While nStart > 0 n = InStr(nStart, varText, strFind) If n = 0 Then nStart = nStart - 1 Else InStrR = n Exit Function End If Wend InStrR = 0 End Function Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of Vincent Pusateri > Sent: Tuesday, October 26, 2004 11:45 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Last occurrence within a string > > Here you go > > Public Function GetEndString(vntString As Variant, strSymbol As String) As > String > > Dim intStartPosition As Integer > Dim intSymbolPosition As Integer > > ' Loop through the line, looking for the last occurrence > ' of the symbol. Once the last symbol as been found, pass > ' back the string to the right of it. > > intStartPosition = 1 > > Do > intSymbolPosition = InStr(intStartPosition, vntString, strSymbol) > If intSymbolPosition > 0 Then > intStartPosition = intSymbolPosition + 1 > End If > Loop Until intSymbolPosition = 0 > > GetEndString = Trim$(Mid(vntString, intStartPosition)) > > End Function > > Vinnie Chas > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > Sent: Tuesday, October 26, 2004 7:08 AM > To: Access Group (E-mail) > Subject: [AccessD] Last occurrence within a string > > Guys, > > I am stuffing around with this and am sure I have done this before but for > the life of me can't get it. I need to find the last occurrence of "\" > within a file path string. For example if the path was > C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return the Hello.doc > portion and to do that obviously I need to know what position the last > backslash is. > > Any ideas? > > Vlad > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Tue Oct 26 12:54:59 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 27 Oct 2004 06:54:59 +1300 Subject: [AccessD] Last occurrence within a string Message-ID: <70F3D727890C784291D8433E9C418F29088927@server.bondsoftware.co.nz> Another mousetrap - use InStrRev, as in (fragment) strPath = "C:\MyDocs\Docs\Temps\Hello.doc" retVal = Mid(strPath,InStrRev(strPath,"\")+1) You'd still have to do checks for inappropriate values in strPath Stephen Bond > -----Original Message----- > From: Heenan, Lambert [mailto:Lambert.Heenan at AIG.com] > Sent: Wednesday, 27 October 2004 6:32 a.m. > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Last occurrence within a string > > > Or, starting at the right end of the string (as that's where we are > expecting to see the data) > > Function InStrR(varText As Variant, strFind As String) As Integer > Dim n As Integer, nStart As Integer > n = Len(strFind) > If IsNull(varText) Or n = 0 Then > InStrR = 0 > Exit Function > End If > nStart = Len(varText) - n > While nStart > 0 > n = InStr(nStart, varText, strFind) > If n = 0 Then > nStart = nStart - 1 > Else > InStrR = n > Exit Function > End If > Wend > InStrR = 0 > End Function > > > Lambert > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of > Vincent Pusateri > > Sent: Tuesday, October 26, 2004 11:45 AM > > To: 'Access Developers discussion and problem solving' > > Subject: RE: [AccessD] Last occurrence within a string > > > > Here you go > > > > Public Function GetEndString(vntString As Variant, > strSymbol As String) As > > String > > > > Dim intStartPosition As Integer > > Dim intSymbolPosition As Integer > > > > ' Loop through the line, looking for the last occurrence > > ' of the symbol. Once the last symbol as been found, pass > > ' back the string to the right of it. > > > > intStartPosition = 1 > > > > Do > > intSymbolPosition = InStr(intStartPosition, > vntString, strSymbol) > > If intSymbolPosition > 0 Then > > intStartPosition = intSymbolPosition + 1 > > End If > > Loop Until intSymbolPosition = 0 > > > > GetEndString = Trim$(Mid(vntString, intStartPosition)) > > > > End Function > > > > Vinnie Chas > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of ACTEBS > > Sent: Tuesday, October 26, 2004 7:08 AM > > To: Access Group (E-mail) > > Subject: [AccessD] Last occurrence within a string > > > > Guys, > > > > I am stuffing around with this and am sure I have done this > before but for > > the life of me can't get it. I need to find the last > occurrence of "\" > > within a file path string. For example if the path was > > C:\MyDocs\Docs\Temps\Hello.doc I want to be able to return > the Hello.doc > > portion and to do that obviously I need to know what > position the last > > backslash is. > > > > Any ideas? > > > > Vlad > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 Oct 26 13:21:53 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 26 Oct 2004 13:21:53 -0500 Subject: [AccessD] Itterate a collection Message-ID: <123701F54509D9119A4F00D0B747349016D02C@main2.marlow.com> True, you can just return the collection. That is certainly an option, I'm just used to writing activeX .dll's, where I am going to use them in ASP. In that situation, I can't 'return' a collection, but I can return items in a collection. So it becomes a wrapper around the collection. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Tue Oct 26 14:02:04 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Tue, 26 Oct 2004 14:02:04 -0500 Subject: [AccessD] Re: Export to CSV file problem In-Reply-To: <200410261506.i9QF62L01657@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041026135115.013d7b18@pop3.highstream.net> This is really simple guys/gals: Parse the date out and rebuild it in a query, add a field: Date: cstr(datepart("m",YourDateField) & "/" & datepart("d",YourDateField) & "/" & datepart("yyyy",YourDateField)) Like someone else pointed out, you did not solve your problem, you only put a Band-Aid on it. Naming things in your database poorly because someone else did in theirs is just an excuse. As shown above, you can name a column in a query anything you want and yours still be named properly. Then you can use your transfertext on the query. And, since I used the cstr function, it really is a string. Robert At 10:06 AM 10/26/2004 -0500, you wrote: >Date: Tue, 26 Oct 2004 07:19:37 -0500 >From: "Kaup, Chester A" >Subject: RE: [AccessD] Export to CSV file problem >To: "Access Developers discussion and problem solving" > >Message-ID: > ><1375769556091B4DAABC159F944CA1BB07A267 at bocnte2k4.hou150.chevrontexaco.net> > >Content-Type: text/plain; charset=us-ascii > >The field in the table is text. I tried date/time and both the date and >the time displayed in the table. The export is dome by the transfertext >method. The reason I used the word date is because the csv file >generated is loaded into another program where the field names need to >match and the field name in that program is date. I solved the problem >by making the date field nine characters. Maybe not the best way but it >chops of the time part of date/time and shows only the date in the csv >file. > >Chester Kaup >Information Management Technician >IT-MidContinent/MidContinent Business Unit >CTN 8-687-7415 >Outside 432-687-7415 From greggs at msn.com Tue Oct 26 14:58:11 2004 From: greggs at msn.com (Gregg) Date: Tue, 26 Oct 2004 14:58:11 -0500 Subject: [AccessD] Strange Citrix error when running Access with Excel*SOLVED" References: <6A6AA9DF57E4F046BDA1E273BDDB67723371BD@corp-es01.fleetpride.com> Message-ID: Cool! ----- Original Message ----- From: Hale, Jim To: 'Access Developers discussion and problem solving' Sent: Tuesday, October 26, 2004 9:43 AM Subject: RE: [AccessD] Strange Citrix error when running Access with Excel*SOLVED" Gregg, Logging into the console worked! Many thanks! Jim Hale -----Original Message----- From: Gregg [mailto:greggs at msn.com] Sent: Monday, October 25, 2004 3:59 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Strange Citrix error when running Access with Excel Jim, We've had similar problems. Terminal Services uses the console to open office objects from code interactively. We got around it by always having the console logged in (not pretty just works). If you still have problems you might try adjusting your DCOMCNFG to allow interactive access and launch permissions. ----- Original Message ----- From: Hale, Jim> To: 'Accessd (E-mail)> Sent: Monday, October 25, 2004 9:44 AM Subject: [AccessD] Strange Citrix error when running Access with Excel I have a database that populates Excel budget spreadsheets from Access tables and also opens Excel spreadsheets and extracts data. I am using Office 2000 and DAO 3.6. The code runs flawlessly on my machine. On the Citrix server, however, the code to extract data from spreadsheets runs fine but the code to populate spreadsheets tells me that the interface does not support this operation. References are okay and permissions seem ok since I can save the spreadsheet (sans the data) through automation. Why automation works in one direction but not the other is beyond me. Any suggestions? TIA 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 .com/mailman/listinfo/accessd> Website: http://www.databaseadvisors.com> -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email.-- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Tue Oct 26 15:05:00 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 26 Oct 2004 13:05:00 -0700 Subject: [AccessD] Itterate a collection In-Reply-To: <123701F54509D9119A4F00D0B747349016D02C@main2.marlow.com> Message-ID: <000c01c4bb97$16157fa0$8500a8c0@murphyf3vdfepi> All, Having seem all the traffic on collections I decided to use one in a utility I am building. I get an error message of "Expected user defined type, not project." on the code line that instantiates the collection: "Private colListings As New collection". Any idea what is causing this? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 26, 2004 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection True, you can just return the collection. That is certainly an option, I'm just used to writing activeX .dll's, where I am going to use them in ASP. In that situation, I can't 'return' a collection, but I can return items in a collection. So it becomes a wrapper around the collection. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kaupca at chevrontexaco.com Tue Oct 26 15:29:07 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 15:29:07 -0500 Subject: [AccessD] Field not saving to table Message-ID: <1375769556091B4DAABC159F944CA1BB0B0492@bocnte2k4.hou150.chevrontexaco.net> I have a data entry form with three fields; record date, well number and volume. The record date field is automatically filled from a date on another form. Values in the other two fields are entered by the user. The form has a data source of a table. The well number and volume fields save fine to the table. The record date field does not save to the table. What am I doing wrong or need to do to get the record date to save to the table? Thanks. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From kaupca at chevrontexaco.com Tue Oct 26 15:47:35 2004 From: kaupca at chevrontexaco.com (Kaup, Chester A) Date: Tue, 26 Oct 2004 15:47:35 -0500 Subject: [AccessD] Field not saving to table Message-ID: <1375769556091B4DAABC159F944CA1BB07A271@bocnte2k4.hou150.chevrontexaco.net> Problem solved! Set data source to table Set default value to other form. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester A Sent: Tuesday, October 26, 2004 3:29 PM To: accessd at databaseadvisors.com Subject: [AccessD] Field not saving to table I have a data entry form with three fields; record date, well number and volume. The record date field is automatically filled from a date on another form. Values in the other two fields are entered by the user. The form has a data source of a table. The well number and volume fields save fine to the table. The record date field does not save to the table. What am I doing wrong or need to do to get the record date to save to the table? Thanks. Chester Kaup Information Management Technician IT-MidContinent/MidContinent Business Unit CTN 8-687-7415 Outside 432-687-7415 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 dw-murphy at cox.net Tue Oct 26 18:37:16 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Tue, 26 Oct 2004 16:37:16 -0700 Subject: [AccessD] Itterate a collection In-Reply-To: <000c01c4bb97$16157fa0$8500a8c0@murphyf3vdfepi> Message-ID: <000001c4bbb4$bd633780$8500a8c0@murphyf3vdfepi> Never mind, something was hosed in the db, I created a new one and it works fine now. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Tuesday, October 26, 2004 1:05 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Itterate a collection All, Having seem all the traffic on collections I decided to use one in a utility I am building. I get an error message of "Expected user defined type, not project." on the code line that instantiates the collection: "Private colListings As New collection". Any idea what is causing this? Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 26, 2004 11:22 AM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection True, you can just return the collection. That is certainly an option, I'm just used to writing activeX .dll's, where I am going to use them in ASP. In that situation, I can't 'return' a collection, but I can return items in a collection. So it becomes a wrapper around the collection. Drew -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 7:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd667 at yahoo.com Wed Oct 27 01:43:18 2004 From: accessd667 at yahoo.com (S D) Date: Tue, 26 Oct 2004 23:43:18 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <1210331495.20041026114056@cactus.dk> Message-ID: <20041027064318.87527.qmail@web61103.mail.yahoo.com> Hi Gustav, thnx for you're reply. I found out that the app I'm modifying is using the following command to export to textfiles and I do not want to introduce a new way of exporting for 1 extra export: DoCmd.TransferText [transfertype][, specificationname], tablename, filename[, hasfieldnames][, HTMLtablename][, codepage] Now I have 2 problems. Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). However when I use this command: DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" I get the following error: 3441 Text file specification field separator matches decimal separator or text delimiter I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) Problem 2: I do not know how to create a specification file. Any idea how to create such a file? TIA Sander Helpfile info regarding specification field : For a fixed-width text file, you must either specify an argument or use a schema.ini file, which must be stored in the same folder as the imported, linked, or exported text file. To create a schema file, you can use the text import/export wizard to create the file. For delimited text files and Microsoft Word mail merge data files, you can leave this argument blank to select the default import/export specifications. Gustav Brock wrote: Hi S > First question: > I need to create a table using a UNION query. How can I do this? Create a union query, then use that as source for the append/create query. > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? Create a query something like this: SELECT Field1, Field2 INTO [Text;Database=C:\Windows\Temp].[YourFile.txt] FROM YourTable; Before running this, create (or modify) the file schema.ini in the destination folder: [YourFile.txt] ColNameHeader=False CharacterSet=ANSI Format=TabDelimited Col1=Field1 Char Width 50 Col2=Field2 Char Width 50 The output file (YourFile.txt) must not exist before you run the query. As you can see, you may not need the temp table at all; use the union query as source when creating the text file. For more into on schema.ini file syntax, look here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. From accessd667 at yahoo.com Wed Oct 27 01:57:55 2004 From: accessd667 at yahoo.com (S D) Date: Tue, 26 Oct 2004 23:57:55 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; *SOLVED* In-Reply-To: <20041027064318.87527.qmail@web61103.mail.yahoo.com> Message-ID: <20041027065755.64969.qmail@web61107.mail.yahoo.com> Yes, a bright moment in time! Found out how to create a export spec and it works as a charm!! It's done like this: 1)Right click the table 2)select export 3)Advanced....e voila, you're in the Export Specification 'wizard'. 4)DoCmd.TransferText acExportDelim, "SapExportFile_Export_Specification", "tSapExport", "c:\SapExportFile.txt" Succes. SD S D wrote: Hi Gustav, thnx for you're reply. I found out that the app I'm modifying is using the following command to export to textfiles and I do not want to introduce a new way of exporting for 1 extra export: DoCmd.TransferText [transfertype][, specificationname], tablename, filename[, hasfieldnames][, HTMLtablename][, codepage] Now I have 2 problems. Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). However when I use this command: DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" I get the following error: 3441 Text file specification field separator matches decimal separator or text delimiter I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) Problem 2: I do not know how to create a specification file. Any idea how to create such a file? TIA Sander Helpfile info regarding specification field : For a fixed-width text file, you must either specify an argument or use a schema.ini file, which must be stored in the same folder as the imported, linked, or exported text file. To create a schema file, you can use the text import/export wizard to create the file. For delimited text files and Microsoft Word mail merge data files, you can leave this argument blank to select the default import/export specifications. Gustav Brock wrote: Hi S > First question: > I need to create a table using a UNION query. How can I do this? Create a union query, then use that as source for the append/create query. > Second question: > I need to create a TAB-delimited flatfile using the table created above. How do I do that? Create a query something like this: SELECT Field1, Field2 INTO [Text;Database=C:\Windows\Temp].[YourFile.txt] FROM YourTable; Before running this, create (or modify) the file schema.ini in the destination folder: [YourFile.txt] ColNameHeader=False CharacterSet=ANSI Format=TabDelimited Col1=Field1 Char Width 50 Col2=Field2 Char Width 50 The output file (YourFile.txt) must not exist before you run the query. As you can see, you may not need the temp table at all; use the union query as source when creating the text file. For more into on schema.ini file syntax, look here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. From stuart at lexacorp.com.pg Wed Oct 27 01:57:16 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 Oct 2004 16:57:16 +1000 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041027064318.87527.qmail@web61103.mail.yahoo.com> References: <1210331495.20041026114056@cactus.dk> Message-ID: <417FD36C.29203.EAC1FCF@lexacorp.com.pg> On 26 Oct 2004 at 23:43, S D wrote: > Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). > However when I use this command: > DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" > I get the following error: > 3441 Text file specification field separator matches decimal separator or text delimiter > > I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) > > Problem 2: I do not know how to create a specification file. > Any idea how to create such a file? > The answer to problem 2 will slove Problem 1. Open the Table and use the File-Export to create a text file. In any step of the Export Wizard, click the Advanced button and define the export specification then Save it. Once you have saved it, you can specify the save name in the Docmd arguments. -- Stuart From gustav at cactus.dk Wed Oct 27 03:45:11 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 10:45:11 +0200 Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <20041027064318.87527.qmail@web61103.mail.yahoo.com> References: <20041027064318.87527.qmail@web61103.mail.yahoo.com> Message-ID: <976242876.20041027104511@cactus.dk> Hi Sander > Found out how to create a export spec and it works as a charm!! Great. And Stuart did answer too, thanks. Schema.ini is nothing but a simple textfile in ini-format. The link to MS goes into every detail of that file. /gustav > Problem 2: I do not know how to create a specification file. > Any idea how to create such a file? > For more into on schema.ini file syntax, look here: > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odbc/htm/odbcjetschema_ini_file.asp From viner at EUnet.yu Wed Oct 27 05:17:49 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 27 Oct 2004 12:17:49 +0200 Subject: [AccessD] OT: Math for 4 years old kid Message-ID: <000a01c4bc0e$3cb9f380$0100a8c0@razvoj> Hi, sorry for the OT post, but I can't find any suitable(printable) stuff on the Net to improve the math skills of my 4 years old boy. Anybody can recommend some good address? Many TIA, Ervin From Chris.Foote at uk.thalesgroup.com Wed Oct 27 05:28:11 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 27 Oct 2004 11:28:11 +0100 Subject: [AccessD] OT: Math for 4 years old kid Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk> Lots of links here Ervin! http://www.education.bham.ac.uk/subjects/maths/links/default.htm Chris Foote > -----Original Message----- > From: Ervin Brindza [mailto:viner at EUnet.yu] > Sent: Wednesday, October 27, 2004 11:18 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Math for 4 years old kid > > > Hi, > sorry for the OT post, but I can't find any > suitable(printable) stuff on the Net to improve the math > skills of my 4 years old boy. Anybody can recommend some good address? > Many TIA, > Ervin From pedro at plex.nl Wed Oct 27 12:33:28 2004 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 27 Oct 2004 12:33:28 (MET DST) Subject: [AccessD] compare record fields Message-ID: <200410271033.i9RAXSKg017747@mailhostC.plex.net> Hello Group, i have a table in which i would compare two fields in one record with each other. The result must be the record where one of the values don't match with one another. fieldA fieldB and several other fields 00123 00123 02345 02345 06789 06689 result fieldA fieldB and several other fields 06789 06689 Is this possible. Thanks Pedro Janssen From pedro at plex.nl Wed Oct 27 12:38:19 2004 From: pedro at plex.nl (pedro at plex.nl) Date: Wed, 27 Oct 2004 12:38:19 (MET DST) Subject: [AccessD] barcode and in stock managment Message-ID: <200410271038.i9RAcJ9k017883@mailhostC.plex.net> Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen From gustav at cactus.dk Wed Oct 27 05:59:27 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 12:59:27 +0200 Subject: [AccessD] compare record fields In-Reply-To: <200410271033.i9RAXSKg017747@mailhostC.plex.net> References: <200410271033.i9RAXSKg017747@mailhostC.plex.net> Message-ID: <13914298179.20041027125927@cactus.dk> Hi Pedro > i have a table in which i would compare two fields in one record with each other. > The result must be the record where one of the values don't match with one another. > fieldA fieldB and several other fields > 00123 00123 > 02345 02345 > 06789 06689 > result > fieldA fieldB and several other fields > 06789 06689 That could be: SELECT * FROM tblTable WHERE FieldA<>FieldB; /gustav From accessd667 at yahoo.com Wed Oct 27 06:37:18 2004 From: accessd667 at yahoo.com (S D) Date: Wed, 27 Oct 2004 04:37:18 -0700 (PDT) Subject: [AccessD] 2 qstions: Create table using UNION; Export to flatfile In-Reply-To: <417FD36C.29203.EAC1FCF@lexacorp.com.pg> Message-ID: <20041027113718.95924.qmail@web61105.mail.yahoo.com> Gustav AND STUART Thnx :-) quote gustav [Great. And Stuart did answer too, thanks.] unquote gustav Stuart McLachlan wrote: On 26 Oct 2004 at 23:43, S D wrote: > Problem 1: The help file says that when you use a delimited export you do not need a specificationname (see below). > However when I use this command: > DoCmd.TransferText acExportDelim, , "tSapExport", "c:\sapexport.txt" > I get the following error: > 3441 Text file specification field separator matches decimal separator or text delimiter > > I have no idea what to do with this error. (tried M$, msdn, and even google ;-)) > > Problem 2: I do not know how to create a specification file. > Any idea how to create such a file? > The answer to problem 2 will slove Problem 1. Open the Table and use the File-Export to create a text file. In any step of the Export Wizard, click the Advanced button and define the export specification then Save it. Once you have saved it, you can specify the save name in the Docmd arguments. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From viner at EUnet.yu Wed Oct 27 06:17:06 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 27 Oct 2004 13:17:06 +0200 Subject: [AccessD] OT: Math for 4 years old kid References: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk> Message-ID: <003f01c4bc1a$1c8709c0$0100a8c0@razvoj> Chris, many thanks for the URL. My son is clever, but he is a 4 years old, and it's a little bit early for his Univesity study ;-) Ervin ----- Original Message ----- From: "Foote, Chris" To: "'Access Developers discussion and problem solving'" Sent: 27 October, 2004 12:28 PM Subject: RE: [AccessD] OT: Math for 4 years old kid > Lots of links here Ervin! > > http://www.education.bham.ac.uk/subjects/maths/links/default.htm > > Chris Foote > > > > -----Original Message----- > > From: Ervin Brindza [mailto:viner at EUnet.yu] > > Sent: Wednesday, October 27, 2004 11:18 AM > > To: AccessD at databaseadvisors.com > > Subject: [AccessD] OT: Math for 4 years old kid > > > > > > Hi, > > sorry for the OT post, but I can't find any > > suitable(printable) stuff on the Net to improve the math > > skills of my 4 years old boy. Anybody can recommend some good address? > > Many TIA, > > Ervin > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Wed Oct 27 07:04:04 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Wed, 27 Oct 2004 08:04:04 -0400 Subject: [AccessD] Allow users to change background colors Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> I have a very simple two form application that I have developed for my office. Naturally, some folks don't like the colors I chose for the background. I would like to give them a way of changing the colors without giving them access to design view. Any ideas. TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From paul.hartland at isharp.co.uk Wed Oct 27 07:14:00 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 27 Oct 2004 13:14:00 +0100 Subject: [AccessD] Import CSV file with Unix end of line characters Message-ID: <668C5C868606C641857281147C468936552235@primary.orridge.co.uk> To all, Could someone please tell me or send me some sample code on the best way to import a CSV file which has Unix end of line characters. Thanks in advance for any help on this PAUL HARTLAND Database Designer/Programmer paul.hartland at isharp.co.uk ISHARP DDI - 01922 472031 Mobile - 07730 523179 ISHARP (Information Services for Hospitality, Audit, Retail and Pharmacy) provide IT resources for the Christie Group Stock & Inventory Services companies. From michael.mattys at adelphia.net Wed Oct 27 07:16:47 2004 From: michael.mattys at adelphia.net (Michael R Mattys) Date: Wed, 27 Oct 2004 08:16:47 -0400 Subject: [AccessD] OT: Math for 4 years old kid References: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk> <003f01c4bc1a$1c8709c0$0100a8c0@razvoj> Message-ID: <03cb01c4bc1e$d5aa8720$6401a8c0@default> Our kids have used this place since 1st grade http://www.superkids.com/aweb/tools/ ---- Michael R. Mattys Mattys MapLib for Microsoft MapPoint http://www.mattysconsulting.com > > > -----Original Message----- > > > From: Ervin Brindza [mailto:viner at EUnet.yu] > > > Sent: Wednesday, October 27, 2004 11:18 AM > > > To: AccessD at databaseadvisors.com > > > Subject: [AccessD] OT: Math for 4 years old kid > > > > > > > > > Hi, > > > sorry for the OT post, but I can't find any > > > suitable(printable) stuff on the Net to improve the math > > > skills of my 4 years old boy. Anybody can recommend some good address? > > > Many TIA, > > > Ervin From R.Griffiths at bury.gov.uk Wed Oct 27 07:20:14 2004 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Wed, 27 Oct 2004 13:20:14 +0100 Subject: [AccessD] Allow users to change background colors Message-ID: Hi You could store the settings in a table or ini file and read in, in the openevent - but for such a small app you may be on a slippy slope as changing the background colour now may be the first of many requests!! Richard -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: 27 October 2004 13:04 To: 'AccessD at databaseadvisors.com' Subject: [AccessD] Allow users to change background colors I have a very simple two form application that I have developed for my office. Naturally, some folks don't like the colors I chose for the background. I would like to give them a way of changing the colors without giving them access to design view. Any ideas. TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 27 07:20:08 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 14:20:08 +0200 Subject: [AccessD] Allow users to change background colors In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> References: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> Message-ID: <18219139080.20041027142008@cactus.dk> Hi Susan That kind of requests are best fulfilled by asking the users to agree on a colourset ... they can't. Or turn into gray scale - no one can complain on that. /gustav > I have a very simple two form application that I have developed for my > office. Naturally, some folks don't like the colors I chose for the > background. I would like to give them a way of changing the colors without > giving them access to design view. Any ideas. TIA. From viner at EUnet.yu Wed Oct 27 07:35:02 2004 From: viner at EUnet.yu (Ervin Brindza) Date: Wed, 27 Oct 2004 14:35:02 +0200 Subject: [AccessD] OT: Math for 4 years old kid References: <97CF276BD8C6D4119C4B00508BB18DE709E0C408@ntscxch1.int.rdel.co.uk><003f01c4bc1a$1c8709c0$0100a8c0@razvoj> <03cb01c4bc1e$d5aa8720$6401a8c0@default> Message-ID: <002601c4bc21$ed8d0040$0100a8c0@razvoj> Wow, looks great! Many thanks, Ervin ----- Original Message ----- From: "Michael R Mattys" To: "Access Developers discussion and problem solving" Sent: 27 October, 2004 2:16 PM Subject: Re: [AccessD] OT: Math for 4 years old kid > Our kids have used this place since 1st grade > > http://www.superkids.com/aweb/tools/ > > ---- > > Michael R. Mattys > Mattys MapLib for Microsoft MapPoint > http://www.mattysconsulting.com > > > > > -----Original Message----- > > > > From: Ervin Brindza [mailto:viner at EUnet.yu] > > > > Sent: Wednesday, October 27, 2004 11:18 AM > > > > To: AccessD at databaseadvisors.com > > > > Subject: [AccessD] OT: Math for 4 years old kid > > > > > > > > > > > > Hi, > > > > sorry for the OT post, but I can't find any > > > > suitable(printable) stuff on the Net to improve the math > > > > skills of my 4 years old boy. Anybody can recommend some good address? > > > > Many TIA, > > > > Ervin > > -- > _______________________________________________ > 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 Oct 27 07:43:05 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 Oct 2004 22:43:05 +1000 Subject: [AccessD] Allow users to change background colors In-Reply-To: <01B619CB8F6C8C478EDAC39191AEC51EE73922@doesefpeml02.eus.fldoe.int> Message-ID: <41802479.15558.FE8B2A8@lexacorp.com.pg> On 27 Oct 2004 at 8:04, Klos, Susan wrote: > I have a very simple two form application that I have developed for my > office. Naturally, some folks don't like the colors I chose for the > background. I would like to give them a way of changing the colors without > giving them access to design view. Any ideas. TIA. > In brief: Store the desired colour somewhere such as a system table, set it on_load and provide a button to call the ChooseColor common dialog, update the current background and store the new colour: In detail: 1. Table: TSysFile Field: BColor - Long 2. Create a button on the form called cmdColorChange and set the button's on_click to [Event procedure] 3. Paste the following into the form's module. Option Compare Database Option Explicit Private Type CHOOSECOLOR lStructSize As Long hwndOwner As Long hInstance As Long rgbResult As Long lpCustColors As String flags As Long lCustData As Long lpfnHook As Long lpTemplateName As String End Type Private Declare Function ChooseColorAPI Lib "comdlg32.dll" Alias _ "ChooseColorA" (pChoosecolor As CHOOSECOLOR) As Long Dim CustomColors() As Byte Private Sub Form_Load() ReDim CustomColors(0 To 16 * 4 - 1) As Byte Dim i As Integer For i = LBound(CustomColors) To UBound(CustomColors) CustomColors(i) = 0 Next i Detail.BackColor = DLookup("bcolor", "tsysfile") End Sub Private Sub CmdColorChange_Click() Dim cc As CHOOSECOLOR Dim Custcolor(16) As Long Dim lReturn As Long cc.lStructSize = Len(cc) cc.hwndOwner = Me.Hwnd cc.hInstance = 0 cc.lpCustColors = StrConv(CustomColors, vbUnicode) cc.flags = 0 lReturn = ChooseColorAPI(cc) If lReturn <> 0 Then Detail.BackColor = cc.rgbResult ' Access only ********** CurrentDb.Execute "Update tSysFile set BColor = " & cc.rgbResult CustomColors = StrConv(cc.lpCustColors, vbFromUnicode) End If End Sub -- Stuart From stuart at lexacorp.com.pg Wed Oct 27 07:49:25 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 Oct 2004 22:49:25 +1000 Subject: [AccessD] Import CSV file with Unix end of line characters In-Reply-To: <668C5C868606C641857281147C468936552235@primary.orridge.co.uk> Message-ID: <418025F5.30030.FEE7E8B@lexacorp.com.pg> On 27 Oct 2004 at 13:14, Paul Hartland (ISHARP) wrote: > To all, > > Could someone please tell me or send me some sample code on the best way to > import a CSV file which has Unix end of line characters. > Here's the PowerBasic code for a simple converter I use for this. You could probably do the same thing in VBA with a few minor mods. I can let you have the compiled executable if you want it. FUNCTION PBMAIN() AS LONG DIM infile AS STRING DIM outfile AS STRING DIM temp AS STRING infile = COMMAND$ IF DIR$(infile) = "" THEN MSGBOX infile & " not found" EXIT FUNCTION END IF OPEN infile$ FOR BINARY AS #1 GET$ #1, LOF(1), temp IF INSTR(temp,CHR$(13,10)) > 0 THEN MSGBOX "This file is already DOS formatted!" ELSE REPLACE CHR$(10) WITH CHR$(13,10) IN temp outfile = LEFT$(infile,LEN(infile)-4) & "-DOS.CSV" OPEN outfile$ FOR BINARY AS #2 PUT$ #2, temp MSGBOX Infile & " converted to " & outfile CLOSE #2 END IF CLOSE #1 END FUNCTION 0 -- Stuart From accessd667 at yahoo.com Wed Oct 27 08:03:38 2004 From: accessd667 at yahoo.com (S D) Date: Wed, 27 Oct 2004 06:03:38 -0700 (PDT) Subject: [AccessD] Animation e.g. gif? Message-ID: <20041027130338.31864.qmail@web61110.mail.yahoo.com> Hi group, is it possible to add an animation to my Acces form with STANDARD Access 2000 controls? And I mean STANDARD! No, dll's or anything like it. Tia. Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From paul.hartland at isharp.co.uk Wed Oct 27 08:27:22 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Wed, 27 Oct 2004 14:27:22 +0100 Subject: [AccessD] Import CSV file with Unix end of line characters In-Reply-To: <668C5C868606C641857281147C46893654FF03@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C468936552236@primary.orridge.co.uk> Thanks, I will have a go at converting it to VBA first Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 27 October 2004 13:49 To: Access Developers discussion and problemsolving Subject: Re: [AccessD] Import CSV file with Unix end of line characters On 27 Oct 2004 at 13:14, Paul Hartland (ISHARP) wrote: > To all, > > Could someone please tell me or send me some sample code on the best > way to import a CSV file which has Unix end of line characters. > Here's the PowerBasic code for a simple converter I use for this. You could probably do the same thing in VBA with a few minor mods. I can let you have the compiled executable if you want it. FUNCTION PBMAIN() AS LONG DIM infile AS STRING DIM outfile AS STRING DIM temp AS STRING infile = COMMAND$ IF DIR$(infile) = "" THEN MSGBOX infile & " not found" EXIT FUNCTION END IF OPEN infile$ FOR BINARY AS #1 GET$ #1, LOF(1), temp IF INSTR(temp,CHR$(13,10)) > 0 THEN MSGBOX "This file is already DOS formatted!" ELSE REPLACE CHR$(10) WITH CHR$(13,10) IN temp outfile = LEFT$(infile,LEN(infile)-4) & "-DOS.CSV" OPEN outfile$ FOR BINARY AS #2 PUT$ #2, temp MSGBOX Infile & " converted to " & outfile CLOSE #2 END IF CLOSE #1 END FUNCTION 0 -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Wed Oct 27 08:22:25 2004 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Wed, 27 Oct 2004 09:22:25 -0400 Subject: [AccessD] Itterate a collection Message-ID: <08F823FD83787D4BA0B99CA580AD3C7448696E@TTNEXCHCL2.hshhp.com> Right but in this case if the TableNames method has not been called the collection will not be instantiated and an error will have to be handled. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Tuesday, October 26, 2004 11:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection The class Count method would *use* the Count method of the underlying collection. An empty collection should return a zero count. Charlotte Foust -----Original Message----- From: Jim DeMarco [mailto:Jdemarco at hudsonhealthplan.org] Sent: Tuesday, October 26, 2004 5:02 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] Itterate a collection Drew, You're making the assumption that the collection has already been populated when you add a Count method to the class. In the attached code it's being filled when TableNames is called so a call to a count method could be inaccurate (although a return of 0 or an error would tell you the collection hadn't been filled). Also, why bother writing this method when the returned collection already has a built in count that can be called from any variable assigned to the class method? Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 25, 2004 6:17 PM To: accessd at databaseadvisors.com Subject: RE: [AccessD] Itterate a collection What I prefer to do is create a count and Info property for the class: So if I have a SomeObject class, and I have a SomeObjects Class, I would have something like this: Dim SomeObjs as Collection Property get SomeObjectCount() As Long SomeObjectCount=SomeObjs.Count End Get Property Get SomeObjectInfo(intPos) As SomeObject Set SomeObjectInfo=SomeObjs(val(intPos)) End Property Lets you loop through the collection then. Drew -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Friday, October 22, 2004 1:17 AM To: accessd at databaseadvisors.com Subject: [AccessD] Itterate a collection Hi group, I've got a class that returns a collection....how the $#$ call I iterate that collection? TIA SD Here's the code I use in my form: Private Sub cmdRetrieveTablenames_Click() Dim cDO As cDatabaseObjects Dim oColl As Collection Set cDO = New cDatabaseObjects Set oColl = New Collection cDO.TableNames End Sub Here's the code in the class cDatabaseObjects: Public Function TableNames() As Collection On Error GoTo errHandler Dim oCatalog As New ADOX.Catalog Dim oTableNames As New Collection Dim oTables As ADOX.Tables Dim oTable As ADOX.Table Dim oConnection As New ADODB.Connection Set oCatalog.ActiveConnection = CurrentProject.Connection Set oTables = oCatalog.Tables For Each oTable In oTables oTableNames.Add oTable.Name Next Set TableNames = oTableNames errHandler: On Error Resume Next If oConnection.State <> 0 Then oConnection.Close Set oConnection = Nothing Set oCatalog = Nothing Set oTable = Nothing Set oTables = Nothing End Function --------------------------------- Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ssharkins at bellsouth.net Wed Oct 27 08:41:33 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 27 Oct 2004 09:41:33 -0400 Subject: [AccessD] compare record fields In-Reply-To: <200410271033.i9RAXSKg017747@mailhostC.plex.net> Message-ID: <20041027134134.LPLW8988.imf16aec.mail.bellsouth.net@SUSANONE> There's a wizard for that. Try the Duplicates wizard. Susan H. Hello Group, i have a table in which i would compare two fields in one record with each other. The result must be the record where one of the values don't match with one another. fieldA fieldB and several other fields 00123 00123 02345 02345 06789 06689 result fieldA fieldB and several other fields 06789 06689 Is this possible. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Wed Oct 27 08:41:33 2004 From: ssharkins at bellsouth.net (Susan Harkins) Date: Wed, 27 Oct 2004 09:41:33 -0400 Subject: [AccessD] OT: Math for 4 years old kid In-Reply-To: <000a01c4bc0e$3cb9f380$0100a8c0@razvoj> Message-ID: <20041027134142.LPOU8988.imf16aec.mail.bellsouth.net@SUSANONE> Try Reader Rabbit CD's. I don't know if they have any math games aimed at that age, but I know they have preschool games. Lexie loved Reader Rabbit for the longest time. Susan H. Hi, sorry for the OT post, but I can't find any suitable(printable) stuff on the Net to improve the math skills of my 4 years old boy. Anybody can recommend some good address? Many TIA, From JHewson at karta.com Wed Oct 27 08:43:52 2004 From: JHewson at karta.com (Jim Hewson) Date: Wed, 27 Oct 2004 08:43:52 -0500 Subject: [AccessD] barcode and in stock managment Message-ID: <9C382E065F54AE48BC3AA7925DCBB01C02068C51@karta-exc-int.Karta.com> A couple of years ago, we wanted to use barcodes for specimens used in evaluating inspectors. After much research on the code to generate the barcode, we purchased a barcode reader. After we purchased the barcode reader, we realized how simple it was. The barcode reader came with the code to generate the barcode and instructions on how to scan the items. In hindsight, we should have bought the barcode reader first, then if needed, do the research to generate the barcode. My recommendation is to decide which barcode reader you want to use first. The information that comes with the barcode reader might just have all the information you need. In Access the easiest barcode to use is called Code 39, which is easily downloaded as a font. As a font, it can be used for any alphanumeric character and can be printed on labels, forms, etc. The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl Sent: Wednesday, October 27, 2004 7:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] barcode and in stock managment Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chris.Foote at uk.thalesgroup.com Wed Oct 27 08:49:50 2004 From: Chris.Foote at uk.thalesgroup.com (Foote, Chris) Date: Wed, 27 Oct 2004 14:49:50 +0100 Subject: [AccessD] OT: Math for 4 years old kid Message-ID: <97CF276BD8C6D4119C4B00508BB18DE709E0C40C@ntscxch1.int.rdel.co.uk> LOL! Sorry Ervin, I thought there were links towards the bottom of the page to items suitable for 4 year olds. Darned if I can find them now. I would have thought though that, the four year old child of an AccessDer should be capable of handling maths designed for an "ordinary" 8-year old ;-O Regards Chris Foote > -----Original Message----- > From: Ervin Brindza [mailto:viner at EUnet.yu] > Sent: Wednesday, October 27, 2004 12:17 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Math for 4 years old kid > > > Chris, > many thanks for the URL. My son is clever, but he is a 4 > years old, and it's > a little bit early for his Univesity study ;-) > Ervin > ----- Original Message ----- > From: "Foote, Chris" > To: "'Access Developers discussion and problem solving'" > > Sent: 27 October, 2004 12:28 PM > Subject: RE: [AccessD] OT: Math for 4 years old kid > > > > Lots of links here Ervin! > > > > http://www.education.bham.ac.uk/subjects/maths/links/default.htm > > > > Chris Foote From JColby at dispec.com Wed Oct 27 09:06:42 2004 From: JColby at dispec.com (Colby, John) Date: Wed, 27 Oct 2004 10:06:42 -0400 Subject: [AccessD] barcode and in stock managment Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF93E@DISABILITYINS01> >The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. You might want to go with a serial port reader (or usb port these days?). The alternative as a "keyboard wedge" type (sits between the keyboard and PC, inserting the data right into the keyboard stream). These cause problems. The reason is that with the serial port readers you have control over where and when you read the bar code. I have used both and, users being users, when you use the "keyboard wedge", you ALWAYS end up with garbage in word documents, excel documents, the wrong form etc. Basically the user forgets to go to the right place before scanning and they corrupt whatever data they the insertion pointer (cursor / focus) is currently on. The serial port type is more difficult to get set up since you have to use a serial port control (comes with vba), but once set up you can turn on / off the reader (or more correctly the serial port) programmatically, thus controlling when the user can scan data. John W. Colby The DIS Database Guy -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, October 27, 2004 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] barcode and in stock managment A couple of years ago, we wanted to use barcodes for specimens used in evaluating inspectors. After much research on the code to generate the barcode, we purchased a barcode reader. After we purchased the barcode reader, we realized how simple it was. The barcode reader came with the code to generate the barcode and instructions on how to scan the items. In hindsight, we should have bought the barcode reader first, then if needed, do the research to generate the barcode. My recommendation is to decide which barcode reader you want to use first. The information that comes with the barcode reader might just have all the information you need. In Access the easiest barcode to use is called Code 39, which is easily downloaded as a font. As a font, it can be used for any alphanumeric character and can be printed on labels, forms, etc. The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl Sent: Wednesday, October 27, 2004 7:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] barcode and in stock managment Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Oct 27 09:28:19 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 27 Oct 2004 16:28:19 +0200 Subject: [AccessD] barcode and in stock managment Message-ID: <46B976F2B698FF46A4FE7636509B22DF7370@stekelbes.ithelps.local> The in-between-keyboard barcodescanner only works with PS2 type of keyboards. Some brand are migrating to USB connector keyboards. The in-between-keyboard barcodescanner does not work when no PS2 keyboard is connected. Erwin -----Oorspronkelijk bericht----- Van: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] Namens Colby, John Verzonden: woensdag 27 oktober 2004 16:07 Aan: 'Access Developers discussion and problem solving' Onderwerp: RE: [AccessD] barcode and in stock managment >The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. You might want to go with a serial port reader (or usb port these days?). The alternative as a "keyboard wedge" type (sits between the keyboard and PC, inserting the data right into the keyboard stream). These cause problems. The reason is that with the serial port readers you have control over where and when you read the bar code. I have used both and, users being users, when you use the "keyboard wedge", you ALWAYS end up with garbage in word documents, excel documents, the wrong form etc. Basically the user forgets to go to the right place before scanning and they corrupt whatever data they the insertion pointer (cursor / focus) is currently on. The serial port type is more difficult to get set up since you have to use a serial port control (comes with vba), but once set up you can turn on / off the reader (or more correctly the serial port) programmatically, thus controlling when the user can scan data. John W. Colby The DIS Database Guy -----Original Message----- From: Jim Hewson [mailto:JHewson at karta.com] Sent: Wednesday, October 27, 2004 9:44 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] barcode and in stock managment A couple of years ago, we wanted to use barcodes for specimens used in evaluating inspectors. After much research on the code to generate the barcode, we purchased a barcode reader. After we purchased the barcode reader, we realized how simple it was. The barcode reader came with the code to generate the barcode and instructions on how to scan the items. In hindsight, we should have bought the barcode reader first, then if needed, do the research to generate the barcode. My recommendation is to decide which barcode reader you want to use first. The information that comes with the barcode reader might just have all the information you need. In Access the easiest barcode to use is called Code 39, which is easily downloaded as a font. As a font, it can be used for any alphanumeric character and can be printed on labels, forms, etc. The barcode reader we purchased acted like any input device. Whatever field the cursor is in, is where the data is placed. HTH Jim H. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl Sent: Wednesday, October 27, 2004 7:38 AM To: AccessD at databaseadvisors.com Subject: [AccessD] barcode and in stock managment Hello group, who can point me in the right direction on the development of a database where i use barcode with: In Stock managment. Thanks Pedro Janssen -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Oct 27 09:43:35 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Oct 2004 07:43:35 -0700 Subject: [AccessD] Access with a MySQL database References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> Message-ID: <417FB417.6010601@shaw.ca> Something I came across from an ASP perspective http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ Barbara Ryan wrote: >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > >Any thoughts (advantages, limitations, etc.)? > >Thanks, >Barb Ryan > > -- Marty Connelly Victoria, B.C. Canada From cfoust at infostatsystems.com Wed Oct 27 09:50:29 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 27 Oct 2004 07:50:29 -0700 Subject: [AccessD] Animation e.g. gif? Message-ID: You could use a form timer, but I don't think you would like the results because Access timers tend to interfer with absolutely everything! Charlotte Foust -----Original Message----- From: S D [mailto:accessd667 at yahoo.com] Sent: Wednesday, October 27, 2004 6:04 AM To: accessd at databaseadvisors.com Subject: [AccessD] Animation e.g. gif? Hi group, is it possible to add an animation to my Acces form with STANDARD Access 2000 controls? And I mean STANDARD! No, dll's or anything like it. Tia. Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 27 09:50:42 2004 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 27 Oct 2004 09:50:42 -0500 Subject: [AccessD] Open a form and find a record Message-ID: <123701F54509D9119A4F00D0B747349016D031@main2.marlow.com> It is slow, though in a single use function, it isn't noticable. Put it in a big loop, or use it all over in a report, and you'll notice delays. Drew -----Original Message----- From: Gustav Brock [mailto:gustav at cactus.dk] Sent: Tuesday, October 19, 2004 4:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open a form and find a record Hi Donald and Susan It's an old and persistent rumour that DLookup is always slow. Quite often it is not. So, Susan, give it a try - it's extremely simple and in a minute your problem will be solved and you can move on to the more funny tasks. By the way, the code could be simplified even further: strCriteria ="[QAFName]='" & Me![UsersName] & "'" If IsNull(Dlookup("[ProjectID]", "tblProjects", strCriteria)) Then MsgBox "You are not the QA on any projects." Else ' Open form ... End If /gustav > Well, I don't have to worry much about portability issues, but I'd be > interested in the opinions of folks better versed than I in the area of > optimization. I was under the impression that a simple one-time call to > a domain function in a case like this is no big deal in terms of speed. > (I suppose it depends on the size of the table.) I do avoid using them > in iterative processes, however. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Wed Oct 27 10:35:42 2004 From: gustav at cactus.dk (Gustav Brock) Date: Wed, 27 Oct 2004 17:35:42 +0200 Subject: [AccessD] Access with a MySQL database In-Reply-To: <417FB417.6010601@shaw.ca> References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> <417FB417.6010601@shaw.ca> Message-ID: <7630872802.20041027173542@cactus.dk> Hi Marty > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ Hmm ... I found this a thin cup of tea. And boy, is that site awful ... /gustav From Erwin.Craps at ithelps.be Wed Oct 27 11:19:33 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 27 Oct 2004 18:19:33 +0200 Subject: [AccessD] Access On Tablet Pc's (again) Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B54A0@stekelbes.ithelps.local> Hi group I already asked this question but never got a response to it. The list was having some mail problems at that time so I'm not sure if my mail got around. I found it rather curious no one responded to my mail. Who has some experiences with Access on a tablet pc? More specific I want to kown if (regular) Access 2003 Runs on Windows XP for Tablets PC edition? And if I should know some special stuff running on it. I'm developping an app that, for remote client side, should run on a tablet pc.... Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be From BarbaraRyan at cox.net Wed Oct 27 13:14:13 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 27 Oct 2004 14:14:13 -0400 Subject: [AccessD] Access with a MySQL database References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> <417FB417.6010601@shaw.ca> Message-ID: <000a01c4bc50$c3807dc0$0a00a8c0@cx470148a> Thanks, Marty.... I had looked at this site as well as several others on the Web. I think that my main question is a performance issue --- since MySQL does not use server side cursors, is there any performance advantage over using the existing Access back-end? I could also use a SQL Server back-end using ODBC. However, it is my understanding that I would need modify code (SQL statements, queries, etc) in the Access front end to optimize performance using SQL Server (vs. an Access back-end). I am not an expert in any of this my any means, so please correct me if I've spoken heresy! Again, some considerations are that my client currently does not own SQL Server but is using MySQL in their web application. Thanks, Barb Ryan ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 10:43 AM Subject: Re: [AccessD] Access with a MySQL database > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > Barbara Ryan wrote: > > >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > > > >Any thoughts (advantages, limitations, etc.)? > > > >Thanks, > >Barb Ryan > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Wed Oct 27 13:12:15 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 27 Oct 2004 13:12:15 -0500 Subject: [AccessD] Re: Animation e.g. gif? In-Reply-To: <200410271700.i9RH0fL18479@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041027130404.01381e00@pop3.highstream.net> Sander, Access is a database program, not a tinker toy graphics program. The simple answer is "no." The complex answer is: If you want to slow the form to a crawl and give it an unprofessional, childish look, you can use the timer event to make things happen on the form that looks like animation. Access simply does not have the event model to do it. Hummm, did my prejudice about Mickey Mouse design show???? Robert At 12:00 PM 10/27/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 06:03:38 -0700 (PDT) >From: S D >Subject: [AccessD] Animation e.g. gif? >To: accessd at databaseadvisors.com >Message-ID: <20041027130338.31864.qmail at web61110.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi group, > >is it possible to add an animation to my Acces form with STANDARD Access >2000 controls? > >And I mean STANDARD! No, dll's or anything like it. > >Tia. >Sander From lists at theopg.com Wed Oct 27 13:09:08 2004 From: lists at theopg.com (MarkH) Date: Wed, 27 Oct 2004 19:09:08 +0100 Subject: [AccessD] Access On Tablet Pc's (again) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B54A0@stekelbes.ithelps.local> Message-ID: <000201c4bc50$0de42e80$9139fc3e@netboxxp> Hi Erwin I have been running Access XP on a tablet for a month with no probs (the tablet is now my main dev machine when I'm on-site and also runs MSDE)... I did a test install of 2003 and it 'seemed' to work but I only played with it for a couple of hours before restoring from a ghost. I have notice no difference other than input options etc. using Tablet XP. From what I understand its exactly the same as normal Windows (if there is any such thing :O) but with a few extra bits tacked on... I am also new to Tablets, pretty impressed so far but dissapointed with voice recognition. Good luck Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: 27 October 2004 17:20 To: Access Developers discussion and problem solving Subject: [AccessD] Access On Tablet Pc's (again) Hi group I already asked this question but never got a response to it. The list was having some mail problems at that time so I'm not sure if my mail got around. I found it rather curious no one responded to my mail. Who has some experiences with Access on a tablet pc? More specific I want to kown if (regular) Access 2003 Runs on Windows XP for Tablets PC edition? And if I should know some special stuff running on it. I'm developping an app that, for remote client side, should run on a tablet pc.... Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 From rl_stewart at highstream.net Wed Oct 27 13:20:32 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Wed, 27 Oct 2004 13:20:32 -0500 Subject: [AccessD] Re: Access with a MySQL database In-Reply-To: <200410271700.i9RH0fL18479@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041027131830.013db158@pop3.highstream.net> If they have Office 2000 or higher, they have SQL Server in the MSDE. It is good for up to 10 concurrent users. My SQL does not support stored procedures, views, or referential integrity. SQL Server, even the MSDE, does. Robert At 12:00 PM 10/27/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 07:43:35 -0700 >From: MartyConnelly >Subject: Re: [AccessD] Access with a MySQL database >To: Access Developers discussion and problem solving > >Message-ID: <417FB417.6010601 at shaw.ca> >Content-Type: text/plain; format=flowed; charset=us-ascii > >Something I came across from an ASP perspective >http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > >Barbara Ryan wrote: > > >Does anyone have any experience using an Access application as a > front-end to a MySQL database back-end? My client is interested in > converting the Access back-end to either SQL Server or MySQL. They > currently do not own SQL Server but are using MySQL in their web application. > > > >Any thoughts (advantages, limitations, etc.)? > > > >Thanks, > >Barb Ryan > > > > From accessd at shaw.ca Wed Oct 27 13:32:12 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Wed, 27 Oct 2004 11:32:12 -0700 Subject: [AccessD] Access with a MySQL database In-Reply-To: <000a01c4bc50$c3807dc0$0a00a8c0@cx470148a> Message-ID: Hi Barb: These comments are from my observations: 1. Using MySQL is slower than Access DAO when working with small to medium sized tables and having to use an ODBC driver adds another performance hit. The lose in performance is totally connection related. 2. MySQL's tables can exceed 2GB, still runs fast, even with huge files and of course it is free. 3. MS SQL does not need an ODBC drive, handles huge files, runs very fast and has an awesome set of features but can be considered expensive. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Barbara Ryan Sent: Wednesday, October 27, 2004 11:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access with a MySQL database Thanks, Marty.... I had looked at this site as well as several others on the Web. I think that my main question is a performance issue --- since MySQL does not use server side cursors, is there any performance advantage over using the existing Access back-end? I could also use a SQL Server back-end using ODBC. However, it is my understanding that I would need modify code (SQL statements, queries, etc) in the Access front end to optimize performance using SQL Server (vs. an Access back-end). I am not an expert in any of this my any means, so please correct me if I've spoken heresy! Again, some considerations are that my client currently does not own SQL Server but is using MySQL in their web application. Thanks, Barb Ryan ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 10:43 AM Subject: Re: [AccessD] Access with a MySQL database > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > Barbara Ryan wrote: > > >Does anyone have any experience using an Access application as a front-end to a MySQL database back-end? My client is interested in converting the Access back-end to either SQL Server or MySQL. They currently do not own SQL Server but are using MySQL in their web application. > > > >Any thoughts (advantages, limitations, etc.)? > > > >Thanks, > >Barb Ryan > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Oct 27 13:49:10 2004 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 27 Oct 2004 14:49:10 -0400 Subject: [AccessD] Re: Access with a MySQL database References: <5.1.0.14.2.20041027131830.013db158@pop3.highstream.net> Message-ID: <002101c4bc55$a5ac6fc0$0a00a8c0@cx470148a> That's good news (regarding Microsoft SQL) --- they currently are using Access 97, but are converting to XP in the near future, so looks like they'll have it. I don't think that they will have more than 10 users. Barb ----- Original Message ----- From: "Robert L. Stewart" To: Cc: Sent: Wednesday, October 27, 2004 2:20 PM Subject: [AccessD] Re: Access with a MySQL database > If they have Office 2000 or higher, they have SQL Server in the MSDE. > It is good for up to 10 concurrent users. > > My SQL does not support stored procedures, views, or referential > integrity. SQL Server, even the MSDE, does. > > Robert > > At 12:00 PM 10/27/2004 -0500, you wrote: > >Date: Wed, 27 Oct 2004 07:43:35 -0700 > >From: MartyConnelly > >Subject: Re: [AccessD] Access with a MySQL database > >To: Access Developers discussion and problem solving > > > >Message-ID: <417FB417.6010601 at shaw.ca> > >Content-Type: text/plain; format=flowed; charset=us-ascii > > > >Something I came across from an ASP perspective > >http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > > >Barbara Ryan wrote: > > > > >Does anyone have any experience using an Access application as a > > front-end to a MySQL database back-end? My client is interested in > > converting the Access back-end to either SQL Server or MySQL. They > > currently do not own SQL Server but are using MySQL in their web application. > > > > > >Any thoughts (advantages, limitations, etc.)? > > > > > >Thanks, > > >Barb Ryan > > > > > > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Erwin.Craps at ithelps.be Wed Oct 27 15:46:55 2004 From: Erwin.Craps at ithelps.be (Erwin Craps - IT Helps) Date: Wed, 27 Oct 2004 22:46:55 +0200 Subject: [AccessD] Access On Tablet Pc's (again) Message-ID: <46B976F2B698FF46A4FE7636509B22DF1B54A1@stekelbes.ithelps.local> Aha Thank you Mark Now I now it should work. I'm pretty disapointed that no Access developers have developed an app for tablet pc's. I tought there can be a pretty big market in that area. I'm developing a app for experts that estimates real estates by a prededined list of questions that will be filled in on site or in the car and afterwards be send to the main office. What concernes voice recognition, never believed in it. I believe its a waste of time and money. They would have better invested that money straightaway in mind control. The day mind control will be working and affordable will be the day computer use will make a giant leap. Use of computer is now bottle necked by the keyboard. Speech will not resolve the slowness of user input. Mind control should... But today it is rather slow to.... About 1 command in two minutes... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MarkH Sent: Wednesday, October 27, 2004 8:09 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Access On Tablet Pc's (again) Hi Erwin I have been running Access XP on a tablet for a month with no probs (the tablet is now my main dev machine when I'm on-site and also runs MSDE)... I did a test install of 2003 and it 'seemed' to work but I only played with it for a couple of hours before restoring from a ghost. I have notice no difference other than input options etc. using Tablet XP. From what I understand its exactly the same as normal Windows (if there is any such thing :O) but with a few extra bits tacked on... I am also new to Tablets, pretty impressed so far but dissapointed with voice recognition. Good luck Mark -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - IT Helps Sent: 27 October 2004 17:20 To: Access Developers discussion and problem solving Subject: [AccessD] Access On Tablet Pc's (again) Hi group I already asked this question but never got a response to it. The list was having some mail problems at that time so I'm not sure if my mail got around. I found it rather curious no one responded to my mail. Who has some experiences with Access on a tablet pc? More specific I want to kown if (regular) Access 2003 Runs on Windows XP for Tablets PC edition? And if I should know some special stuff running on it. I'm developping an app that, for remote client side, should run on a tablet pc.... Thx Erwin Craps Zaakvoerder www.ithelps.be/jonathan This E-mail is confidential, may be legally privileged, and is for the intended recipient only. Access, disclosure, copying, distribution, or reliance on any of it by anyone else is prohibited and may be a criminal offence. Please delete if obtained in error and E-mail confirmation to the sender. IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg www.ithelps.be * www.boxoffice.be * www.stadleuven.be IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: Info at ithelps.be Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: Staff at boxoffice.be -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- Incoming mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Oct 27 16:27:04 2004 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 27 Oct 2004 23:27:04 +0200 Subject: [AccessD] compare record fields References: <200410271033.i9RAXSKg017747@mailhostC.plex.net> <13914298179.20041027125927@cactus.dk> Message-ID: <003f01c4bc6b$df6cf980$f2c581d5@pedro> Gustav, thanks for your help. Susan, i believ that the duplicate wizard only works on two tables, and gives as result only the field that isn't present in teh other table. I need the two fields with the mismatch in one record. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 12:59 PM Subject: Re: [AccessD] compare record fields > Hi Pedro > > > i have a table in which i would compare two fields in one record with each other. > > The result must be the record where one of the values don't match with one another. > > > fieldA fieldB and several other fields > > 00123 00123 > > 02345 02345 > > 06789 06689 > > > > result > > > fieldA fieldB and several other fields > > 06789 06689 > > That could be: > > SELECT > * > FROM > tblTable > WHERE > FieldA<>FieldB; > > > /gustav > > -- > _______________________________________________ > 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 Oct 27 18:03:37 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 Oct 2004 09:03:37 +1000 Subject: [AccessD] Access On Tablet Pc's (again) In-Reply-To: <46B976F2B698FF46A4FE7636509B22DF1B54A1@stekelbes.ithelps.local> Message-ID: <4180B5E9.25846.1220CFF9@lexacorp.com.pg> On 27 Oct 2004 at 22:46, Erwin Craps - IT Helps wrote: > What concernes voice recognition, never believed in it. I believe its a > waste of time and money. They would have better invested that money > straightaway in mind control. > The day mind control will be working and affordable will be the day > computer use will make a giant leap. > Use of computer is now bottle necked by the keyboard. Speech will not > resolve the slowness of user input. Mind control should... > But today it is rather slow to.... About 1 command in two minutes... > Take a look at Dasher I'm writing this using just a mouse and it works well with a bit of practice http://www.inference.phy.cam.ac.uk/dasher/-- Stuart From martyconnelly at shaw.ca Wed Oct 27 18:29:41 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 27 Oct 2004 16:29:41 -0700 Subject: [AccessD] Access On Tablet Pc's (again) References: <46B976F2B698FF46A4FE7636509B22DF1B54A1@stekelbes.ithelps.local> Message-ID: <41802F65.5090606@shaw.ca> You could use these palm top mini laptop that run WinXP home Some have keyboards but they run hot and have short battery life. http://reviews.cnet.com/4520-3121_7-5538408-1.html?tag=nl.e404 A lot of developers are using C#.net or asp.netfor palm tops because they can use smarterm which allows immediate screen redesign of forms depending on screen realestate So they don't have to rewrite for different machines. Erwin Craps - IT Helps wrote: >Aha >Thank you Mark >Now I now it should work. > >I'm pretty disapointed that no Access developers have developed an app >for tablet pc's. >I tought there can be a pretty big market in that area. > >I'm developing a app for experts that estimates real estates by a >prededined list of questions that will be filled in on site or in the >car and afterwards be send to the main office. > >What concernes voice recognition, never believed in it. I believe its a >waste of time and money. They would have better invested that money >straightaway in mind control. >The day mind control will be working and affordable will be the day >computer use will make a giant leap. >Use of computer is now bottle necked by the keyboard. Speech will not >resolve the slowness of user input. Mind control should... >But today it is rather slow to.... About 1 command in two minutes... > > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MarkH >Sent: Wednesday, October 27, 2004 8:09 PM >To: 'Access Developers discussion and problem solving' >Subject: RE: [AccessD] Access On Tablet Pc's (again) > >Hi Erwin > >I have been running Access XP on a tablet for a month with no probs (the >tablet is now my main dev machine when I'm on-site and also runs >MSDE)... I did a test install of 2003 and it 'seemed' to work but I only >played with it for a couple of hours before restoring from a ghost. > >I have notice no difference other than input options etc. using Tablet >XP. From what I understand its exactly the same as normal Windows (if >there is any such thing :O) but with a few extra bits tacked on... > >I am also new to Tablets, pretty impressed so far but dissapointed with >voice recognition. > >Good luck > >Mark > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Erwin Craps - >IT Helps >Sent: 27 October 2004 17:20 >To: Access Developers discussion and problem solving >Subject: [AccessD] Access On Tablet Pc's (again) > > >Hi group > >I already asked this question but never got a response to it. The list >was having some mail problems at that time so I'm not sure if my mail >got around. I found it rather curious no one responded to my mail. > >Who has some experiences with Access on a tablet pc? > >More specific I want to kown if (regular) Access 2003 Runs on Windows XP >for Tablets PC edition? And if I should know some special stuff running >on it. I'm developping an app that, for remote client side, should run >on a tablet pc.... > >Thx > > > >Erwin Craps > >Zaakvoerder > >www.ithelps.be/jonathan > > > >This E-mail is confidential, may be legally privileged, and is for the >intended recipient only. Access, disclosure, copying, distribution, or >reliance on any of it by anyone else is prohibited and may be a criminal >offence. Please delete if obtained in error and E-mail confirmation to >the sender. > >IT Helps - I.T. Help Center *** Box Office Belgium & Luxembourg > >www.ithelps.be * www.boxoffice.be > * www.stadleuven.be > > >IT Helps bvba* ** Mercatorpad 3 ** 3000 Leuven > >IT Helps * Phone: +32 16 296 404 * Fax: +32 16 296 405 E-mail: >Info at ithelps.be > >Box Office ** Fax: +32 16 296 406 ** Box Office E-mail: >Staff at boxoffice.be > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >--- >Incoming mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 > > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.769 / Virus Database: 516 - Release Date: 24/09/2004 > > >-- >_______________________________________________ >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > -- Marty Connelly Victoria, B.C. Canada From artful at rogers.com Wed Oct 27 20:54:12 2004 From: artful at rogers.com (Arthur Fuller) Date: Wed, 27 Oct 2004 21:54:12 -0400 Subject: [AccessD] Access with a MySQL database In-Reply-To: <417FB417.6010601@shaw.ca> References: <002c01c4b6e6$68807980$0a00a8c0@cx470148a> <417FB417.6010601@shaw.ca> Message-ID: <41805144.4080803@rogers.com> MartyConnelly wrote: > Something I came across from an ASP perspective > http://www.aspfree.com/c/a/Microsoft-Access/An-Access-Front-End-to-MySQL/ > > Barbara Ryan wrote: > >> Does anyone have any experience using an Access application as a >> front-end to a MySQL database back-end? My client is interested in >> converting the Access back-end to either SQL Server or MySQL. They >> currently do not own SQL Server but are using MySQL in their web >> application. >> >> Any thoughts (advantages, limitations, etc.)? >> >> Thanks, >> Barb Ryan >> >> > Hmph. I thought I answered this already, but it must have been a senior moment. I have been there and done that extensively, for the book (that was cancelled, and will soon re-emerge as a web site) my partner Peter Brawley and I wrote about MySQL. In brief, the basic setup is dead simple. Download MyODBC from MySQL.com and install it. Copy your current app to a new file and start there. You also have to get the data from your current database to MySQL but for the moment I'll jump over that issue. Run the linked tables wizard and choose odbc as the file type and then create a connection to your MySQL database. Check each table in the database manager before proceeding. Attempt to add a row. If you get a new row with everything marked #deleted#, then add a DateTime column to every such table and set its default to Now(). Repeat until success. Now load the forms one by one and see if they work. That should do it. I may have skipped over a few trivialities but that's the nut. Now back to the import problem. Assuming that all you have is Access and MySQL, you can do it this way: create the aforementioned MySQL database, then the MDB and the ODBC hook to it, then choose File/Get External Data/Import and then select the current Access database. Select all the tables and go. You may have data-type-conversion problems. Don't expect the first pass to be 100% successful. See what went wrong and fix it first, until finally the import works 100%. After that, your data will all be in MySQL. You may at that point choose to revise your indexing strategies, or not. Compare the versions for performance. HTH, A. From bchacc at san.rr.com Wed Oct 27 22:16:12 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 27 Oct 2004 20:16:12 -0700 Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX Message-ID: <010d01c4bc9c$7aa1ca40$6701a8c0@HAL9002> Steve sent me this personal message. Wanted me to know. Thought you all should as well. Rocky ----- Original Message ----- From: "Steve Ballmer" To: Sent: Wednesday, October 27, 2004 7:34 PM Subject: Customer Focus: Comparing Windows with Linux and UNIX In the thousands of meetings that Microsoft employees have with customers around the world every day, many of the same questions consistently surface: Does an open source platform really provide a long-term cost advantage compared with Windows? Which platform offers the most secure computing environment? Given the growing concern among customers about intellectual property indemnification, what's the best way to minimize risk? In moving from an expensive UNIX platform, what's the best alternative in terms of migration? Customers want factual information to help them make the best decisions about these issues. About a year ago, a senior Microsoft team led by General Manager Martin Taylor was created to figure out how we could do a better job helping customers evaluate our products against alternatives such as Linux/open source and proprietary UNIX. This team has worked with a number of top analyst firms that have generated independent, third-party reports on cost of acquisition, total cost of ownership, security and indemnification. Some of the studies were commissioned by Microsoft, while others were initiated and funded by the analysts. In each case, the research methodology, findings and conclusions were the sole domain of the analyst firms. This was essential: we wanted truly independent, factual information. At the same time, our worldwide sales organization is going even deeper with customers to understand their needs and create a feedback loop with our product development teams that enables us to deliver integrated solutions that support real-world customer scenarios, and comprehensively address issues such as manageability, ease of use and reliability. I'm writing to you and other business decision makers and IT professionals today to share some of the data around these key issues - and to provide examples of customers who opted to go with the Windows platform rather than Linux or UNIX, and how that's playing out for them in the real world. Much more information on this is at www.microsoft.com/getthefacts. This email is one in an occasional series of emails from Microsoft executives about technology and public-policy issues important to computer users, our industry, and anyone who cares about the future of high technology. If you would like to receive these emails in the future, please go to http://register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=155 to subscribe. TOTAL COST OF OWNERSHIP AND ACQUISITION COSTS In the past few years, you haven't been able to open a computing magazine or visit a technology Web site without running into an article about Linux and open source. Not surprising: who doesn't like the idea of a "free" operating system that just about anyone can tinker with? But as the Yankee Group commented in an independent, non-sponsored global study of 1,000 IT administrators and executives, Linux, UNIX and Windows TCO Comparison, things aren't always as they seem: "All of the major Linux vendors and distributors (including Hewlett-Packard, IBM, Novell [SUSE and Ximian] and Red Hat) have begun charging hefty premiums for must-have items such as technical service and support, product warranties and licensing indemnification." Yankee's study concluded that, in large enterprises, a significant Linux deployment or total switch from Windows to Linux would be three to four times more expensive - and take three times as long to deploy - as an upgrade from one version of Windows to a newer release. And nine out of 10 enterprise customers said that such a change wouldn't provide any tangible business gains. Yankee also noted that, for larger organizations with complex computer networks, it's important to look beyond Linux's initial low investment cost and consider all of the TCO and ROI factors. This is exactly what one of our large enterprise customers, Equifax, did recently. Equifax, a $1.2 billion U.S.-based enterprise with 4,600 employees in 13 countries, needed more computing power than its mainframe systems could deliver for rapidly searching the company's vast marketing database. They spent several months conducting an internal analysis, which proved that, compared with Linux, Windows would realize a 14% cost savings and shorten their time to market by six months. (Equifax Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15528) Another comprehensive, non-sponsored study by Forrester, entitled The Costs and Risks of Open Source, drew a similar conclusion: "The allure of free software is accelerating the deployment of open source platforms, but open source is not free and may actually increase financial and business risks." In early 2004, Forrester conducted in-depth discussions with 14 companies that had been running Linux platforms for longer than one year to see what the costs really were. Several key themes emerged: - Few companies know what they're really spending. Only five of the 14 kept detailed metrics - and each of those five found Linux more expensive (5% to 20%) than their current Microsoft environments. - Preparation and planning activities took 5% to 25% longer for Linux than Windows. - Training for IT employees was significantly higher for Linux than for Windows - on average, 15% more expensive. The reasons: training materials were less readily available, and customers spent more on training to compensate for the lack of internal knowledge about Linux. - All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources. One of our mid-market customers, Computer Builders Warehouse (CBW), came to a similar conclusion. CBW builds computers to order for education, government, and corporate customers. Several years ago, it deployed Red Hat and Mandrake versions of Linux to support its corporate, retail and e-commerce applications. Challenged with high costs, CBW subsequently migrated to Microsoft Windows Server System, and reduced its total cost of ownership by 25 percent. It also consolidated its server population by 50 percent, reduced maintenance time by 50 percent, and boosted developer productivity by 200 percent. These benefits - totaling $650,000 in savings - are dwarfed by the millions of dollars in new revenue that CBW expects as a result of bringing a key security and monitoring product to market more than two years faster than it could have done using Linux. (CBW Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15131) SECURITY About three years ago, we made software security a top priority, and since then we've invested heavily in a multi-pronged effort to improve software quality and development processes, and to reduce risks for customers through education and guidance, industry collaboration and enforcement. I think it's fair to say that no other software platform has invested as much in security R&D, process improvements and customer education as we have at Microsoft. Still, Linux has often been touted as a more secure platform. In part, this is because of the "many eyeballs" maxim of open source software that claims a correlation between the number of developers looking at code and the number of bugs found and resolved. While this has some validity, it is not necessarily the best way to develop secure software. We believe in the effectiveness of a structured software engineering process that includes a deep focus on quality, technology advances, and vigorous testing to make software more secure. A number of third-party reports have questioned how safe the Linux platform really is. For example, a recent independent study by Forrester, Is Linux More Secure than Windows?, highlighted that the four major Linux distributions have a higher incidence and severity of vulnerabilities, and are slower than Microsoft to provide security updates. According to Forrester, Microsoft had the lowest elapsed time between disclosure of a vulnerability and the release of a fix. They found that Microsoft addressed all of the 128 publicly disclosed security flaws in Windows over the 12-month period studied, and that its security updates predated major outbreaks by an average of 305 days. Other independent sources of data show similar conclusions. According to statistics posted on the security Web site Secunia (http://secunia.com/product/2535#statistics_month), Red Hat Enterprise Linux 3 has averaged 7.4 security advisories per month, compared with 1.7 advisories for Windows Server 2003. And as Yankee Group noted in its Linux, UNIX and Windows TCO Comparison study, "Linux-specific worms and viruses are every bit as pernicious as their UNIX and Windows counterparts - and in many cases they are much more stealthy." This was a deciding factor in farmaCity's selection of Windows over Linux. Headquartered in Buenos Aires, farmaCity is a rapidly growing Argentinian drugstore chain with 50 outlets and 1,200 employees. Although farmaCity's growth in recent years was a testament to its success, the company's aging technology infrastructure had become a hindrance to further expansion. After careful analysis, farmaCity concluded that Windows would reduce network administration by 30 percent compared with Linux, and would also simplify identity and desktop management. But the core reason for selecting Microsoft was the increase in network security, complemented by the ability to reduce patch-deployment time by 50 percent while cutting unsolicited e-mail by half. (farmaCity Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15269) INDEMNIFICATION Increasingly, we're hearing from customers that another factor in their consideration of computing platforms is indemnification. In 2003, we looked at our volume licensing contracts to see what we could do to increase customer satisfaction, and a top issue we heard about was patent indemnification, which then was capped at the amount the customer had paid for the software. So later that year, we lifted that cap for our volume licensing customers, who are most likely to be the target of an intellectual property lawsuit. Today, when a volume licensing customer - a business or organization ranging from as few as five computers to many thousands - licenses a Microsoft product, we provide uncapped protection for legal costs associated with a patent, copyright, trademark or trade secret claim alleging infringement by a Microsoft product. We do this because we are proud to stand behind our products, and because we understand that being on the wrong end of a software patent lawsuit could cost a customer millions of dollars, and massively disrupt their business. No vendor today stands behind Linux with full IP indemnification. In fact, it is rare for open source software to provide customers with any indemnification at all. We think Microsoft's indemnification already is one of the best offered by the leading players in the industry for volume licensing customers, and we're looking at ways to expand it to an even broader set of our customers. It's definitely something businesses want to think about as they're building or expanding their IT infrastructure. It was certainly a factor for Regal Entertainment Group, the largest movie theatre chain in the world. In 2001, they moved to Red Hat Linux. After evaluating Linux in their business for several months, however, they migrated to the Microsoft platform - not only because of lower TCO, stronger support and services, and greater reliability and manageability, but because they were more fully indemnified on IP. J.E. Henry, CIO of Regal Entertainment, told me that "reduced risk was a decision factor in selecting Windows over Linux. We needed to minimize our exposure to the distraction of potential IP infringement claims, and we had a big enough open source presence to be concerned. With the way that Microsoft stands behind its products, it's one less thing that I have to worry about." UNIX MIGRATION One of the hot topics among enterprise IT and business decision makers today is the costs and benefits of migrating enterprise resource planning systems (ERP) from costly, proprietary UNIX environments to Windows or other platforms. ERP integrates various company functions such as human resources, inventories and financials, and links a company to its vendors and customers. An independent, qualitative survey of organizations that recently completed a migration of their SAP or PeopleSoft ERP system from a UNIX environment to the Microsoft Windows Server platform found a more than 20% reduction in the number of servers required compared with UNIX. The survey, by META Group, found that in one large telecommunications company, consolidation on Windows allowed a greater than 50 percent reduction in the number of required servers. The survey also found a more than 50 percent improvement in areas such as reliability, accessibility and scalability; significant savings in cost management, IT staffing, performance monitoring and vendor management; and measurable savings in technical support and training. More than half of business function decision makers also saw significant improvements in areas such as consistency, accuracy, reporting enhancement and performance. "Windows is now a mainstream option for the vast majority of ERP projects," META Group concluded. A great case study is the Raiffeisen Bank Group, the largest private bank group in Austria with about 2,600 branches. It wanted to reduce costs and provide better customer service by consolidating the number of servers in its branches by 50 percent. Raiffeisen investigated migrating from UNIX to either Linux or Windows. After evaluating the possible solutions, the company found that Windows Server 2003 would provide the most economical solution along with better performance, while giving bank employees an integrated view of customer information that they needed to improve customer service. (Raiffeisen Bank Group Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15519) One of our mid-market customers had a similar experience. Grand Expeditions is a consortium of luxury travel companies that significantly reduced its Web development and hosting costs, and improved site reliability and performance, by moving from a combination of Linux- and UNIX-based servers to Windows Server 2003 and the Windows Server System. The new system was up and running in just 60 days, and is saving Grand Expeditions $200,000 a year. (Grand Expeditions Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.aspx?CaseStudyID=15397) IN CLOSING... There is no question that customers are benefiting today from a healthy, competitive IT industry. Competition requires companies to really focus in on what customers want and need. At the same time, customers have a clearer opportunity than ever before to evaluate choices. For example, BET.com, the Internet portal created by Viacom subsidiary BET Networks, did an in-depth comparison of Red Hat Linux and Windows Server System. They found that Windows offered 30% lower TCO, was more secure and reliable, and enabled quicker time to market. As BET.com's CTO, Navarrow Wright, said: "When I looked at all the costs - not just the straight price of software - a Windows Server System-based solution made better financial sense than sticking with our Sun and Oracle environment or switching to Linux. We decided to migrate the whole enterprise from various software vendors to standardize all of our software on Microsoft." By implementing Windows Server 2003, Windows XP Professional, Office Professional Edition 2003, Exchange Server 2003, Content Management Server 2003 and Visual Studio .NET 2003, BET.com conservatively estimated that its workforce will increase productivity by 25-30%, while saving significantly in licensing and redevelopment costs. As organizations increasingly rely on IT to perform mission-critical functions, and with complexity a growing challenge, choosing the right computing platform for the long term can make the difference between profit and loss, and between future success and failure. And it's pretty clear that the facts show that Windows provides a lower total cost of ownership than Linux; the number of security vulnerabilities is lower on Windows, and Windows responsiveness on security is better than Linux; and Microsoft provides uncapped IP indemnification of their products, while no such comprehensive offering is available for Linux or open source. The vision and benefits of an integrated platform are what distinguish Microsoft's approach to software. The Windows platform today offers an unmatched level of value, applications availability, simplicity, security and productivity. For Microsoft, this is truly a cross-company effort that requires the server and client operating systems to seamlessly deliver great usability and manageability features, applications that deliver compelling scenarios, and tools that enable developers and ISVs to easily and quickly build new applications on the platform. It's important that customers have all the information they need when making critical and expensive IT decisions. If the evidence at our www.microsoft.com/getthefacts Web site doesn't sufficiently convey the benefits and value of the Microsoft platform, we want to hear from you so we can work even harder to get that information to you. If you would like to have a more detailed discussion about your company's IT needs, email Martin Taylor at martinta at microsoft.com. Steve Ballmer To contact Microsoft, write to us at One Microsoft Way, Redmond, Wash, 98052. To manage your Microsoft.com subscriptions, please sign in at the Microsoft Profile Center here: http://g.microsoft.com/mh_mshp/48. To see the Microsoft.com Privacy Statement, please go to http://www.microsoft.com/info/privacy.mspx. From accessd at shaw.ca Thu Oct 28 03:26:13 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 28 Oct 2004 01:26:13 -0700 Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX In-Reply-To: <010d01c4bc9c$7aa1ca40$6701a8c0@HAL9002> Message-ID: Hi Rocky: Thanks for passing on the information. What I found most interesting, in the article was: ...All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources.... That very comment makes me more interested in recommending and getting more involved with Linux. The market is currently so saturated with Windows Techs that the industry rate of pay is about $16.00 Canadian or $13.00 US per hour...which is ridiculous... except for young individuals, still at home with their folks. Being in a position to negotiate a fair wage package is not a down-side as far as I am concerned. That's my two cents. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 27, 2004 8:16 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX Steve sent me this personal message. Wanted me to know. Thought you all should as well. Rocky ----- Original Message ----- From: "Steve Ballmer" To: Sent: Wednesday, October 27, 2004 7:34 PM Subject: Customer Focus: Comparing Windows with Linux and UNIX In the thousands of meetings that Microsoft employees have with customers around the world every day, many of the same questions consistently surface: Does an open source platform really provide a long-term cost advantage compared with Windows? Which platform offers the most secure computing environment? Given the growing concern among customers about intellectual property indemnification, what's the best way to minimize risk? In moving from an expensive UNIX platform, what's the best alternative in terms of migration? Customers want factual information to help them make the best decisions about these issues. About a year ago, a senior Microsoft team led by General Manager Martin Taylor was created to figure out how we could do a better job helping customers evaluate our products against alternatives such as Linux/open source and proprietary UNIX. This team has worked with a number of top analyst firms that have generated independent, third-party reports on cost of acquisition, total cost of ownership, security and indemnification. Some of the studies were commissioned by Microsoft, while others were initiated and funded by the analysts. In each case, the research methodology, findings and conclusions were the sole domain of the analyst firms. This was essential: we wanted truly independent, factual information. At the same time, our worldwide sales organization is going even deeper with customers to understand their needs and create a feedback loop with our product development teams that enables us to deliver integrated solutions that support real-world customer scenarios, and comprehensively address issues such as manageability, ease of use and reliability. I'm writing to you and other business decision makers and IT professionals today to share some of the data around these key issues - and to provide examples of customers who opted to go with the Windows platform rather than Linux or UNIX, and how that's playing out for them in the real world. Much more information on this is at www.microsoft.com/getthefacts. This email is one in an occasional series of emails from Microsoft executives about technology and public-policy issues important to computer users, our industry, and anyone who cares about the future of high technology. If you would like to receive these emails in the future, please go to http://register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=155 to subscribe. TOTAL COST OF OWNERSHIP AND ACQUISITION COSTS In the past few years, you haven't been able to open a computing magazine or visit a technology Web site without running into an article about Linux and open source. Not surprising: who doesn't like the idea of a "free" operating system that just about anyone can tinker with? But as the Yankee Group commented in an independent, non-sponsored global study of 1,000 IT administrators and executives, Linux, UNIX and Windows TCO Comparison, things aren't always as they seem: "All of the major Linux vendors and distributors (including Hewlett-Packard, IBM, Novell [SUSE and Ximian] and Red Hat) have begun charging hefty premiums for must-have items such as technical service and support, product warranties and licensing indemnification." Yankee's study concluded that, in large enterprises, a significant Linux deployment or total switch from Windows to Linux would be three to four times more expensive - and take three times as long to deploy - as an upgrade from one version of Windows to a newer release. And nine out of 10 enterprise customers said that such a change wouldn't provide any tangible business gains. Yankee also noted that, for larger organizations with complex computer networks, it's important to look beyond Linux's initial low investment cost and consider all of the TCO and ROI factors. This is exactly what one of our large enterprise customers, Equifax, did recently. Equifax, a $1.2 billion U.S.-based enterprise with 4,600 employees in 13 countries, needed more computing power than its mainframe systems could deliver for rapidly searching the company's vast marketing database. They spent several months conducting an internal analysis, which proved that, compared with Linux, Windows would realize a 14% cost savings and shorten their time to market by six months. (Equifax Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15528) Another comprehensive, non-sponsored study by Forrester, entitled The Costs and Risks of Open Source, drew a similar conclusion: "The allure of free software is accelerating the deployment of open source platforms, but open source is not free and may actually increase financial and business risks." In early 2004, Forrester conducted in-depth discussions with 14 companies that had been running Linux platforms for longer than one year to see what the costs really were. Several key themes emerged: - Few companies know what they're really spending. Only five of the 14 kept detailed metrics - and each of those five found Linux more expensive (5% to 20%) than their current Microsoft environments. - Preparation and planning activities took 5% to 25% longer for Linux than Windows. - Training for IT employees was significantly higher for Linux than for Windows - on average, 15% more expensive. The reasons: training materials were less readily available, and customers spent more on training to compensate for the lack of internal knowledge about Linux. - All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources. One of our mid-market customers, Computer Builders Warehouse (CBW), came to a similar conclusion. CBW builds computers to order for education, government, and corporate customers. Several years ago, it deployed Red Hat and Mandrake versions of Linux to support its corporate, retail and e-commerce applications. Challenged with high costs, CBW subsequently migrated to Microsoft Windows Server System, and reduced its total cost of ownership by 25 percent. It also consolidated its server population by 50 percent, reduced maintenance time by 50 percent, and boosted developer productivity by 200 percent. These benefits - totaling $650,000 in savings - are dwarfed by the millions of dollars in new revenue that CBW expects as a result of bringing a key security and monitoring product to market more than two years faster than it could have done using Linux. (CBW Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15131) SECURITY About three years ago, we made software security a top priority, and since then we've invested heavily in a multi-pronged effort to improve software quality and development processes, and to reduce risks for customers through education and guidance, industry collaboration and enforcement. I think it's fair to say that no other software platform has invested as much in security R&D, process improvements and customer education as we have at Microsoft. Still, Linux has often been touted as a more secure platform. In part, this is because of the "many eyeballs" maxim of open source software that claims a correlation between the number of developers looking at code and the number of bugs found and resolved. While this has some validity, it is not necessarily the best way to develop secure software. We believe in the effectiveness of a structured software engineering process that includes a deep focus on quality, technology advances, and vigorous testing to make software more secure. A number of third-party reports have questioned how safe the Linux platform really is. For example, a recent independent study by Forrester, Is Linux More Secure than Windows?, highlighted that the four major Linux distributions have a higher incidence and severity of vulnerabilities, and are slower than Microsoft to provide security updates. According to Forrester, Microsoft had the lowest elapsed time between disclosure of a vulnerability and the release of a fix. They found that Microsoft addressed all of the 128 publicly disclosed security flaws in Windows over the 12-month period studied, and that its security updates predated major outbreaks by an average of 305 days. Other independent sources of data show similar conclusions. According to statistics posted on the security Web site Secunia (http://secunia.com/product/2535#statistics_month), Red Hat Enterprise Linux 3 has averaged 7.4 security advisories per month, compared with 1.7 advisories for Windows Server 2003. And as Yankee Group noted in its Linux, UNIX and Windows TCO Comparison study, "Linux-specific worms and viruses are every bit as pernicious as their UNIX and Windows counterparts - and in many cases they are much more stealthy." This was a deciding factor in farmaCity's selection of Windows over Linux. Headquartered in Buenos Aires, farmaCity is a rapidly growing Argentinian drugstore chain with 50 outlets and 1,200 employees. Although farmaCity's growth in recent years was a testament to its success, the company's aging technology infrastructure had become a hindrance to further expansion. After careful analysis, farmaCity concluded that Windows would reduce network administration by 30 percent compared with Linux, and would also simplify identity and desktop management. But the core reason for selecting Microsoft was the increase in network security, complemented by the ability to reduce patch-deployment time by 50 percent while cutting unsolicited e-mail by half. (farmaCity Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15269) INDEMNIFICATION Increasingly, we're hearing from customers that another factor in their consideration of computing platforms is indemnification. In 2003, we looked at our volume licensing contracts to see what we could do to increase customer satisfaction, and a top issue we heard about was patent indemnification, which then was capped at the amount the customer had paid for the software. So later that year, we lifted that cap for our volume licensing customers, who are most likely to be the target of an intellectual property lawsuit. Today, when a volume licensing customer - a business or organization ranging from as few as five computers to many thousands - licenses a Microsoft product, we provide uncapped protection for legal costs associated with a patent, copyright, trademark or trade secret claim alleging infringement by a Microsoft product. We do this because we are proud to stand behind our products, and because we understand that being on the wrong end of a software patent lawsuit could cost a customer millions of dollars, and massively disrupt their business. No vendor today stands behind Linux with full IP indemnification. In fact, it is rare for open source software to provide customers with any indemnification at all. We think Microsoft's indemnification already is one of the best offered by the leading players in the industry for volume licensing customers, and we're looking at ways to expand it to an even broader set of our customers. It's definitely something businesses want to think about as they're building or expanding their IT infrastructure. It was certainly a factor for Regal Entertainment Group, the largest movie theatre chain in the world. In 2001, they moved to Red Hat Linux. After evaluating Linux in their business for several months, however, they migrated to the Microsoft platform - not only because of lower TCO, stronger support and services, and greater reliability and manageability, but because they were more fully indemnified on IP. J.E. Henry, CIO of Regal Entertainment, told me that "reduced risk was a decision factor in selecting Windows over Linux. We needed to minimize our exposure to the distraction of potential IP infringement claims, and we had a big enough open source presence to be concerned. With the way that Microsoft stands behind its products, it's one less thing that I have to worry about." UNIX MIGRATION One of the hot topics among enterprise IT and business decision makers today is the costs and benefits of migrating enterprise resource planning systems (ERP) from costly, proprietary UNIX environments to Windows or other platforms. ERP integrates various company functions such as human resources, inventories and financials, and links a company to its vendors and customers. An independent, qualitative survey of organizations that recently completed a migration of their SAP or PeopleSoft ERP system from a UNIX environment to the Microsoft Windows Server platform found a more than 20% reduction in the number of servers required compared with UNIX. The survey, by META Group, found that in one large telecommunications company, consolidation on Windows allowed a greater than 50 percent reduction in the number of required servers. The survey also found a more than 50 percent improvement in areas such as reliability, accessibility and scalability; significant savings in cost management, IT staffing, performance monitoring and vendor management; and measurable savings in technical support and training. More than half of business function decision makers also saw significant improvements in areas such as consistency, accuracy, reporting enhancement and performance. "Windows is now a mainstream option for the vast majority of ERP projects," META Group concluded. A great case study is the Raiffeisen Bank Group, the largest private bank group in Austria with about 2,600 branches. It wanted to reduce costs and provide better customer service by consolidating the number of servers in its branches by 50 percent. Raiffeisen investigated migrating from UNIX to either Linux or Windows. After evaluating the possible solutions, the company found that Windows Server 2003 would provide the most economical solution along with better performance, while giving bank employees an integrated view of customer information that they needed to improve customer service. (Raiffeisen Bank Group Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15519) One of our mid-market customers had a similar experience. Grand Expeditions is a consortium of luxury travel companies that significantly reduced its Web development and hosting costs, and improved site reliability and performance, by moving from a combination of Linux- and UNIX-based servers to Windows Server 2003 and the Windows Server System. The new system was up and running in just 60 days, and is saving Grand Expeditions $200,000 a year. (Grand Expeditions Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15397) IN CLOSING... There is no question that customers are benefiting today from a healthy, competitive IT industry. Competition requires companies to really focus in on what customers want and need. At the same time, customers have a clearer opportunity than ever before to evaluate choices. For example, BET.com, the Internet portal created by Viacom subsidiary BET Networks, did an in-depth comparison of Red Hat Linux and Windows Server System. They found that Windows offered 30% lower TCO, was more secure and reliable, and enabled quicker time to market. As BET.com's CTO, Navarrow Wright, said: "When I looked at all the costs - not just the straight price of software - a Windows Server System-based solution made better financial sense than sticking with our Sun and Oracle environment or switching to Linux. We decided to migrate the whole enterprise from various software vendors to standardize all of our software on Microsoft." By implementing Windows Server 2003, Windows XP Professional, Office Professional Edition 2003, Exchange Server 2003, Content Management Server 2003 and Visual Studio .NET 2003, BET.com conservatively estimated that its workforce will increase productivity by 25-30%, while saving significantly in licensing and redevelopment costs. As organizations increasingly rely on IT to perform mission-critical functions, and with complexity a growing challenge, choosing the right computing platform for the long term can make the difference between profit and loss, and between future success and failure. And it's pretty clear that the facts show that Windows provides a lower total cost of ownership than Linux; the number of security vulnerabilities is lower on Windows, and Windows responsiveness on security is better than Linux; and Microsoft provides uncapped IP indemnification of their products, while no such comprehensive offering is available for Linux or open source. The vision and benefits of an integrated platform are what distinguish Microsoft's approach to software. The Windows platform today offers an unmatched level of value, applications availability, simplicity, security and productivity. For Microsoft, this is truly a cross-company effort that requires the server and client operating systems to seamlessly deliver great usability and manageability features, applications that deliver compelling scenarios, and tools that enable developers and ISVs to easily and quickly build new applications on the platform. It's important that customers have all the information they need when making critical and expensive IT decisions. If the evidence at our www.microsoft.com/getthefacts Web site doesn't sufficiently convey the benefits and value of the Microsoft platform, we want to hear from you so we can work even harder to get that information to you. If you would like to have a more detailed discussion about your company's IT needs, email Martin Taylor at martinta at microsoft.com. Steve Ballmer To contact Microsoft, write to us at One Microsoft Way, Redmond, Wash, 98052. To manage your Microsoft.com subscriptions, please sign in at the Microsoft Profile Center here: http://g.microsoft.com/mh_mshp/48. To see the Microsoft.com Privacy Statement, please go to http://www.microsoft.com/info/privacy.mspx. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd667 at yahoo.com Thu Oct 28 04:39:02 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 28 Oct 2004 02:39:02 -0700 (PDT) Subject: [AccessD] Re: Animation e.g. gif? In-Reply-To: <5.1.0.14.2.20041027130404.01381e00@pop3.highstream.net> Message-ID: <20041028093902.32468.qmail@web61110.mail.yahoo.com> :-) you should see this app! Here's a nice example: ''Added 17-05-2002, Star Wars 2: Attack of the Clones premier day! Go figure...but we all have to start somewhere. However I do not think that an hourglass gif for a very long proces is a 'childish look'. thnks anyway "Robert L. Stewart" wrote: Sander, Access is a database program, not a tinker toy graphics program. The simple answer is "no." The complex answer is: If you want to slow the form to a crawl and give it an unprofessional, childish look, you can use the timer event to make things happen on the form that looks like animation. Access simply does not have the event model to do it. Hummm, did my prejudice about Mickey Mouse design show???? Robert At 12:00 PM 10/27/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 06:03:38 -0700 (PDT) >From: S D >Subject: [AccessD] Animation e.g. gif? >To: accessd at databaseadvisors.com >Message-ID: <20041027130338.31864.qmail at web61110.mail.yahoo.com> >Content-Type: text/plain; charset=us-ascii > >Hi group, > >is it possible to add an animation to my Acces form with STANDARD Access >2000 controls? > >And I mean STANDARD! No, dll's or anything like it. > >Tia. >Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From accessd667 at yahoo.com Thu Oct 28 04:54:37 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 28 Oct 2004 02:54:37 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? Message-ID: <20041028095437.20417.qmail@web61105.mail.yahoo.com> Hi group, I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. I need to improve this. This is how it 'works' now: 1 - read the file on the network to determine the number of lines 2 - start a for x=0 to NumberOfLines loop 3 - check the first x characters in the line 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) 5 - execute an update 6 - goto the next record Here's how I want to do it: 1 - copy the file from the network to the desktop 2 - import the complete file in a staging table 3 - Use an UpdateBatch mechanisme to update the BE. Question: How can i implement this UpdateBatch? I mean I have to store the records for each table and after the complete file is processed I want to update all tables. Question: I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) any tips/advice is greatly appreciated!! Regards, Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From gustav at cactus.dk Thu Oct 28 05:18:31 2004 From: gustav at cactus.dk (Gustav Brock) Date: Thu, 28 Oct 2004 12:18:31 +0200 Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? In-Reply-To: <20041028095437.20417.qmail@web61105.mail.yahoo.com> References: <20041028095437.20417.qmail@web61105.mail.yahoo.com> Message-ID: <19614813350.20041028121831@cactus.dk> Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander From accessd at shaw.ca Thu Oct 28 08:24:35 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 28 Oct 2004 06:24:35 -0700 Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? In-Reply-To: <20041028095437.20417.qmail@web61105.mail.yahoo.com> Message-ID: Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 2:55 AM To: accessd at databaseadvisors.com Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? Hi group, I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. I need to improve this. This is how it 'works' now: 1 - read the file on the network to determine the number of lines 2 - start a for x=0 to NumberOfLines loop 3 - check the first x characters in the line 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) 5 - execute an update 6 - goto the next record Here's how I want to do it: 1 - copy the file from the network to the desktop 2 - import the complete file in a staging table 3 - Use an UpdateBatch mechanisme to update the BE. Question: How can i implement this UpdateBatch? I mean I have to store the records for each table and after the complete file is processed I want to update all tables. Question: I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) any tips/advice is greatly appreciated!! Regards, Sander --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JColby at dispec.com Thu Oct 28 08:38:58 2004 From: JColby at dispec.com (Colby, John) Date: Thu, 28 Oct 2004 09:38:58 -0400 Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux an d UNIX Message-ID: <05C61C52D7CAD211A7830008C7DF6F10CBF941@DISABILITYINS01> Rocky, I invited Steve to dinner this weekend to discuss just this issue. He says Bill wants to come as well, and he specifically asked if you would be there. Can you make it? It'll be Saturday night, 8:00 pm. Plan on a late night, you know how these guys can gab. John W. Colby The DIS Database Guy -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 27, 2004 11:16 PM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Customer Focus: Comparing Windows with Linux and UNIX Steve sent me this personal message. Wanted me to know. Thought you all should as well. Rocky ----- Original Message ----- From: "Steve Ballmer" To: Sent: Wednesday, October 27, 2004 7:34 PM Subject: Customer Focus: Comparing Windows with Linux and UNIX In the thousands of meetings that Microsoft employees have with customers around the world every day, many of the same questions consistently surface: Does an open source platform really provide a long-term cost advantage compared with Windows? Which platform offers the most secure computing environment? Given the growing concern among customers about intellectual property indemnification, what's the best way to minimize risk? In moving from an expensive UNIX platform, what's the best alternative in terms of migration? Customers want factual information to help them make the best decisions about these issues. About a year ago, a senior Microsoft team led by General Manager Martin Taylor was created to figure out how we could do a better job helping customers evaluate our products against alternatives such as Linux/open source and proprietary UNIX. This team has worked with a number of top analyst firms that have generated independent, third-party reports on cost of acquisition, total cost of ownership, security and indemnification. Some of the studies were commissioned by Microsoft, while others were initiated and funded by the analysts. In each case, the research methodology, findings and conclusions were the sole domain of the analyst firms. This was essential: we wanted truly independent, factual information. At the same time, our worldwide sales organization is going even deeper with customers to understand their needs and create a feedback loop with our product development teams that enables us to deliver integrated solutions that support real-world customer scenarios, and comprehensively address issues such as manageability, ease of use and reliability. I'm writing to you and other business decision makers and IT professionals today to share some of the data around these key issues - and to provide examples of customers who opted to go with the Windows platform rather than Linux or UNIX, and how that's playing out for them in the real world. Much more information on this is at www.microsoft.com/getthefacts. This email is one in an occasional series of emails from Microsoft executives about technology and public-policy issues important to computer users, our industry, and anyone who cares about the future of high technology. If you would like to receive these emails in the future, please go to http://register.microsoft.com/subscription/subscribeMe.asp?lcid=1033&id=155 to subscribe. TOTAL COST OF OWNERSHIP AND ACQUISITION COSTS In the past few years, you haven't been able to open a computing magazine or visit a technology Web site without running into an article about Linux and open source. Not surprising: who doesn't like the idea of a "free" operating system that just about anyone can tinker with? But as the Yankee Group commented in an independent, non-sponsored global study of 1,000 IT administrators and executives, Linux, UNIX and Windows TCO Comparison, things aren't always as they seem: "All of the major Linux vendors and distributors (including Hewlett-Packard, IBM, Novell [SUSE and Ximian] and Red Hat) have begun charging hefty premiums for must-have items such as technical service and support, product warranties and licensing indemnification." Yankee's study concluded that, in large enterprises, a significant Linux deployment or total switch from Windows to Linux would be three to four times more expensive - and take three times as long to deploy - as an upgrade from one version of Windows to a newer release. And nine out of 10 enterprise customers said that such a change wouldn't provide any tangible business gains. Yankee also noted that, for larger organizations with complex computer networks, it's important to look beyond Linux's initial low investment cost and consider all of the TCO and ROI factors. This is exactly what one of our large enterprise customers, Equifax, did recently. Equifax, a $1.2 billion U.S.-based enterprise with 4,600 employees in 13 countries, needed more computing power than its mainframe systems could deliver for rapidly searching the company's vast marketing database. They spent several months conducting an internal analysis, which proved that, compared with Linux, Windows would realize a 14% cost savings and shorten their time to market by six months. (Equifax Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15528) Another comprehensive, non-sponsored study by Forrester, entitled The Costs and Risks of Open Source, drew a similar conclusion: "The allure of free software is accelerating the deployment of open source platforms, but open source is not free and may actually increase financial and business risks." In early 2004, Forrester conducted in-depth discussions with 14 companies that had been running Linux platforms for longer than one year to see what the costs really were. Several key themes emerged: - Few companies know what they're really spending. Only five of the 14 kept detailed metrics - and each of those five found Linux more expensive (5% to 20%) than their current Microsoft environments. - Preparation and planning activities took 5% to 25% longer for Linux than Windows. - Training for IT employees was significantly higher for Linux than for Windows - on average, 15% more expensive. The reasons: training materials were less readily available, and customers spent more on training to compensate for the lack of internal knowledge about Linux. - All 14 companies said it was difficult finding qualified Linux personnel in the marketplace to support their Linux projects. When they did find third-party help, they had less leverage negotiating hourly rates than with Windows consulting resources. One of our mid-market customers, Computer Builders Warehouse (CBW), came to a similar conclusion. CBW builds computers to order for education, government, and corporate customers. Several years ago, it deployed Red Hat and Mandrake versions of Linux to support its corporate, retail and e-commerce applications. Challenged with high costs, CBW subsequently migrated to Microsoft Windows Server System, and reduced its total cost of ownership by 25 percent. It also consolidated its server population by 50 percent, reduced maintenance time by 50 percent, and boosted developer productivity by 200 percent. These benefits - totaling $650,000 in savings - are dwarfed by the millions of dollars in new revenue that CBW expects as a result of bringing a key security and monitoring product to market more than two years faster than it could have done using Linux. (CBW Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15131) SECURITY About three years ago, we made software security a top priority, and since then we've invested heavily in a multi-pronged effort to improve software quality and development processes, and to reduce risks for customers through education and guidance, industry collaboration and enforcement. I think it's fair to say that no other software platform has invested as much in security R&D, process improvements and customer education as we have at Microsoft. Still, Linux has often been touted as a more secure platform. In part, this is because of the "many eyeballs" maxim of open source software that claims a correlation between the number of developers looking at code and the number of bugs found and resolved. While this has some validity, it is not necessarily the best way to develop secure software. We believe in the effectiveness of a structured software engineering process that includes a deep focus on quality, technology advances, and vigorous testing to make software more secure. A number of third-party reports have questioned how safe the Linux platform really is. For example, a recent independent study by Forrester, Is Linux More Secure than Windows?, highlighted that the four major Linux distributions have a higher incidence and severity of vulnerabilities, and are slower than Microsoft to provide security updates. According to Forrester, Microsoft had the lowest elapsed time between disclosure of a vulnerability and the release of a fix. They found that Microsoft addressed all of the 128 publicly disclosed security flaws in Windows over the 12-month period studied, and that its security updates predated major outbreaks by an average of 305 days. Other independent sources of data show similar conclusions. According to statistics posted on the security Web site Secunia (http://secunia.com/product/2535#statistics_month), Red Hat Enterprise Linux 3 has averaged 7.4 security advisories per month, compared with 1.7 advisories for Windows Server 2003. And as Yankee Group noted in its Linux, UNIX and Windows TCO Comparison study, "Linux-specific worms and viruses are every bit as pernicious as their UNIX and Windows counterparts - and in many cases they are much more stealthy." This was a deciding factor in farmaCity's selection of Windows over Linux. Headquartered in Buenos Aires, farmaCity is a rapidly growing Argentinian drugstore chain with 50 outlets and 1,200 employees. Although farmaCity's growth in recent years was a testament to its success, the company's aging technology infrastructure had become a hindrance to further expansion. After careful analysis, farmaCity concluded that Windows would reduce network administration by 30 percent compared with Linux, and would also simplify identity and desktop management. But the core reason for selecting Microsoft was the increase in network security, complemented by the ability to reduce patch-deployment time by 50 percent while cutting unsolicited e-mail by half. (farmaCity Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15269) INDEMNIFICATION Increasingly, we're hearing from customers that another factor in their consideration of computing platforms is indemnification. In 2003, we looked at our volume licensing contracts to see what we could do to increase customer satisfaction, and a top issue we heard about was patent indemnification, which then was capped at the amount the customer had paid for the software. So later that year, we lifted that cap for our volume licensing customers, who are most likely to be the target of an intellectual property lawsuit. Today, when a volume licensing customer - a business or organization ranging from as few as five computers to many thousands - licenses a Microsoft product, we provide uncapped protection for legal costs associated with a patent, copyright, trademark or trade secret claim alleging infringement by a Microsoft product. We do this because we are proud to stand behind our products, and because we understand that being on the wrong end of a software patent lawsuit could cost a customer millions of dollars, and massively disrupt their business. No vendor today stands behind Linux with full IP indemnification. In fact, it is rare for open source software to provide customers with any indemnification at all. We think Microsoft's indemnification already is one of the best offered by the leading players in the industry for volume licensing customers, and we're looking at ways to expand it to an even broader set of our customers. It's definitely something businesses want to think about as they're building or expanding their IT infrastructure. It was certainly a factor for Regal Entertainment Group, the largest movie theatre chain in the world. In 2001, they moved to Red Hat Linux. After evaluating Linux in their business for several months, however, they migrated to the Microsoft platform - not only because of lower TCO, stronger support and services, and greater reliability and manageability, but because they were more fully indemnified on IP. J.E. Henry, CIO of Regal Entertainment, told me that "reduced risk was a decision factor in selecting Windows over Linux. We needed to minimize our exposure to the distraction of potential IP infringement claims, and we had a big enough open source presence to be concerned. With the way that Microsoft stands behind its products, it's one less thing that I have to worry about." UNIX MIGRATION One of the hot topics among enterprise IT and business decision makers today is the costs and benefits of migrating enterprise resource planning systems (ERP) from costly, proprietary UNIX environments to Windows or other platforms. ERP integrates various company functions such as human resources, inventories and financials, and links a company to its vendors and customers. An independent, qualitative survey of organizations that recently completed a migration of their SAP or PeopleSoft ERP system from a UNIX environment to the Microsoft Windows Server platform found a more than 20% reduction in the number of servers required compared with UNIX. The survey, by META Group, found that in one large telecommunications company, consolidation on Windows allowed a greater than 50 percent reduction in the number of required servers. The survey also found a more than 50 percent improvement in areas such as reliability, accessibility and scalability; significant savings in cost management, IT staffing, performance monitoring and vendor management; and measurable savings in technical support and training. More than half of business function decision makers also saw significant improvements in areas such as consistency, accuracy, reporting enhancement and performance. "Windows is now a mainstream option for the vast majority of ERP projects," META Group concluded. A great case study is the Raiffeisen Bank Group, the largest private bank group in Austria with about 2,600 branches. It wanted to reduce costs and provide better customer service by consolidating the number of servers in its branches by 50 percent. Raiffeisen investigated migrating from UNIX to either Linux or Windows. After evaluating the possible solutions, the company found that Windows Server 2003 would provide the most economical solution along with better performance, while giving bank employees an integrated view of customer information that they needed to improve customer service. (Raiffeisen Bank Group Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15519) One of our mid-market customers had a similar experience. Grand Expeditions is a consortium of luxury travel companies that significantly reduced its Web development and hosting costs, and improved site reliability and performance, by moving from a combination of Linux- and UNIX-based servers to Windows Server 2003 and the Windows Server System. The new system was up and running in just 60 days, and is saving Grand Expeditions $200,000 a year. (Grand Expeditions Case Study - http://www.microsoft.com/windowsserversystem/facts/casestudies/CaseStudy.asp x?CaseStudyID=15397) IN CLOSING... There is no question that customers are benefiting today from a healthy, competitive IT industry. Competition requires companies to really focus in on what customers want and need. At the same time, customers have a clearer opportunity than ever before to evaluate choices. For example, BET.com, the Internet portal created by Viacom subsidiary BET Networks, did an in-depth comparison of Red Hat Linux and Windows Server System. They found that Windows offered 30% lower TCO, was more secure and reliable, and enabled quicker time to market. As BET.com's CTO, Navarrow Wright, said: "When I looked at all the costs - not just the straight price of software - a Windows Server System-based solution made better financial sense than sticking with our Sun and Oracle environment or switching to Linux. We decided to migrate the whole enterprise from various software vendors to standardize all of our software on Microsoft." By implementing Windows Server 2003, Windows XP Professional, Office Professional Edition 2003, Exchange Server 2003, Content Management Server 2003 and Visual Studio .NET 2003, BET.com conservatively estimated that its workforce will increase productivity by 25-30%, while saving significantly in licensing and redevelopment costs. As organizations increasingly rely on IT to perform mission-critical functions, and with complexity a growing challenge, choosing the right computing platform for the long term can make the difference between profit and loss, and between future success and failure. And it's pretty clear that the facts show that Windows provides a lower total cost of ownership than Linux; the number of security vulnerabilities is lower on Windows, and Windows responsiveness on security is better than Linux; and Microsoft provides uncapped IP indemnification of their products, while no such comprehensive offering is available for Linux or open source. The vision and benefits of an integrated platform are what distinguish Microsoft's approach to software. The Windows platform today offers an unmatched level of value, applications availability, simplicity, security and productivity. For Microsoft, this is truly a cross-company effort that requires the server and client operating systems to seamlessly deliver great usability and manageability features, applications that deliver compelling scenarios, and tools that enable developers and ISVs to easily and quickly build new applications on the platform. It's important that customers have all the information they need when making critical and expensive IT decisions. If the evidence at our www.microsoft.com/getthefacts Web site doesn't sufficiently convey the benefits and value of the Microsoft platform, we want to hear from you so we can work even harder to get that information to you. If you would like to have a more detailed discussion about your company's IT needs, email Martin Taylor at martinta at microsoft.com. Steve Ballmer To contact Microsoft, write to us at One Microsoft Way, Redmond, Wash, 98052. To manage your Microsoft.com subscriptions, please sign in at the Microsoft Profile Center here: http://g.microsoft.com/mh_mshp/48. To see the Microsoft.com Privacy Statement, please go to http://www.microsoft.com/info/privacy.mspx. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Thu Oct 28 13:43:14 2004 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 28 Oct 2004 20:43:14 +0200 Subject: [AccessD] barcode and in stock managment References: <46B976F2B698FF46A4FE7636509B22DF7370@stekelbes.ithelps.local> Message-ID: <003701c4bd27$ec0f5ae0$f5c581d5@pedro> Hello All, thanks for your reply. You maybe missunderstood my question. I already work with barcodes for years. They don't have that many secrets for me. I asked for help on a database for Stock managment, for examples of such a database. Pedro Janssen ----- Original Message ----- From: "Erwin Craps - IT Helps" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 27, 2004 4:28 PM Subject: RE: [AccessD] barcode and in stock managment > The in-between-keyboard barcodescanner only works with PS2 type of > keyboards. > Some brand are migrating to USB connector keyboards. > > The in-between-keyboard barcodescanner does not work when no PS2 > keyboard is connected. > > Erwin > > -----Oorspronkelijk bericht----- > Van: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] Namens Colby, John > Verzonden: woensdag 27 oktober 2004 16:07 > Aan: 'Access Developers discussion and problem solving' > Onderwerp: RE: [AccessD] barcode and in stock managment > > >The barcode reader we purchased acted like any input device. Whatever > field the cursor is in, is where the data is placed. > > You might want to go with a serial port reader (or usb port these > days?). > > The alternative as a "keyboard wedge" type (sits between the keyboard > and PC, inserting the data right into the keyboard stream). These cause > problems. > > The reason is that with the serial port readers you have control over > where and when you read the bar code. I have used both and, users being > users, when you use the "keyboard wedge", you ALWAYS end up with garbage > in word documents, excel documents, the wrong form etc. Basically the > user forgets to go to the right place before scanning and they corrupt > whatever data they the insertion pointer (cursor / focus) is currently > on. > > The serial port type is more difficult to get set up since you have to > use a serial port control (comes with vba), but once set up you can turn > on / off the reader (or more correctly the serial port) > programmatically, thus controlling when the user can scan data. > > John W. Colby > The DIS Database Guy > > > -----Original Message----- > From: Jim Hewson [mailto:JHewson at karta.com] > Sent: Wednesday, October 27, 2004 9:44 AM > To: Access Developers discussion and problem solving > Subject: RE: [AccessD] barcode and in stock managment > > > > A couple of years ago, we wanted to use barcodes for specimens used in > evaluating inspectors. > After much research on the code to generate the barcode, we purchased a > barcode reader. > After we purchased the barcode reader, we realized how simple it was. > The barcode reader came with the code to generate the barcode and > instructions on how to scan the items. > In hindsight, we should have bought the barcode reader first, then if > needed, do the research to generate the barcode. > My recommendation is to decide which barcode reader you want to use > first. > The information that comes with the barcode reader might just have all > the information you need. > In Access the easiest barcode to use is called Code 39, which is easily > downloaded as a font. As a font, it can be used for any alphanumeric > character and can be printed on labels, forms, etc. > > The barcode reader we purchased acted like any input device. Whatever > field the cursor is in, is where the data is placed. > > HTH > Jim H. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of pedro at plex.nl > Sent: Wednesday, October 27, 2004 7:38 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] barcode and in stock managment > > > Hello group, > > who can point me in the right direction on the development of a database > where i use barcode with: In Stock managment. > > Thanks > > Pedro Janssen > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd667 at yahoo.com Thu Oct 28 15:02:35 2004 From: accessd667 at yahoo.com (S D) Date: Thu, 28 Oct 2004 13:02:35 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? *SOLVED* In-Reply-To: <19614813350.20041028121831@cactus.dk> Message-ID: <20041028200235.33860.qmail@web61108.mail.yahoo.com> Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. From rl_stewart at highstream.net Thu Oct 28 15:22:21 2004 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Thu, 28 Oct 2004 15:22:21 -0500 Subject: [AccessD] Re: Access with a MySQL database In-Reply-To: <200410280955.i9S9tsL27348@databaseadvisors.com> Message-ID: <5.1.0.14.2.20041028151929.049a6780@pop3.highstream.net> Barb, That is what I figured. The only thing you need to watch out for when creating recordsets in code is in the db.openrecordset. On the end of it, you need to add dbseechanges. If you will change the queries to views as you can, you will also get better performance. But, essentially, you can almost do nothing to the front-end and make the change over to SQL Server. Robert At 04:55 AM 10/28/2004 -0500, you wrote: >Date: Wed, 27 Oct 2004 14:49:10 -0400 >From: "Barbara Ryan" >Subject: Re: [AccessD] Re: Access with a MySQL database >To: "Access Developers discussion and problem solving" > >Message-ID: <002101c4bc55$a5ac6fc0$0a00a8c0 at cx470148a> >Content-Type: text/plain; charset="iso-8859-1" > >That's good news (regarding Microsoft SQL) --- they currently are using >Access 97, but are converting to XP in the near future, so looks like >they'll have it. I don't think that they will have more than 10 users. > >Barb > > >----- Original Message ----- >From: "Robert L. Stewart" >To: >Cc: >Sent: Wednesday, October 27, 2004 2:20 PM >Subject: [AccessD] Re: Access with a MySQL database > > > > If they have Office 2000 or higher, they have SQL Server in the MSDE. > > It is good for up to 10 concurrent users. > > > > My SQL does not support stored procedures, views, or referential > > integrity. SQL Server, even the MSDE, does. > > > > Robert From accessd at shaw.ca Thu Oct 28 16:39:04 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Thu, 28 Oct 2004 14:39:04 -0700 Subject: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* In-Reply-To: <20041028200235.33860.qmail@web61108.mail.yahoo.com> Message-ID: Hi Sanders: That is great and the solution was very creative. A code sample would be in order... Excellent solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 01:49:51 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 08:49:51 +0200 Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? *SOLVED* In-Reply-To: <20041028200235.33860.qmail@web61108.mail.yahoo.com> References: <20041028200235.33860.qmail@web61108.mail.yahoo.com> Message-ID: <1711731299.20041029084951@cactus.dk> Hi Sander Nice! However, if it adds 11 seconds to read a 250K file off the network compared to read it from local disk, it is not a "slow Novell network" just a slow network where something represents a bottleneck which needs an upgrade. /gustav > Jim, Gustav, > thnx for the replies. > However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. > Load the file (wich I first copied to the desktop) in an array; > then I opened 3 rsts > Then I loop-ed through the file until the UBOUND(array) was found > did a addnew + update after each found 'tag' > exited the loop, > closed the rsts > and voila! Remember the 25 hours.....how about 3 seconds!!! > Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) > The problem was that the 'programmer' that designed and build the app did the following: > While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... > Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. > Sander From accessd667 at yahoo.com Fri Oct 29 02:21:07 2004 From: accessd667 at yahoo.com (S D) Date: Fri, 29 Oct 2004 00:21:07 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* In-Reply-To: Message-ID: <20041029072107.87715.qmail@web61101.mail.yahoo.com> Here ya go (BTW I did NOT invent this naming convention!!!!!!!! FS used to be an object as was 'a', astrLineContents used to be strLineContents, etc.) If you need more info => ask! Dim FS As FileSystemObject Dim a As TextStream Dim strBuff As String Dim astrLineContents() As String Set a = FS.OpenTextFile(strFileName) strBuff = a.ReadAll a.Close astrLineContents = Split(strBuff, Chr(10)) lngMessageNumber = Val(Mid(astrLineContents(2), 21, 9)) strDateConversion = Mid(astrLineContents(3), 5, 8) IntArrayCounter = UBound(astrLineContents) + 1 Set db = CurrentDb() Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) For intJ = 0 To UBound(astrLineContents) strLineStart = Left(astrLineContents(intJ), 7) Select Case strLineStart Case "#MEDTD1" 'Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) recD1.AddNew recD1.Update 'recD1.Close DoEvents Case "#MEDTD2" 'Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) recD2.AddNew recD2.Update 'recD2.Close DoEvents Case "#MEDTD3" 'Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) recD3.AddNew recD3.Update 'recS1.Close DoEvents End Select Next intJ recD1.Close recD2.Close recD3.Close "Jim Lawrence (AccessD)" wrote: Hi Sanders: That is great and the solution was very creative. A code sample would be in order... Excellent solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From accessd667 at yahoo.com Fri Oct 29 02:23:02 2004 From: accessd667 at yahoo.com (S D) Date: Fri, 29 Oct 2004 00:23:02 -0700 (PDT) Subject: [AccessD] pls advise: Performance problem => Staging + UpdateBatch? *SOLVED* In-Reply-To: <1711731299.20041029084951@cactus.dk> Message-ID: <20041029072302.85990.qmail@web61106.mail.yahoo.com> I didn't mean to say that Novell has slow networks but this one is! "a bottleneck"?? We've got several crates full of bottlenecks :-) Gustav Brock wrote: Hi Sander Nice! However, if it adds 11 seconds to read a 250K file off the network compared to read it from local disk, it is not a "slow Novell network" just a slow network where something represents a bottleneck which needs an upgrade. /gustav > Jim, Gustav, > thnx for the replies. > However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. > Load the file (wich I first copied to the desktop) in an array; > then I opened 3 rsts > Then I loop-ed through the file until the UBOUND(array) was found > did a addnew + update after each found 'tag' > exited the loop, > closed the rsts > and voila! Remember the 25 hours.....how about 3 seconds!!! > Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) > The problem was that the 'programmer' that designed and build the app did the following: > While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... > Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. From paul.hartland at isharp.co.uk Fri Oct 29 02:33:45 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 08:33:45 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel Message-ID: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> To all, I have the following code in a database: Dim objExcel As Excel.Application Dim objWB As Excel.Workbook Dim strSaveAs As String Set objExcel = New Excel.Application Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a path provided by the user strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" objWB.SaveAs strSaveAs objWB.Close Set objWB = Nothing objExcel.Quit Set objExcel = Nothing This should be so simple but I get the following error message on the objExcel.Workbooks.OpenText line: Expected Function or Variable Can anyone help on this...... Thanks in advance for any help. PAUL HARTLAND Database Designer/Programmer paul.hartland at isharp.co.uk ISHARP DDI - 01922 472031 Mobile - 07730 523179 ISHARP (Information Services for Hospitality, Audit, Retail and Pharmacy) provide IT resources for the Christie Group Stock & Inventory Services companies. From gustav at cactus.dk Fri Oct 29 03:42:14 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 10:42:14 +0200 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> References: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> Message-ID: <1228474155.20041029104214@cactus.dk> Hi Paul Try with Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) /gustav > I have the following code in a database: > Dim objExcel As Excel.Application > Dim objWB As Excel.Workbook > Dim strSaveAs As String > Set objExcel = New Excel.Application > Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a > path provided by the user > strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > objWB.SaveAs strSaveAs > objWB.Close > Set objWB = Nothing > objExcel.Quit > Set objExcel = Nothing > This should be so simple but I get the following error message on the > objExcel.Workbooks.OpenText line: > Expected Function or Variable From paul.hartland at isharp.co.uk Fri Oct 29 05:28:29 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 11:28:29 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C4689365500C3@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C46893655228E@primary.orridge.co.uk> Gustav, Tried the line you sent and got the following error message now: Method 'Open' of object 'Workbooks' failed Any ideas ? Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 29 October 2004 09:42 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel Hi Paul Try with Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) /gustav > I have the following code in a database: > Dim objExcel As Excel.Application > Dim objWB As Excel.Workbook > Dim strSaveAs As String > Set objExcel = New Excel.Application > Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a > path provided by the user > strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > objWB.SaveAs strSaveAs > objWB.Close > Set objWB = Nothing > objExcel.Quit > Set objExcel = Nothing > This should be so simple but I get the following error message on the > objExcel.Workbooks.OpenText line: > Expected Function or Variable -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Fri Oct 29 07:38:01 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 14:38:01 +0200 Subject: [AccessD] FTP command line, passive mode Message-ID: <17922621718.20041029143801@cactus.dk> Hi all A client has an app which uses a lot of calls of the standard Windows FTP command line utility with script files. However, the client now need it to run in passive mode which the Windows FTP thing can not. I can rewrite the app using 3D-FTP but that will be a lot of work - so I wonder if anyone is aware of a direct replacement which can understand the script files you can pass to Windows FTP? /gustav From gustav at cactus.dk Fri Oct 29 07:50:40 2004 From: gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Oct 2004 14:50:40 +0200 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893655228E@primary.orridge.co.uk> References: <668C5C868606C641857281147C46893655228E@primary.orridge.co.uk> Message-ID: <1823381100.20041029145040@cactus.dk> Hi Paul This works all the time for me. Something else must be going on at your side. Are you sure the filename is stated correctly? Put in Debug.Print strLoc and read. /gustav > Gustav, > Tried the line you sent and got the following error message now: > Method 'Open' of object 'Workbooks' failed > Any ideas ? > Paul > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 29 October 2004 09:42 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel > Hi Paul > Try with > Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) > /gustav >> I have the following code in a database: >> Dim objExcel As Excel.Application >> Dim objWB As Excel.Workbook >> Dim strSaveAs As String >> Set objExcel = New Excel.Application >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a >> path provided by the user >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" >> objWB.SaveAs strSaveAs >> objWB.Close >> Set objWB = Nothing >> objExcel.Quit >> Set objExcel = Nothing >> This should be so simple but I get the following error message on the >> objExcel.Workbooks.OpenText line: >> Expected Function or Variable From accessd at shaw.ca Fri Oct 29 08:01:29 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Fri, 29 Oct 2004 06:01:29 -0700 Subject: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* In-Reply-To: <20041029072107.87715.qmail@web61101.mail.yahoo.com> Message-ID: Thnks Sander...Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Friday, October 29, 2004 12:21 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Here ya go (BTW I did NOT invent this naming convention!!!!!!!! FS used to be an object as was 'a', astrLineContents used to be strLineContents, etc.) If you need more info => ask! Dim FS As FileSystemObject Dim a As TextStream Dim strBuff As String Dim astrLineContents() As String Set a = FS.OpenTextFile(strFileName) strBuff = a.ReadAll a.Close astrLineContents = Split(strBuff, Chr(10)) lngMessageNumber = Val(Mid(astrLineContents(2), 21, 9)) strDateConversion = Mid(astrLineContents(3), 5, 8) IntArrayCounter = UBound(astrLineContents) + 1 Set db = CurrentDb() Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) For intJ = 0 To UBound(astrLineContents) strLineStart = Left(astrLineContents(intJ), 7) Select Case strLineStart Case "#MEDTD1" 'Set recD1 = db.OpenRecordset("V2_210_MEDTD1", dbOpenDynaset) recD1.AddNew recD1.Update 'recD1.Close DoEvents Case "#MEDTD2" 'Set recD2 = db.OpenRecordset("V2_210_MEDTD2", dbOpenDynaset) recD2.AddNew recD2.Update 'recD2.Close DoEvents Case "#MEDTD3" 'Set recD3 = db.OpenRecordset("V2_210_MEDTD3", dbOpenDynaset) recD3.AddNew recD3.Update 'recS1.Close DoEvents End Select Next intJ recD1.Close recD2.Close recD3.Close "Jim Lawrence (AccessD)" wrote: Hi Sanders: That is great and the solution was very creative. A code sample would be in order... Excellent solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of S D Sent: Thursday, October 28, 2004 1:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] pls advise: Performance problem => Staging +UpdateBatch? *SOLVED* Jim, Gustav, thnx for the replies. However, while I was 'fondeling' around I was looking at the code, network stats, doing some prototyping I came up with the following. Load the file (wich I first copied to the desktop) in an array; then I opened 3 rsts Then I loop-ed through the file until the UBOUND(array) was found did a addnew + update after each found 'tag' exited the loop, closed the rsts and voila! Remember the 25 hours.....how about 3 seconds!!! Then I skipped the copying part and left the file on the network, still 14 seconds. Maybe it can be done faster but I think a 50,000% performance improvement will do just fine :-) The problem was that the 'programmer' that designed and build the app did the following: While looping through the file he opened and closed a recordset every time he found a 'tag' So that could be about 5500 times! Over a slow novell network using a 800Mb Fe-Be app.... Well it works. Now all I have to do is create the transaction thingy Gustav said. Just read about it in the bible...aka ADHB2K by litwin, gilbert and getz...get it ;-) Sjee, it's getting a bit late. Sander Hi Sander: I was working on a contract to roll-out an update inventory database, for a number of stores, this summer. The system had each computer, with it's own full database, which could be fully independent (in the event of a catastrophic failure on the LAN, the POS system had to run). After the database was rebuilt on the server, it was then transferred to each station across the LAN. The late-night process could take 20 to 30 minutes per station. Given that some sites had ten terminals the process would have been very time-consuming. We sped the process by zipping the master DB and then broadcasting the result. It would now only take three minutes per station, as the database and in your case, a flat-file, compress down very nicely. HTH Jim Gustav Brock wrote:Hi Sander First, reading a 0,25 MB file off the network should be fast, no need to copy the file first. But that is easy to test ... just try with a local copy. Second, you can read the file directly with a query as you did for exporting. Then use this query as the source for three append queries, one for each table. Further, this step you can wrap in a BeginTrans/CommitTrans to give you the option of rolling back. /gustav > Hi group, > I've got a A2K (that needs to migrate to XP) app that needs to import a flatfile. > A 267kb file takes about 25-28 HOURS(!!) to proces. Yes, it's a slow network. > I need to improve this. > This is how it 'works' now: > 1 - read the file on the network to determine the number of lines > 2 - start a for x=0 to NumberOfLines loop > 3 - check the first x characters in the line > 4 - create a new record in a table (table depends on step 3, there are 5 different tables to store the records) > 5 - execute an update > 6 - goto the next record > Here's how I want to do it: > 1 - copy the file from the network to the desktop > 2 - import the complete file in a staging table > 3 - Use an UpdateBatch mechanisme to update the BE. > Question: > How can i implement this UpdateBatch? I mean I have to store the records for each table > and after the complete file is processed I want to update all tables. > Question: > I need to implement a transaction. If the processing failes somewhere I need to rollback the changes (if I use an updatebatch this is probably not necesseray but it's good programming I think) > any tips/advice is greatly appreciated!! > Regards, > Sander -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --------------------------------- Do you Yahoo!? Yahoo! Mail Address AutoComplete - You start. We finish. -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From paul.hartland at isharp.co.uk Fri Oct 29 08:15:11 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 14:15:11 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C468936550110@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C468936552296@primary.orridge.co.uk> Yeah the path is returned as follows C:\PNProject\Critpath_Fin.csv Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 29 October 2004 13:51 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel Hi Paul This works all the time for me. Something else must be going on at your side. Are you sure the filename is stated correctly? Put in Debug.Print strLoc and read. /gustav > Gustav, > Tried the line you sent and got the following error message now: > Method 'Open' of object 'Workbooks' failed > Any ideas ? > Paul > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: 29 October 2004 09:42 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel > Hi Paul > Try with > Set objWB = objExcel.Workbooks.Open(FileName:=strLoc) > /gustav >> I have the following code in a database: >> Dim objExcel As Excel.Application >> Dim objWB As Excel.Workbook >> Dim strSaveAs As String >> Set objExcel = New Excel.Application >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a >> path provided by the user >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" >> objWB.SaveAs strSaveAs >> objWB.Close >> Set objWB = Nothing >> objExcel.Quit >> Set objExcel = Nothing >> This should be so simple but I get the following error message on the >> objExcel.Workbooks.OpenText line: >> Expected Function or Variable -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 29 08:31:55 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 09:31:55 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C468936552296@primary.orridge.co.uk> References: <668C5C868606C641857281147C468936550110@primary.orridge.co.uk> <668C5C868606C641857281147C468936552296@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 14:15:11 +0100, Paul Hartland (ISHARP) wrote: > Yeah the path is returned as follows > > C:\PNProject\Critpath_Fin.csv Have you set a reference to the Excel Object? -- 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 paul.hartland at isharp.co.uk Fri Oct 29 08:49:58 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 14:49:58 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893655013F@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C46893655229F@primary.orridge.co.uk> Yes see original code sent below: >> I have the following code in a database: >> Dim objExcel As Excel.Application >> Dim objWB As Excel.Workbook >> Dim strSaveAs As String >> Set objExcel = New Excel.Application >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a >> path provided by the user >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" >> objWB.SaveAs strSaveAs >> objWB.Close >> Set objWB = Nothing >> objExcel.Quit >> Set objExcel = Nothing Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: 29 October 2004 14:32 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel On Fri, 29 Oct 2004 14:15:11 +0100, Paul Hartland (ISHARP) wrote: > Yeah the path is returned as follows > > C:\PNProject\Critpath_Fin.csv Have you set a reference to the Excel Object? -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 29 08:47:43 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 29 Oct 2004 09:47:43 -0400 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <17922621718.20041029143801@cactus.dk> Message-ID: <000601c4bdbd$ddea6090$0200a8c0@COA3> What does "passive mode" mean in this context? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 29, 2004 8:38 AM To: Access Developers discussion and problem solving Subject: [AccessD] FTP command line, passive mode Hi all A client has an app which uses a lot of calls of the standard Windows FTP command line utility with script files. However, the client now need it to run in passive mode which the Windows FTP thing can not. I can rewrite the app using 3D-FTP but that will be a lot of work - so I wonder if anyone is aware of a direct replacement which can understand the script files you can pass to Windows FTP? /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 29 09:17:14 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 10:17:14 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893655229F@primary.orridge.co.uk> References: <668C5C868606C641857281147C46893655013F@primary.orridge.co.uk> <668C5C868606C641857281147C46893655229F@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 14:49:58 +0100, Paul Hartland (ISHARP) wrote: > Yes see original code sent below: > >> I have the following code in a database: > > >> Dim objExcel As Excel.Application > >> Dim objWB As Excel.Workbook > >> Dim strSaveAs As String > > >> Set objExcel = New Excel.Application > >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is > a > >> path provided by the user > > >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > > >> objWB.SaveAs strSaveAs > > >> objWB.Close > >> Set objWB = Nothing > >> objExcel.Quit > >> Set objExcel = Nothing I meant from the VBE Tools| References and then select Microsoft Excel x.0 Object Library not dimming a variable. -- 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 paul.hartland at isharp.co.uk Fri Oct 29 09:33:06 2004 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Fri, 29 Oct 2004 15:33:06 +0100 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C468936550162@primary.orridge.co.uk> Message-ID: <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> Bryan, Yes it's pointing to the Excel 8.0 object library, using Access 97. The CSV file by the way has Unix end of line characters if that makes a difference... Paul -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: 29 October 2004 15:17 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Open CSV file using Excel object and save as Excel On Fri, 29 Oct 2004 14:49:58 +0100, Paul Hartland (ISHARP) wrote: > Yes see original code sent below: > >> I have the following code in a database: > > >> Dim objExcel As Excel.Application > >> Dim objWB As Excel.Workbook > >> Dim strSaveAs As String > > >> Set objExcel = New Excel.Application > >> Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is > a > >> path provided by the user > > >> strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" > > >> objWB.SaveAs strSaveAs > > >> objWB.Close > >> Set objWB = Nothing > >> objExcel.Quit > >> Set objExcel = Nothing I meant from the VBE Tools| References and then select Microsoft Excel x.0 Object Library not dimming a variable. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JRojas at tnco-inc.com Fri Oct 29 09:46:45 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 29 Oct 2004 10:46:45 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059F63@mercury.tnco-inc.com> Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From carbonnb at gmail.com Fri Oct 29 09:46:53 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 10:46:53 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> References: <668C5C868606C641857281147C468936550162@primary.orridge.co.uk> <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 15:33:06 +0100, Paul Hartland (ISHARP) wrote: > Bryan, > > Yes it's pointing to the Excel 8.0 object library, using Access 97. The CSV > file by the way has Unix end of line characters if that makes a > difference... Nope it shouldn't. I just figured out what the problem may be: The line: Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a path provided by the user should be: objExcel.Workbooks.OpenText strLoc OpenText requires the Workbooks object. You were trying to set a workbook (no s) object as the result of the OpenText. If you need a reference to the workbook object that gets opened, you can use this line: Set objWB = objExcel.Workbooks.Open(strLoc) Hope this make sense. -- Bryan Carbonnell - carbonnb at gmail.com Life's journey is not to arrive at the grave safely in a well preserved body, but rather to skid in sideways, totally worn out, shouting "What a great ride!" From carbonnb at gmail.com Fri Oct 29 09:47:41 2004 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 29 Oct 2004 10:47:41 -0400 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: References: <668C5C868606C641857281147C468936550162@primary.orridge.co.uk> <668C5C868606C641857281147C4689365522A9@primary.orridge.co.uk> Message-ID: On Fri, 29 Oct 2004 10:46:53 -0400, Bryan Carbonnell wrote: > On Fri, 29 Oct 2004 15:33:06 +0100, Paul Hartland (ISHARP) > wrote: > > Bryan, > > > > Yes it's pointing to the Excel 8.0 object library, using Access 97. The CSV > > file by the way has Unix end of line characters if that makes a > > difference... > > Nope it shouldn't. > > I just figured out what the problem may be: > > The line: > Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a > path provided by the user > > should be: > objExcel.Workbooks.OpenText strLoc > > OpenText requires the Workbooks object. > > You were trying to set a workbook (no s) object as the result of the OpenText. > > If you need a reference to the workbook object that gets opened, you > can use this line: > Set objWB = objExcel.Workbooks.Open(strLoc) > > Hope this make sense. Forgot to add, Unix LF don't make a difference. -- 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 joeget at vgernet.net Fri Oct 29 09:54:05 2004 From: joeget at vgernet.net (John Eget) Date: Fri, 29 Oct 2004 10:54:05 -0400 Subject: [AccessD] access security Message-ID: <00ef01c4bdc7$26daedc0$45c2f63f@Desktop> I am trying to fix a security issue at my site. My managers like to edit or delete records that they think are inappropriate in a product audit database and usually fail to inform anyone of this. I have locked them out of the backend access by the front end with the directory properties of windows for the back end. But this also does not allow them to enter records either. But I would also like to take one step further and not allow individuals that are entering records into the database from either deleting or editing other individual records. Can anyone share with me how they may have done this in the past? Thanks in advance John From cfoust at infostatsystems.com Fri Oct 29 10:19:44 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Oct 2004 08:19:44 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 bchacc at san.rr.com Fri Oct 29 10:32:39 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 08:32:39 -0700 Subject: [AccessD] Shortcuts Working without Alt Key Message-ID: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> Dear List: Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com From tdd-inc at shaw.ca Fri Oct 29 10:32:50 2004 From: tdd-inc at shaw.ca (Technical Designs) Date: Fri, 29 Oct 2004 08:32:50 -0700 Subject: [AccessD] Open CSV file using Excel object and save as Excel In-Reply-To: <668C5C868606C641857281147C46893604C4D7@primary.orridge.co.uk> Message-ID: <005501c4bdcc$8fda6850$7801a8c0@cadcam> Paul, In your line... strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" shouldn't the left ( be equal to the right ) Phil -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: Friday, October 29, 2004 12:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Open CSV file using Excel object and save as Excel To all, I have the following code in a database: Dim objExcel As Excel.Application Dim objWB As Excel.Workbook Dim strSaveAs As String Set objExcel = New Excel.Application Set objWB = objExcel.Workbooks.OpenText(strLoc) ' NOTE: strLoc is a path provided by the user strSaveAs = Left(strLoc,((Len(Trim(strLoc))-4)) & ".xls" objWB.SaveAs strSaveAs objWB.Close Set objWB = Nothing objExcel.Quit Set objExcel = Nothing This should be so simple but I get the following error message on the objExcel.Workbooks.OpenText line: Expected Function or Variable Can anyone help on this...... Thanks in advance for any help. PAUL HARTLAND Database Designer/Programmer paul.hartland at isharp.co.uk ISHARP DDI - 01922 472031 Mobile - 07730 523179 ISHARP (Information Services for Hospitality, Audit, Retail and Pharmacy) provide IT resources for the Christie Group Stock & Inventory Services companies. From mikedorism at adelphia.net Fri Oct 29 10:36:16 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 11:36:16 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059F63@mercury.tnco-inc.com> Message-ID: <000201c4bdcd$07f4de10$060aa845@hargrove.internal> Try the code below... Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com ************************************ Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim objSave as Object Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) ' Create the Redemption object Set objSafe = CreateObject("Redemption.SafeTaskItem") objSafe.Item = objOutlookTsk With objSafe ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) .Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objSafe = nothing Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function From mikedorism at adelphia.net Fri Oct 29 10:37:56 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 11:37:56 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. In-Reply-To: Message-ID: <000301c4bdcd$43625680$060aa845@hargrove.internal> Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 Lambert.Heenan at AIG.com Fri Oct 29 10:32:08 2004 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 29 Oct 2004 11:32:08 -0400 Subject: [AccessD] access security Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F0471AB31@xlivmbx21.aig.com> They can't enter records because you've taken away their write permissions to the back-end folder - so it looks read-only to them. The best solution is to use the built in Access security. While it's not immune to cracking, it will keep busy people who don't have time for hacking at bay. Alternatively, just ensure that the users NEVER get to see the database window and so get direct access to tables and queries where they can delete things. In your forms you can control what actions take place quite easily. Lambert > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [SMTP:accessd-bounces at databaseadvisors.com] On Behalf Of John Eget > Sent: Friday, October 29, 2004 10:54 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] access security > > I am trying to fix a security issue at my site. My managers like to edit > or delete records that they think are inappropriate in a product audit > database and usually fail to inform anyone of this. I have locked them out > of the backend access by the front end with the directory properties of > windows for the back end. But this also does not allow them to enter > records either. But I would also like to take one step further and not > allow individuals that are entering records into the database from either > deleting or editing other individual records. Can anyone share with me how > they may have done this in the past? > Thanks in advance > John > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 29 11:16:47 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Oct 2004 09:16:47 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Message-ID: I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 JRojas at tnco-inc.com Fri Oct 29 11:44:22 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 29 Oct 2004 12:44:22 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059F67@mercury.tnco-inc.com> Thanks for the help so far! To Charlotte: I am using the unlicensed version until I can get my code to work. I am only using it right now for testing. If I can get it to do what I need it to do, I will purchase it right away! To M&D: Thanks for the code. I tried it out and it works as planned. The only issue that I have is that the recipient cannot open the item. This is the problem that I had run into before I posted to the AccessD list. When the recipient tries to open the task request they get an error message of "Can't open this item. The property does not exist. The field you want to modify is not valid for this type of item." Any idea what is going on? TIA again! JR -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From JRojas at tnco-inc.com Fri Oct 29 11:45:00 2004 From: JRojas at tnco-inc.com (Joe Rojas) Date: Fri, 29 Oct 2004 12:45:00 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Message-ID: <0CC84C9461AE6445AD5A602001C41C4B059F68@mercury.tnco-inc.com> I am using the code the M&D Manning provided for me. JR -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlook task. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage caused by any virus transmitted by this email. From mikedorism at adelphia.net Fri Oct 29 11:48:57 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 12:48:57 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. In-Reply-To: Message-ID: <000601c4bdd7$2f08f130$060aa845@hargrove.internal> Totally understood. We are an all Microsoft shop so it is a little easier for us to make that assumption. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 pharold at proftesting.com Fri Oct 29 11:42:40 2004 From: pharold at proftesting.com (Perry Harold) Date: Fri, 29 Oct 2004 12:42:40 -0400 Subject: [AccessD] Shortcuts Working without Alt Key In-Reply-To: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> Message-ID: <000301c4bdd6$4fad8780$082da8c0@D58BT131> Stuck Key? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, October 29, 2004 11:33 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Shortcuts Working without Alt Key Dear List: Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Fri Oct 29 11:58:55 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 29 Oct 2004 09:58:55 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> Message-ID: <418276CF.1070701@shaw.ca> Could be orange juice in the keyboard, or maybe one of disabled accessibilty options has been turned. in Access press the shift button rapidly for 5 seconds. This will allow you to set "sticky" keys. If it has been turned on previously check settings tab when window pops ups up in response to pressing shift rapidly. Rocky Smolin - Beach Access Software wrote: >Dear List: > >Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. > >MTIA > >Rocky Smolin >Beach Access Software >http://www.e-z-mrp.com > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Fri Oct 29 12:01:50 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 29 Oct 2004 12:01:50 -0500 Subject: [AccessD] Shortcuts Working without Alt Key Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371DA@corp-es01.fleetpride.com> Scroll lock on? -----Original Message----- From: Perry Harold [mailto:pharold at proftesting.com] Sent: Friday, October 29, 2004 11:43 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Shortcuts Working without Alt Key Stuck Key? Perry Harold -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, October 29, 2004 11:33 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Shortcuts Working without Alt Key Dear List: Suddenly, the shortcuts on my forms (the underlined characters) are working without pressing the ALT key. This is no good! Does anyone know how this could happen? It happens on all mdb files. MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 29 12:07:20 2004 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 29 Oct 2004 10:07:20 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Message-ID: Out clients are all over the world and many rig-site users aren't particularly computer literate, so they may have Outlook Express, Outlook, or something else entirely, and they may not even know which! We can't take chances. Charlotte Foust -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 9:49 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Totally understood. We are an all Microsoft shop so it is a little easier for us to make that assumption. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 bchacc at san.rr.com Fri Oct 29 12:20:11 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 10:20:11 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <000301c4bdd6$4fad8780$082da8c0@D58BT131> Message-ID: <01cb01c4bddb$8c327120$6701a8c0@HAL9002> No. It's the same on three different boxes. Now, there's a possibility I'm getting senile or losing my beans here. I use the underscore on all main menu command buttons so that the user doesn't have to use the mouse. Now I've ALWAYS thought that to use those underscores you had to use the Alt key simultaneously with the underscored character. So maybe I've never tried it without the Alt key. Now someone just told me that it always worked that way - no alt key required. So how do are those underscore shortcuts SUPPOSED to work? Rocky ----- Original Message ----- From: "Perry Harold" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 29, 2004 9:42 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > Stuck Key? > > Perry Harold > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, October 29, 2004 11:33 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Shortcuts Working without Alt Key > > > Dear List: > > Suddenly, the shortcuts on my forms (the underlined characters) are > working > without pressing the ALT key. This is no good! Does anyone know how this > could happen? It happens on all mdb files. > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Oct 29 12:29:55 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 10:29:55 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <00df01c4bdcc$86732e50$6701a8c0@HAL9002> <418276CF.1070701@shaw.ca> Message-ID: <01d501c4bddc$e7fd79e0$6701a8c0@HAL9002> Wow. A new feature. Never saw that before. But it didn't seem to have any effect on the menus. For example, my exit button has the word Exit with the x underscored. So when I press X the onClick event is triggered and the app closes. I always thought I needed to press Alt-X to get that to work. No? TIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Friday, October 29, 2004 9:58 AM Subject: Re: [AccessD] Shortcuts Working without Alt Key > Could be orange juice in the keyboard, or maybe one of disabled > accessibilty options has been turned. > in Access press the shift button rapidly for 5 seconds. This will allow > you to set "sticky" keys. If it has > been turned on previously check settings tab when window pops ups up in > response to pressing shift rapidly. > > Rocky Smolin - Beach Access Software wrote: > >>Dear List: >> >>Suddenly, the shortcuts on my forms (the underlined characters) are >>working without pressing the ALT key. This is no good! Does anyone know >>how this could happen? It happens on all mdb files. >>MTIA >> >>Rocky Smolin >>Beach Access Software >>http://www.e-z-mrp.com >> >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Oct 29 12:30:14 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 10:30:14 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: <6A6AA9DF57E4F046BDA1E273BDDB67723371DA@corp-es01.fleetpride.com> Message-ID: <01e001c4bddc$f3be5b50$6701a8c0@HAL9002> No. Rocky ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 29, 2004 10:01 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > Scroll lock on? > > -----Original Message----- > From: Perry Harold [mailto:pharold at proftesting.com] > Sent: Friday, October 29, 2004 11:43 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > > Stuck Key? > > Perry Harold > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, October 29, 2004 11:33 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Shortcuts Working without Alt Key > > > Dear List: > > Suddenly, the shortcuts on my forms (the underlined characters) are > working > without pressing the ALT key. This is no good! Does anyone know how this > could happen? It happens on all mdb files. > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > 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 cyx5 at cdc.gov Fri Oct 29 12:35:20 2004 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Fri, 29 Oct 2004 13:35:20 -0400 Subject: [AccessD] Shortcuts Working without Alt Key Message-ID: If the form that you are using does not have any data fields on it, then you can use the straight out press of the letter. If there is data fields on the form, the alt-key combo does it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Friday, October 29, 2004 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Shortcuts Working without Alt Key No. It's the same on three different boxes. Now, there's a possibility I'm getting senile or losing my beans here. I use the underscore on all main menu command buttons so that the user doesn't have to use the mouse. Now I've ALWAYS thought that to use those underscores you had to use the Alt key simultaneously with the underscored character. So maybe I've never tried it without the Alt key. Now someone just told me that it always worked that way - no alt key required. So how do are those underscore shortcuts SUPPOSED to work? Rocky ----- Original Message ----- From: "Perry Harold" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 29, 2004 9:42 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > Stuck Key? > > Perry Harold > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Friday, October 29, 2004 11:33 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Shortcuts Working without Alt Key > > > Dear List: > > Suddenly, the shortcuts on my forms (the underlined characters) are > working > without pressing the ALT key. This is no good! Does anyone know how this > could happen? It happens on all mdb files. > > MTIA > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at adelphia.net Fri Oct 29 12:44:58 2004 From: mikedorism at adelphia.net (Mike & Doris Manning) Date: Fri, 29 Oct 2004 13:44:58 -0400 Subject: [AccessD] OT: Help with using Redemption to assing an Outlooktask. In-Reply-To: <0CC84C9461AE6445AD5A602001C41C4B059F67@mercury.tnco-inc.com> Message-ID: <000d01c4bddf$0254b900$060aa845@hargrove.internal> I would contact Dmitri for help. It might be a problem with the object model that he hasn't run across or a bug within Redemption itself. Mike and Doris Manning mikedorism at adelphia.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Rojas Sent: Friday, October 29, 2004 12:44 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Thanks for the help so far! To Charlotte: I am using the unlicensed version until I can get my code to work. I am only using it right now for testing. If I can get it to do what I need it to do, I will purchase it right away! To M&D: Thanks for the code. I tried it out and it works as planned. The only issue that I have is that the recipient cannot open the item. This is the problem that I had run into before I posted to the AccessD list. When the recipient tries to open the task request they get an error message of "Can't open this item. The property does not exist. The field you want to modify is not valid for this type of item." Any idea what is going on? TIA again! JR -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Friday, October 29, 2004 12:17 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. I'll take your word for it. We don't assume that Outlook is installed or require it for our installations, so we use generic commands. Charlotte -----Original Message----- From: Mike & Doris Manning [mailto:mikedorism at adelphia.net] Sent: Friday, October 29, 2004 8:38 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. Redemption can use the Outlook.Application just as he has it. I've got fully functional code all over the place that does. Doris Manning Database Administrator Hargrove Inc. www.hargroveinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 29, 2004 11:20 AM To: Access Developers discussion and problem solving Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlooktask. It would be more useful to see the Redemption code you're trying to use. You have licensed the Redemption library, right? There is quite a bit of help that comes with it. Redemption code doesn't use the Outlook.Application object like that. It uses MAPI.Message and MAPI.Recipient and MAPI.Session. Charlotte Foust -----Original Message----- From: Joe Rojas [mailto:JRojas at tnco-inc.com] Sent: Friday, October 29, 2004 7:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. Hi All, I am asking this group my question on Redemption because I have seen several times when Redemption was offered as a solution for bypassing Outlook's e-mail security features. Below is a function that I am currently using that sends/assigns a task the Outlook Object Model only and works perfectly. I want to port this code so that it is using Redemption in order to bypass the e-mail security features. I have been trying to the past two days and have not had any luck. Can someone please help me with this? TIA! JR Public Function SendTask() Dim objOutlook As Outlook.Application Dim objOutlookTsk As Outlook.TaskItem Dim strRecipList() As String Dim strNum As String Dim DDueDate As Date Dim strNote As String Dim strBody As String Dim i As Integer strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") strNum = Forms![DMR Form]![tbDMRNum] DDueDate = Forms!PrevActions!tbDueDate strNote = Forms![DMR Form]!tbPartNo strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf ' Create the Outlook session. Set objOutlook = CreateObject("Outlook.Application") ' Create the message. Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) With objOutlookTsk ' Add the To recipient(s) to the message. For i = 0 To UBound(strRecipList) objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo Next ' Set the Subject, Body, and Importance of the message. .Subject = "Corrective Action for DMR#" & strNum & " - (" & strNote & ")" .Body = strBody .Importance = olImportanceHigh 'High importance .ReminderSet = True .ReminderTime = DDueDate - 7 .DueDate = DDueDate ' Resolve each Recipient's name. For Each objOutlookRecip In .Recipients objOutlookRecip.Resolve If Not objOutlookRecip.Resolve Then objOutlookTsk.Display End If Next .Save .Assign .Send End With Set objOutlookTsk = Nothing Set objOutlook = Nothing MsgBox "Task has been assigned.", , "Task sent" End Function This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 This electronic transmission is strictly confidential to TNCO, Inc. and intended solely for the addressee. It may contain information which is covered by legal, professional, or other privileges. If you are not the intended addressee, or someone authorized by the intended addressee to receive transmissions on behalf of the addressee, you must not retain, disclose in any form, copy, or take any action in reliance on this transmission. If you have received this transmission in error, please notify the sender as soon as possible and destroy this message. While TNCO, Inc. uses virus protection, the recipient should check this email and any attachments for the presence of viruses. TNCO, Inc. accepts no liability for any damage 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 Susan.Klos at fldoe.org Fri Oct 29 13:06:02 2004 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 29 Oct 2004 14:06:02 -0400 Subject: [AccessD] unbound report? Message-ID: <01B619CB8F6C8C478EDAC39191AEC51EE73935@doesefpeml02.eus.fldoe.int> I think I am going to need an unbound report for this part of my application. I have several crosstab queries. Each is based on two joined tables and gives a summary of the number of clients per month who used various available services. i.e. how many clients per month ate breakfast, lunch, and dinner. How many stayed in the motel facility. How many stayed in the cabins. How many used the RV/Tent camping facility. Etc. My problem is that when I go to create a report there might be no clients using one or more of these facilities during any given month. How do I create a report that will show the usage as 0 during a month where the query that I want to fill the report has no February, March, or April fields because no guests camped during those months? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From Jim.Hale at FleetPride.com Fri Oct 29 13:42:36 2004 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 29 Oct 2004 13:42:36 -0500 Subject: [AccessD] unbound report? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723371DC@corp-es01.fleetpride.com> Check out p 157 of Getz's ADH. He suggests using the IN clause. EX: PIVOT column-headings-field [IN(value1[,value2[,...etc]])] Jim Hale -----Original Message----- From: Klos, Susan [mailto:Susan.Klos at fldoe.org] Sent: Friday, October 29, 2004 1:06 PM To: 'AccessD at databaseadvisors.com' Subject: [AccessD] unbound report? I think I am going to need an unbound report for this part of my application. I have several crosstab queries. Each is based on two joined tables and gives a summary of the number of clients per month who used various available services. i.e. how many clients per month ate breakfast, lunch, and dinner. How many stayed in the motel facility. How many stayed in the cabins. How many used the RV/Tent camping facility. Etc. My problem is that when I go to create a report there might be no clients using one or more of these facilities during any given month. How do I create a report that will show the usage as 0 during a month where the query that I want to fill the report has no February, March, or April fields because no guests camped during those months? Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- _______________________________________________ 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 stephen at bondsoftware.co.nz Fri Oct 29 13:42:51 2004 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Sat, 30 Oct 2004 07:42:51 +1300 Subject: [AccessD] unbound report? Message-ID: <70F3D727890C784291D8433E9C418F298FD8@server.bondsoftware.co.nz> In the crosstab query Properties, look at Column Headings. The A2K help says 'use this property to specify the order or to limit the number of columns displayed', but you can use it to force an otherwise empty column to display as well. Stephen Bond > -----Original Message----- > From: Klos, Susan [mailto:Susan.Klos at fldoe.org] > Sent: Saturday, 30 October 2004 7:06 a.m. > To: 'AccessD at databaseadvisors.com' > Subject: [AccessD] unbound report? > > > I think I am going to need an unbound report for this part of my > application. I have several crosstab queries. Each is based > on two joined > tables and gives a summary of the number of clients per month who used > various available services. i.e. how many clients per month > ate breakfast, > lunch, and dinner. How many stayed in the motel facility. > How many stayed > in the cabins. How many used the RV/Tent camping facility. Etc. My > problem is that when I go to create a report there might be > no clients using > one or more of these facilities during any given month. How > do I create a > report that will show the usage as 0 during a month where the > query that I > want to fill the report has no February, March, or April > fields because no > guests camped during those months? > > > > Susan Klos > > Senior Database Analyst > > Evaluation and Reporting > > Florida Department of Education > > 850-245-0708 > > sc 205-0708 > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Fri Oct 29 13:59:42 2004 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 29 Oct 2004 11:59:42 -0700 Subject: [AccessD] Shortcuts Working without Alt Key References: Message-ID: <02b201c4bde9$73201ad0$6701a8c0@HAL9002> WHO KNEW???!!!! I feel like such a newbie sometimes. Thanks for the heads up, Karen. Rocky Smolin Beach Access Software http://www.e-z-mrp.com ----- Original Message ----- From: "Nicholson, Karen" To: "Access Developers discussion and problem solving" Sent: Friday, October 29, 2004 10:35 AM Subject: RE: [AccessD] Shortcuts Working without Alt Key > If the form that you are using does not have any data fields on it, then > you can use the straight out press of the letter. If there is data > fields on the form, the alt-key combo does it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Friday, October 29, 2004 1:20 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Shortcuts Working without Alt Key > > > No. It's the same on three different boxes. > > Now, there's a possibility I'm getting senile or losing my beans here. > I > use the underscore on all main menu command buttons so that the user > doesn't > have to use the mouse. > > Now I've ALWAYS thought that to use those underscores you had to use the > Alt > key simultaneously with the underscored character. So maybe I've never > tried it without the Alt key. > > Now someone just told me that it always worked that way - no alt key > required. > > So how do are those underscore shortcuts SUPPOSED to work? > > Rocky > > ----- Original Message ----- > From: "Perry Harold" > To: "'Access Developers discussion and problem solving'" > > Sent: Friday, October 29, 2004 9:42 AM > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > >> Stuck Key? >> >> Perry Harold >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - >> Beach Access Software >> Sent: Friday, October 29, 2004 11:33 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] Shortcuts Working without Alt Key >> >> >> Dear List: >> >> Suddenly, the shortcuts on my forms (the underlined characters) are >> working >> without pressing the ALT key. This is no good! Does anyone know how > this >> could happen? It happens on all mdb files. >> >> MTIA >> >> Rocky Smolin >> Beach Access Software >> http://www.e-z-mrp.com >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> >> -- >> _______________________________________________ >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Fri Oct 29 17:38:38 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 30 Oct 2004 08:38:38 +1000 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <000601c4bdbd$ddea6090$0200a8c0@COA3> References: <17922621718.20041029143801@cactus.dk> Message-ID: <4183530E.22988.39D653E@lexacorp.com.pg> On 29 Oct 2004 at 9:47, Steve Conklin (Developer at Ultr wrote: > What does "passive mode" mean in this context? > See RFC 959: The data transfer process, in its normal "active" state, establishes the data connection with the "listening" data port. It sets up parameters for transfer and storage, and transfers data on command from its PI. The DTP can be placed in a "passive" state to listen for, rather than initiate a connection on the data port. ----8<----- PASSIVE (PASV) This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command. The response to this command includes the host and port address this server is listening on. -- Stuart From dw-murphy at cox.net Fri Oct 29 18:07:29 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 29 Oct 2004 16:07:29 -0700 Subject: [AccessD] Message on deleting records In-Reply-To: <02b201c4bde9$73201ad0$6701a8c0@HAL9002> Message-ID: <000001c4be0c$138d9f70$8500a8c0@murphyf3vdfepi> Hi Folks, I have a data entry form with a subform on it. On new record entry a cancel button is visible so if the user decides to not complete the entry of the new record they can cancel out of it. Since several fields on the form are auto filled and the user may have, entered data, moved onto the subform or whatever, when they hit cancel I run a delete query for the record on the subform and one for the record on the main form using their primary keys. They queries are of the form; "Delete * From tablewhatever where fldID = recordIDFromForm" All this works great except that when the form closes and the queries have run I get an Access message saying "You can not add or change a record because a related record is required in tblLot". The delete queries run and delete their respective records with no problem, but I don't know why I am getting this message. The queries run in the order of child record, parent record. Any thoughts on how to get rid of this message would be appreciated. I have turned warnings off before running the delete queries. Doug From dw-murphy at cox.net Fri Oct 29 18:40:00 2004 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 29 Oct 2004 16:40:00 -0700 Subject: [AccessD] Message on deleting records In-Reply-To: <000001c4be0c$138d9f70$8500a8c0@murphyf3vdfepi> Message-ID: <000001c4be10$a370f660$8500a8c0@murphyf3vdfepi> Cancel the request! This apparently is one of those which closes first things, the form or subform. The delete code is run in the main form and the subform is apparently still open when it is run. I can trap the error in the subform and prevent the message. Sorry for the wasted bandwidth. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Friday, October 29, 2004 4:07 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Message on deleting records Hi Folks, I have a data entry form with a subform on it. On new record entry a cancel button is visible so if the user decides to not complete the entry of the new record they can cancel out of it. Since several fields on the form are auto filled and the user may have, entered data, moved onto the subform or whatever, when they hit cancel I run a delete query for the record on the subform and one for the record on the main form using their primary keys. They queries are of the form; "Delete * From tablewhatever where fldID = recordIDFromForm" All this works great except that when the form closes and the queries have run I get an Access message saying "You can not add or change a record because a related record is required in tblLot". The delete queries run and delete their respective records with no problem, but I don't know why I am getting this message. The queries run in the order of child record, parent record. Any thoughts on how to get rid of this message would be appreciated. I have turned warnings off before running the delete queries. Doug -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Developer at UltraDNT.com Fri Oct 29 19:28:50 2004 From: Developer at UltraDNT.com (Steve Conklin (Developer@UltraDNT)) Date: Fri, 29 Oct 2004 20:28:50 -0400 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <4183530E.22988.39D653E@lexacorp.com.pg> Message-ID: <003701c4be17$6e27bdc0$0200a8c0@COA3> Thanks, Stuart. I have only used FTP command line to login/upload/download, so I don't know all of its intricacies. But according to what I read further on RFC 959, wouldn't an "Active" session need to be initiated first, then, to issue the PASV command? ... I ask this in pursuit of the answer to the original question (which wasn't mine, but an interesting topic!) Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, October 29, 2004 6:39 PM To: Access Developers discussion and problemsolving Subject: RE: [AccessD] FTP command line, passive mode On 29 Oct 2004 at 9:47, Steve Conklin (Developer at Ultr wrote: > What does "passive mode" mean in this context? > See RFC 959: The data transfer process, in its normal "active" state, establishes the data connection with the "listening" data port. It sets up parameters for transfer and storage, and transfers data on command from its PI. The DTP can be placed in a "passive" state to listen for, rather than initiate a connection on the data port. ----8<----- PASSIVE (PASV) This command requests the server-DTP to "listen" on a data port (which is not its default data port) and to wait for a connection rather than initiate one upon receipt of a transfer command. The response to this command includes the host and port address this server is listening on. -- Stuart -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Fri Oct 29 20:31:44 2004 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 30 Oct 2004 11:31:44 +1000 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <003701c4be17$6e27bdc0$0200a8c0@COA3> References: <4183530E.22988.39D653E@lexacorp.com.pg> Message-ID: <41837BA0.13814.43BDF5F@lexacorp.com.pg> On 29 Oct 2004 at 20:28, Steve Conklin (Developer at Ultr wrote: > Thanks, Stuart. > I have only used FTP command line to login/upload/download, so I don't > know all of its intricacies. But according to what I read further on > RFC 959, wouldn't an "Active" session need to be initiated first, then, > to issue the PASV command? ... I ask this in pursuit of the answer to > the original question (which wasn't mine, but an interesting topic!) > There are two connections involved in a FTP session, control and data. A control connection is established first on the standard control port and then a data connection is established. The active/passive differentiation is in the way the port for the data connection is selected. In an active session, the client connecting to the server specifies what port is to be used for the data connection (either the default or a user specified port using the PORT command). Using PASV to establish the data connection tells the FTP Server to pick an available port and tell you to listen on it. This is necessary when you are talking to a busy FTP server with lots of simulatneous connections - only the server knows what ports it has available at the time. -- Stuart From martyconnelly at shaw.ca Fri Oct 29 23:04:28 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 29 Oct 2004 21:04:28 -0700 Subject: [AccessD] FTP command line, passive mode References: <000601c4bdbd$ddea6090$0200a8c0@COA3> Message-ID: <418312CC.3030209@shaw.ca> How about using a watched folder or directory, when a file is added to a folder then do something Creating a Watched Folder with FindChangeNotification API http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm I didn't realize you could ftp download with a couple of lines of code. Someone was looking for this, you could stick this in html via vbscript or javascript The popup window allows you to specify where to place the file. Private Declare Function DoFileDownload Lib "shdocvw" _ (ByVal lpszFile As String) As Long Sub ftptestrun() Dim sDownload As String sDownload = StrConv("http://www5.brinkster.com/mconnelly/GenericDB/suppliers.csv", vbUnicode) Call DoFileDownload(sDownload) End Sub Steve Conklin (Developer at UltraDNT) wrote: >What does "passive mode" mean in this context? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, October 29, 2004 8:38 AM >To: Access Developers discussion and problem solving >Subject: [AccessD] FTP command line, passive mode > > >Hi all > >A client has an app which uses a lot of calls of the standard Windows >FTP command line utility with script files. > >However, the client now need it to run in passive mode which the Windows >FTP thing can not. > >I can rewrite the app using 3D-FTP but that will be a lot of work - so I >wonder if anyone is aware of a direct replacement which can understand >the script files you can pass to Windows FTP? > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From gustav at cactus.dk Sat Oct 30 06:07:57 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Oct 2004 13:07:57 +0200 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <17922621718.20041029143801@cactus.dk> References: <17922621718.20041029143801@cactus.dk> Message-ID: <4911418739.20041030130757@cactus.dk> Hi all Well, Google is God if you didn't knew. A search on: FTP command line replacement revealed in a second this nice piece of freeware: MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 FTPS is a command-line FTP client similar to the FTP.EXE that comes with Windows 2000, but it also implements secure FTP (with SSL), and passive mode. When used with MOVEit DMZ FTP server, also does on-the-fly compression and integrity checking. Written by Standard Networks, Inc. See http://www.stdnet.com --- Download is here: http://www.standardnetworks.com/products/?category_number=7&subcategory_number=1 /gustav > A client has an app which uses a lot of calls of the standard Windows > FTP command line utility with script files. > However, the client now need it to run in passive mode which the > Windows FTP thing can not. > I can rewrite the app using 3D-FTP but that will be a lot of work - so > I wonder if anyone is aware of a direct replacement which can > understand the script files you can pass to Windows FTP? > /gustav From gustav at cactus.dk Sat Oct 30 05:10:08 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Oct 2004 12:10:08 +0200 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <418312CC.3030209@shaw.ca> References: <000601c4bdbd$ddea6090$0200a8c0@COA3> <418312CC.3030209@shaw.ca> Message-ID: <517949230.20041030121008@cactus.dk> Hi Marty Interesting, but that also would require a complete rewrite of the FTP up- and download routines which is what I try to avoid. /gustav > How about using a watched folder or directory, when a file is added to a > folder then do something > Creating a Watched Folder with FindChangeNotification API > http://vbnet.mvps.org/index.html?code/fileapi/watchedfolder.htm > I didn't realize you could ftp download with a couple of lines of code. > Someone was looking for this, you could stick this in html via vbscript > or javascript > The popup window allows you to specify where to place the file. > Private Declare Function DoFileDownload Lib "shdocvw" _ > (ByVal lpszFile As String) As Long > Sub ftptestrun() > Dim sDownload As String > sDownload = > StrConv("http://www5.brinkster.com/mconnelly/GenericDB/suppliers.csv", > vbUnicode) > Call DoFileDownload(sDownload) > End Sub > Steve Conklin (Developer at UltraDNT) wrote: >>What does "passive mode" mean in this context? >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Friday, October 29, 2004 8:38 AM >>To: Access Developers discussion and problem solving >>Subject: [AccessD] FTP command line, passive mode >> >> >>Hi all >> >>A client has an app which uses a lot of calls of the standard Windows >>FTP command line utility with script files. >> >>However, the client now need it to run in passive mode which the Windows >>FTP thing can not. >> >>I can rewrite the app using 3D-FTP but that will be a lot of work - so I >>wonder if anyone is aware of a direct replacement which can understand >>the script files you can pass to Windows FTP? >> >>/gustav From andy at minstersystems.co.uk Sat Oct 30 08:18:00 2004 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 30 Oct 2004 14:18:00 +0100 Subject: [AccessD] Shortcuts Working without Alt Key In-Reply-To: <02b201c4bde9$73201ad0$6701a8c0@HAL9002> Message-ID: <00f901c4be82$e1af1430$b274d0d5@minster33c3r25> I'm with you there Rocky. I didn't know that either. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 29 October 2004 20:00 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Shortcuts Working without Alt Key > > > WHO KNEW???!!!! > > I feel like such a newbie sometimes. > > Thanks for the heads up, Karen. > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > > > ----- Original Message ----- > From: "Nicholson, Karen" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 29, 2004 10:35 AM > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > > > If the form that you are using does not have any data fields on it, > > then you can use the straight out press of the letter. If there is > > data fields on the form, the alt-key combo does it. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin > > - Beach Access Software > > Sent: Friday, October 29, 2004 1:20 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Shortcuts Working without Alt Key > > > > > > No. It's the same on three different boxes. > > > > Now, there's a possibility I'm getting senile or losing my > beans here. > > I use the underscore on all main menu command buttons so > that the user > > doesn't > > have to use the mouse. > > > > Now I've ALWAYS thought that to use those underscores you > had to use > > the Alt key simultaneously with the underscored character. > So maybe > > I've never tried it without the Alt key. > > > > Now someone just told me that it always worked that way - > no alt key > > required. > > > > So how do are those underscore shortcuts SUPPOSED to work? > > > > Rocky > > > > ----- Original Message ----- > > From: "Perry Harold" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Friday, October 29, 2004 9:42 AM > > Subject: RE: [AccessD] Shortcuts Working without Alt Key > > > > > >> Stuck Key? > >> > >> Perry Harold > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - > >> Beach Access Software > >> Sent: Friday, October 29, 2004 11:33 AM > >> To: AccessD at databaseadvisors.com > >> Subject: [AccessD] Shortcuts Working without Alt Key > >> > >> > >> Dear List: > >> > >> Suddenly, the shortcuts on my forms (the underlined > characters) are > >> working without pressing the ALT key. This is no good! > Does anyone > >> know how > > this > >> could happen? It happens on all mdb files. > >> > >> MTIA > >> > >> Rocky Smolin > >> Beach Access Software > >> http://www.e-z-mrp.com > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> > >> > >> -- > >> _______________________________________________ > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > _______________________________________________ > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > _______________________________________________ > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sat Oct 30 09:36:37 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 30 Oct 2004 07:36:37 -0700 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <4911418739.20041030130757@cactus.dk> Message-ID: Hi Gustav: Seems like the ticket but I wonder what the product costs as a viewer will have to ask for a quote to receive that information. Shock or pleasant surprise? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, October 30, 2004 4:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FTP command line, passive mode Hi all Well, Google is God if you didn't knew. A search on: FTP command line replacement revealed in a second this nice piece of freeware: MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 FTPS is a command-line FTP client similar to the FTP.EXE that comes with Windows 2000, but it also implements secure FTP (with SSL), and passive mode. When used with MOVEit DMZ FTP server, also does on-the-fly compression and integrity checking. Written by Standard Networks, Inc. See http://www.stdnet.com --- Download is here: http://www.standardnetworks.com/products/?category_number=7&subcategory_numb er=1 /gustav > A client has an app which uses a lot of calls of the standard Windows > FTP command line utility with script files. > However, the client now need it to run in passive mode which the > Windows FTP thing can not. > I can rewrite the app using 3D-FTP but that will be a lot of work - so > I wonder if anyone is aware of a direct replacement which can > understand the script files you can pass to Windows FTP? > /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From gustav at cactus.dk Sat Oct 30 09:49:04 2004 From: gustav at cactus.dk (Gustav Brock) Date: Sat, 30 Oct 2004 16:49:04 +0200 Subject: [AccessD] FTP command line, passive mode In-Reply-To: References: Message-ID: <8224685746.20041030164904@cactus.dk> Hi Jim Looks like USD 25.00: https://secure.stdnet.com/moveitstore/store.asp /gustav > Hi Gustav: > Seems like the ticket but I wonder what the product costs as a viewer will > have to ask for a quote to receive that information. Shock or pleasant > surprise? > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, October 30, 2004 4:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FTP command line, passive mode > Hi all > Well, Google is God if you didn't knew. A search on: > FTP command line replacement > revealed in a second this nice piece of freeware: > MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 > FTPS is a command-line FTP client similar to the FTP.EXE > that comes with Windows 2000, but it also implements secure FTP > (with SSL), and passive mode. When used with MOVEit DMZ FTP server, > also does on-the-fly compression and integrity checking. > Written by Standard Networks, Inc. See http://www.stdnet.com > --- > Download is here: > http://www.standardnetworks.com/products/?category_number=7&subcategory_numb > er=1 > /gustav >> A client has an app which uses a lot of calls of the standard Windows >> FTP command line utility with script files. >> However, the client now need it to run in passive mode which the >> Windows FTP thing can not. >> I can rewrite the app using 3D-FTP but that will be a lot of work - so >> I wonder if anyone is aware of a direct replacement which can >> understand the script files you can pass to Windows FTP? >> /gustav From accessd at shaw.ca Sat Oct 30 10:27:24 2004 From: accessd at shaw.ca (Jim Lawrence (AccessD)) Date: Sat, 30 Oct 2004 08:27:24 -0700 Subject: [AccessD] FTP command line, passive mode In-Reply-To: <8224685746.20041030164904@cactus.dk> Message-ID: Gustav: Not bad... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Saturday, October 30, 2004 7:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FTP command line, passive mode Hi Jim Looks like USD 25.00: https://secure.stdnet.com/moveitstore/store.asp /gustav > Hi Gustav: > Seems like the ticket but I wonder what the product costs as a viewer will > have to ask for a quote to receive that information. Shock or pleasant > surprise? > Jim > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Saturday, October 30, 2004 4:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FTP command line, passive mode > Hi all > Well, Google is God if you didn't knew. A search on: > FTP command line replacement > revealed in a second this nice piece of freeware: > MOVEit Freely version 3.1.5.0, compiled Aug 24 2004 12:29:47 > FTPS is a command-line FTP client similar to the FTP.EXE > that comes with Windows 2000, but it also implements secure FTP > (with SSL), and passive mode. When used with MOVEit DMZ FTP server, > also does on-the-fly compression and integrity checking. > Written by Standard Networks, Inc. See http://www.stdnet.com > --- > Download is here: > http://www.standardnetworks.com/products/?category_number=7&subcategory_numb > er=1 > /gustav >> A client has an app which uses a lot of calls of the standard Windows >> FTP command line utility with script files. >> However, the client now need it to run in passive mode which the >> Windows FTP thing can not. >> I can rewrite the app using 3D-FTP but that will be a lot of work - so >> I wonder if anyone is aware of a direct replacement which can >> understand the script files you can pass to Windows FTP? >> /gustav -- _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Oct 30 13:47:58 2004 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 30 Oct 2004 11:47:58 -0700 Subject: [AccessD] OT: Help with using Redemption to assing an Outlook task. References: <0CC84C9461AE6445AD5A602001C41C4B059F68@mercury.tnco-inc.com> Message-ID: <4183E1DE.2010901@shaw.ca> Here is another email method. I am not sure of all of the ramifications of this method. Any comments? I just saw a site where you can purchase one client access to a remote Exchange Server over the net paying by the month. Just to add further email oddities. 'The example code is using CDOSYS (CDO for Windows 2000 or XP). 'I dont think I would want to go back to CDONTS for earlier systems 'It does not depend on MAPI or CDO or Outlook 'It does not use your mailbox to send email. ' So you can send mail without a mail program or mail account ' This code builds the message and drops it into a pickup directory, ' and the SMTP service running on the machine ' picks it up and send it out to the internet. 'So why use CDO code instead of Outlook automation or Application.SendMail in VBA. ' It doesn't matter what Mail program you are using (It uses the SMTP server). ' It doesn't matter what Office version you are using. ' supposedly you can send an object or file in the body of the mail (some mail programs can?t do this) ' haven't verified this ' You can send any file attachment you like. ' No Outlook Security warning so no need for Redemption ' You probably wont have your mail server full expanded smtp address 'If you go into netscape mail or outlook and look for the smtp name 'It will look like mine, "shawmail" or "shawnews" this dns resolves 'to "shawmail.cg.shawcable.net" CDO doesn't resolve this short name so 'The quickest way to get this actual address without using registry et al. 'is run cmd and ping "shawmail" to return full qualified smtp address. 'This code wont run exactly unless you are on cable and signed on in the Shaw domain Sub SendCDO() ' This example use late binding of CDOSys, you don't have to set a reference ' You must be online to net when you run the sub ' You must be running WinXP or Win2000 Dim cdoMessage As Object Dim objCDOMail As Object Dim strschema As String On Error GoTo ErrorHandler ' Enable error-handling routine. ' Set cdoMessage = CreateObject("CDO.Message") Set objCDOMail = CreateObject("CDO.Configuration") strschema = "http://schemas.microsoft.com/cdo/configuration/" objCDOMail.Load -1 ' CDO Source Default 'If you have illegal or wrong smtp address here it will run for 30-60 seconds and finally give transport error With objCDOMail.Fields .Item(strschema & "sendusing") = 2 ' cdoSendUsingPort .Item(strschema & "smtpserver") = "shawmail.cg.shawcable.net" ' "Your SMTP server address here" .Item(strschema & "smtpserverport") = 25 'specify port number .Update End With With cdoMessage Set .Configuration = objCDOMail .to = "martyconnelly at gmail.com" .From = "Winnie The Pooh " .CC = "" .BCC = "" .Subject = "This is another test from marty" .TextBody = "This is the text in the body just cdo defaults" .AddAttachment "C:\temp2\rptSampleCount.rtf" .AddAttachment "C:\temp2\frontimage.jpeg" .send End With Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub ' Exit to avoid handler. ErrorHandler: ' Error-handling routine. Debug.Print Err.Number & "-" & Err.Description Set cdoMessage = Nothing Set objCDOMail = Nothing Exit Sub End Sub Joe Rojas wrote: >I am using the code the M&D Manning provided for me. > >JR > >-----Original Message----- >From: Charlotte Foust [mailto:cfoust at infostatsystems.com] >Sent: Friday, October 29, 2004 11:20 AM >To: Access Developers discussion and problem solving >Subject: RE: [AccessD] OT: Help with using Redemption to assing an Outlook >task. > >It would be more useful to see the Redemption code you're trying to use. >You have licensed the Redemption library, right? There is quite a bit >of help that comes with it. Redemption code doesn't use the >Outlook.Application object like that. It uses MAPI.Message and >MAPI.Recipient and MAPI.Session. > >Charlotte Foust > > >-----Original Message----- >From: Joe Rojas [mailto:JRojas at tnco-inc.com] >Sent: Friday, October 29, 2004 7:47 AM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] OT: Help with using Redemption to assing an Outlook >task. > > >Hi All, > >I am asking this group my question on Redemption because I have seen >several times when Redemption was offered as a solution for bypassing >Outlook's e-mail security features. > >Below is a function that I am currently using that sends/assigns a task >the Outlook Object Model only and works perfectly. I want to port this >code so that it is using Redemption in order to bypass the e-mail >security features. I have been trying to the past two days and have not >had any luck. > >Can someone please help me with this? > >TIA! >JR > >Public Function SendTask() > > Dim objOutlook As Outlook.Application > Dim objOutlookTsk As Outlook.TaskItem > > Dim strRecipList() As String > Dim strNum As String > Dim DDueDate As Date > Dim strNote As String > Dim strBody As String > Dim i As Integer > > strRecipList() = Split(Forms!PrevActions!tbToWhom, ";") > strNum = Forms![DMR Form]![tbDMRNum] > DDueDate = Forms!PrevActions!tbDueDate > strNote = Forms![DMR Form]!tbPartNo > strBody = "Part Number: " & strNote & vbCrLf & vbCrLf & _ > "Discrepency: " & Nz(Forms![DMR Form]![Discrepencies >subform]!Discrepency, "None Entered") & vbCrLf & vbCrLf & _ > "Remedial Action: " & Nz(Forms![DMR Form]![Discrepencies >subform]![Corrective action], "None Entered") & vbCrLf & vbCrLf & _ > "Corrective Action: " & Nz(Forms![DMR Form]![Discrepencies >subform]!tbPrevActsub, "None Entered") & vbCrLf & vbCrLf > > > ' Create the Outlook session. > Set objOutlook = CreateObject("Outlook.Application") > > ' Create the message. > Set objOutlookTsk = objOutlook.CreateItem(olTaskItem) > > With objOutlookTsk > ' Add the To recipient(s) to the message. > For i = 0 To UBound(strRecipList) > objOutlookTsk.Recipients.Add(strRecipList(i)).Type = olTo > Next > > ' Set the Subject, Body, and Importance of the message. > .Subject = "Corrective Action for DMR#" & strNum & " - (" & >strNote & ")" > .Body = strBody > .Importance = olImportanceHigh 'High importance > .ReminderSet = True > .ReminderTime = DDueDate - 7 > .DueDate = DDueDate > > > ' Resolve each Recipient's name. > For Each objOutlookRecip In .Recipients > objOutlookRecip.Resolve > If Not objOutlookRecip.Resolve Then > objOutlookTsk.Display > End If > Next > > .Save > .Assign > .Send > > End With > Set objOutlookTsk = Nothing > Set objOutlook = Nothing > > MsgBox "Task has been assigned.", , "Task sent" > >End Function > > > >This electronic transmission is strictly confidential to TNCO, Inc. and >intended solely for the addressee. It may contain information which is >covered by legal, professional, or other privileges. If you are not the >intended addressee, or someone authorized by the intended addressee to >receive transmissions on behalf of the addressee, you must not retain, >disclose in any form, copy, or take any action in reliance on this >transmission. If you have received this transmission in error, please >notify the sender as soon as possible and destroy this message. While >TNCO, Inc. uses virus protection, the recipient should check this email >and any attachments for the presence of viruses. TNCO, Inc. accepts no >liability for any damage 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 > > > >This electronic transmission is strictly confidential to TNCO, Inc. and >intended solely for the addressee. It may contain information which is >covered by legal, professional, or other privileges. If you are not the >intended addressee, or someone authorized by the intended addressee to >receive transmissions on behalf of the addressee, you must not retain, >disclose in any form, copy, or take any action in reliance on this >transmission. If you have received this transmission in error, please notify >the sender as soon as possible and destroy this message. While TNCO, Inc. >uses virus protection, the recipient should check this email and any >attachments for the presence of viruses. TNCO, Inc. accepts no liability for >any damage caused by any virus transmitted by this email. > > -- Marty Connelly Victoria, B.C. Canada From pcs at azizaz.com Sun Oct 31 20:50:56 2004 From: pcs at azizaz.com (Borge Steen Hansen) Date: Mon, 1 Nov 2004 12:50:56 +1000 Subject: [AccessD] CurrentDB Error Message-ID: <009501c4bfbd$9d132be0$fa10a8c0@Albatross> Hi, I have a some Access97 database applications that have been working for years. They are currently sitting on WinXP with AccessXP installed as well. Been working on the XP box for over a year! Recently when making a minor modification and doing a 'Compile and Save' I get the following message on the first instance of CurrentDb Compile Error: Funtion or interface marked as restricted, or the function uses Automation type not supported in Visual Basic. I have reference to Microsoft DAO Object Library 3.6 The dao.dll is version 03.60.8618.0 Even if I try to disambiguate the thing, the compile error comes up: like: dim db as DAO.Database set db = CurrentDb when compiling it will error on the set db = CurrentDb line. Can anyone help me to shed light on what is going on? Regards Borge Gold Coast, Australia --- Outgoing mail is certified Virus Free by AVG Anti Virus System. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.773 / Virus Database: 520 - Release Date: 5/10/2004