From mcp2004 at mail.ru Fri May 1 02:09:25 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Fri, 01 May 2009 11:09:25 +0400 Subject: [AccessD] =?koi8-r?b?QVNQLk5FVCAyLjAvMy41IE1TIFJlcG9ydFZpZXdlciBS?= =?koi8-r?b?ZXBvcnRpbmcgc2FtcGxldXNpbmcgTVMgQWNjZXNzIGRhdGFiYXNl?= =?koi8-r?b?Li4u?= In-Reply-To: <39cb22f30904301621y1ab88d54xcd73bab8925cffce@mail.gmail.com> References: <39cb22f30904301621y1ab88d54xcd73bab8925cffce@mail.gmail.com> Message-ID: Hi Steve, Sources are published here a couple of days ago: http://northwind.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=26600 Thank you. -- Shamil -----Original Message----- From: Steve Erbach To: Access Developers discussion and problem solving Date: Thu, 30 Apr 2009 18:21:13 -0500 Subject: Re: [AccessD] ASP.NET 2.0/3.5 MS ReportViewer Reporting sampleusing MS Access database... > Shamil, > > Very interesting. I look forward to seeing the source! > > Steve Erbach > Neenah, WI > > > On Mon, Apr 27, 2009 at 2:57 PM, Salakhetdinov Shamil wrote: > > Hi All, > > > > I have got published today a sample ASP.NET 2.0/3.5 application using MS Reportviewer Reports from our SCRUM Team's Northwind.NET project. This application is developed as "quick and dirty": > > > > - 1) downgrading .NET WinForms + MS SQL backed application to .NET WinForm + MS Access backend application; > > > > - 2) using MS Access backend and MS ReportViewer Reports from downgraded (1) app to make the following ASP.NET 2.0/3.5 sample: > > > > http://shamils-4.hosting.parking.ru/nw/ > > > > The sources of the above ASP.NET sample are planned to be released on http://northwind.codeplex.com during this week. > > > > Thank you. > > > > -- > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Fri May 1 07:32:02 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 01 May 2009 08:32:02 -0400 Subject: [AccessD] Attn Tina: MSDN CD's In-Reply-To: References: Message-ID: <49FAEBC2.7060803@torchlake.com> Drew, no I didn't. I must have missed your note about putting them up there - sorry. Can I just go to marlow and look around, or do you want to give me a link? Thanks. T Drew Wutka wrote: > Tina, did you download those .iso images? I've put them on our new > site, I'll post a link if you haven't downloaded them, but I'm going to > be shutting down the server they were on sometime today I think. > > > > Drew > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > From DWUTKA at Marlow.com Fri May 1 09:26:37 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 1 May 2009 09:26:37 -0500 Subject: [AccessD] Attn Tina: MSDN CD's In-Reply-To: <49FAEBC2.7060803@torchlake.com> References: <49FAEBC2.7060803@torchlake.com> Message-ID: No, they are links that aren't 'posted' to the public, just a folder I can put stuff in for people to download. Here are the new links: http://www.marlow.com/downloads/MSDNDisc1.iso http://www.marlow.com/downloads/MSDNDisc2.iso http://www.marlow.com/downloads/MSDNDisc3.iso Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, May 01, 2009 7:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Attn Tina: MSDN CD's Drew, no I didn't. I must have missed your note about putting them up there - sorry. Can I just go to marlow and look around, or do you want to give me a link? Thanks. T Drew Wutka wrote: > Tina, did you download those .iso images? I've put them on our new > site, I'll post a link if you haven't downloaded them, but I'm going to > be shutting down the server they were on sometime today I think. > > > > Drew > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From ssharkins at gmail.com Fri May 1 09:47:00 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 1 May 2009 10:47:00 -0400 Subject: [AccessD] Copy Protection Needed References: <49F4F782.40004@colbyconsulting.com> Message-ID: <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> I'm kind of with John on this one -- I'll man those phones! ;) In my delirium I came up with two possible copy-protection ideas, and I'd like to hear pros and cons: 1.) Create a key in the registry with a simple Boolean value, when the application is first launched. Then the program is launched, checked for the key -- if it's there, proceed. If not, lock things up with the appropriate warning and contact information. If it's good enough for MS, it's good enough for me. This is a relatively simple process to implement. 2.) It seems to me that there ought to be a way to manipulate the GUID data type with some internal system value to create a one-time key value that won't change, as long as it's on the same system. If that's possible, simply compare that value each time and respond appropriately. I don't know if this is possible. Thoughts? Susan H. ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Sunday, April 26, 2009 8:08 PM Subject: Re: [AccessD] Copy Protection Needed > >The consequence of which is that the customer has to contact direct by > >email or phone with a > hardware-related 'Fingerprint number' on first installation, and you have > to run a utility and email > back their unlock key. Which obviously would be a drag if you are talking > high volume sales. > > ROTFL. Answering an email to provide a key to obtain a $400 sale is a > PITA? Hmmm... I'll do it > for 50%. > > John W. Colby > www.ColbyConsulting.com > > > Steve Schapel wrote: >> Ricky, >> >> For several years I have been using Sagekey Security >> http://www.sagekey.com/security.aspx >> >> Of course, you have the expense of a licence from Sagekey. But in my >> opinion it's well worth it. >> >> There is a web component, but I don't bother with that. The consequence >> of which is that the customer has to contact direct by email or phone >> with a hardware-related 'Fingerprint number' on first installation, and >> you have to run a utility and email back their unlock key. Which >> obviously would be a drag if you are talking high volume sales. But for >> a moderate number of end users, it's not too burdensome, and always works >> like a charm. >> >> Regards >> Steve >> >> From: Rocky Smolin >> Sent: Sunday, April 26, 2009 3:59 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Copy Protection Needed >> >> >> Dear List: >> >> Susan Harkins and I are working on a project together It is a >> relatively >> small application and database for the Toys for Tots organization - >> tracking >> parents, children, donors, and volunteers. We were contacted by the >> head of >> a Michigan chapter after he had gotten bids from $2500 to $10,000 for a >> custom database - well out of his budget range. So we decided to put >> together an application for him, speculating that perhaps other Toys >> for >> Tots chapters around the country would find the application valuable. >> He's >> up and running and very happy, has provided us with a nice endorsement, >> and >> will post a notice to the TFT bulletin board for us when we get a web >> page >> up. Which should be in a couple weeks. We have priced the product at >> $400. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From robert at servicexp.com Fri May 1 10:55:25 2009 From: robert at servicexp.com (Robert) Date: Fri, 1 May 2009 11:55:25 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> Message-ID: <001701c9ca75$3ee15930$bca40b90$@com> I hate software that utilizes a hardware derived key. What happens if the developer goes out of business? When it comes time to install that new hard drive or simply reformat and start over again you'll be out of luck. I know this is much more likely with smaller companies but it has happened. I know it's not as secure to use a registration information based key system (User & Company Information), but it is much safer for your customers (and you for the software you use)... ;-) WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, May 01, 2009 10:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I'm kind of with John on this one -- I'll man those phones! ;) In my delirium I came up with two possible copy-protection ideas, and I'd like to hear pros and cons: 1.) Create a key in the registry with a simple Boolean value, when the application is first launched. Then the program is launched, checked for the key -- if it's there, proceed. If not, lock things up with the appropriate warning and contact information. If it's good enough for MS, it's good enough for me. This is a relatively simple process to implement. 2.) It seems to me that there ought to be a way to manipulate the GUID data type with some internal system value to create a one-time key value that won't change, as long as it's on the same system. If that's possible, simply compare that value each time and respond appropriately. I don't know if this is possible. Thoughts? Susan H. SNIP From ssharkins at gmail.com Fri May 1 11:05:30 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 1 May 2009 12:05:30 -0400 Subject: [AccessD] Office 2007 Service Pack 2 References: <7CC61F975B72453D87D1CAC537F5F84D@SusanOne> <509be5d70904301714w63bccac6g807b0ec2b3eb911d@mail.gmail.com> Message-ID: <1BB572D0B57B40A8BF09236EADDA314E@SusanOne> Anyone with 2007 and 2003 on the same system having trouble -- Word seems toast -- can't get the installer to run and open either one. :( Susan H. >I installed it on my PC at work Wednesday and have not experienced any side > effects from it. > > On Thu, Apr 30, 2009 at 7:12 PM, Susan Harkins > wrote: > >> Has anybody downloaded and installed Office 2007's new Service Pack >> (released Wednesday I think). I've read about its release, but I haven't >> read any individual reactions to it yet. From Kwilliamson at RTKL.com Fri May 1 11:47:22 2009 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Fri, 1 May 2009 12:47:22 -0400 Subject: [AccessD] Prompt for Proper Union Join Table References: <3E0C208232FA104198335BC3FEA3CCE90302CA@snidely.rtkl.rtkl.net> <49FA28E2.1080606@colbyconsulting.com> Message-ID: <3E0C208232FA104198335BC3FEA3CCE90304BE@snidely.rtkl.rtkl.net> I was afraid of that. Thanks, Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, April 30, 2009 6:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Prompt for Proper Union Join Table Not to my knowledge. You could build it dynamically though (in code). John W. Colby www.ColbyConsulting.com Keith Williamson wrote: > Hey guys....below I have my Union Join Query: > __________________________ > select "New Invs" as [Type], [WBS1] as [Project#], [Invoice] as [Inv#], > [FirstofTransDate] as [Date], 0 as [Balance], 0 as [Retainage], > [Amount] as [NewInvAmt] from [qryARInvoices] > > UNION select "Orig Bals" as [Type], [Project#], [Invoice#] as [Inv#], > [Date], [sumofbalance] as [Balance], [sumofretainage] as [Retainage], 0 > as [NewInvAmt] from [qryAR200812] > > UNION select "New Invs" as [Type], [WBS1] as [Project#], [Invoice] as > [Inv#], "" as [Date], 0 as [Balance], 0 as [Retainage], 0 as > [NewInvAmt] from [qryARUnappliedPmts]; > _______________________ > > One of the issues I have is that I run this query for two different > reports. It is the same query, except that I change the [qryAR200812] > to a different query [qryArcadisARBilling] for the second report. > Additionally, two other of the sub-queries need to have this reference > changed. {essentially, this is a rollforward query of AR from either > 12/31/08 or 05/31/07 to current....depending on the user} > > My question is....is there a way to prompt for which reference I want to > use [qryAR200812] or [qryArcadisARBilling], and have this query > reference the appropriate sub-queries? > > Thanks, > > Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 > > 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com > > ------------------------------------------------------------------------ -- > The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 1 12:59:24 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 1 May 2009 10:59:24 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> Message-ID: <252A883906724260BD4398A8A98DAED1@HAL9005> So if they give the program to another user and put it on a second machine, won't it create the key on the second machine? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, May 01, 2009 7:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I'm kind of with John on this one -- I'll man those phones! ;) In my delirium I came up with two possible copy-protection ideas, and I'd like to hear pros and cons: 1.) Create a key in the registry with a simple Boolean value, when the application is first launched. Then the program is launched, checked for the key -- if it's there, proceed. If not, lock things up with the appropriate warning and contact information. If it's good enough for MS, it's good enough for me. This is a relatively simple process to implement. 2.) It seems to me that there ought to be a way to manipulate the GUID data type with some internal system value to create a one-time key value that won't change, as long as it's on the same system. If that's possible, simply compare that value each time and respond appropriately. I don't know if this is possible. Thoughts? Susan H. ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Sunday, April 26, 2009 8:08 PM Subject: Re: [AccessD] Copy Protection Needed > >The consequence of which is that the customer has to contact direct by > >email or phone with a > hardware-related 'Fingerprint number' on first installation, and you have > to run a utility and email > back their unlock key. Which obviously would be a drag if you are talking > high volume sales. > > ROTFL. Answering an email to provide a key to obtain a $400 sale is a > PITA? Hmmm... I'll do it > for 50%. > > John W. Colby > www.ColbyConsulting.com > > > Steve Schapel wrote: >> Ricky, >> >> For several years I have been using Sagekey Security >> http://www.sagekey.com/security.aspx >> >> Of course, you have the expense of a licence from Sagekey. But in my >> opinion it's well worth it. >> >> There is a web component, but I don't bother with that. The consequence >> of which is that the customer has to contact direct by email or phone >> with a hardware-related 'Fingerprint number' on first installation, and >> you have to run a utility and email back their unlock key. Which >> obviously would be a drag if you are talking high volume sales. But for >> a moderate number of end users, it's not too burdensome, and always works >> like a charm. >> >> Regards >> Steve >> >> From: Rocky Smolin >> Sent: Sunday, April 26, 2009 3:59 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Copy Protection Needed >> >> >> Dear List: >> >> Susan Harkins and I are working on a project together It is a >> relatively >> small application and database for the Toys for Tots organization - >> tracking >> parents, children, donors, and volunteers. We were contacted by the >> head of >> a Michigan chapter after he had gotten bids from $2500 to $10,000 for a >> custom database - well out of his budget range. So we decided to put >> together an application for him, speculating that perhaps other Toys >> for >> Tots chapters around the country would find the application valuable. >> He's >> up and running and very happy, has provided us with a nice endorsement, >> and >> will post a notice to the TFT bulletin board for us when we get a web >> page >> up. Which should be in a couple weeks. We have priced the product at >> $400. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri May 1 13:06:03 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 1 May 2009 14:06:03 -0400 Subject: [AccessD] Copy Protection Needed References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> Message-ID: Not if you tell it not to -- it's already created the key once and you could store that information. You check for it -- if it's there, the user has to phone home to get help. Susan H. > So if they give the program to another user and put it on a second > machine, > won't it create the key on the second machine? From stuart at lexacorp.com.pg Fri May 1 13:19:33 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 02 May 2009 04:19:33 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> References: , <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> Message-ID: <49FB3D35.25517.2C889140@stuart.lexacorp.com.pg> If I recall correctly, you are talking about securing an Access FE/BE system which is multi user - yes? That means that there is no installation program required - as long as they have the appropriate version of Office installed, users can just copy the FE (presmably MDE) and BE files and put them on another system ( relinking the BE tables if requred) Do you want users to have to install/lock the FE on every machine or will it be a one time registration process when you first set up the BE, after which they can access it from as many FEs as they want? On 1 May 2009 at 10:47, Susan Harkins wrote: > I'm kind of with John on this one -- I'll man those phones! ;) > > In my delirium I came up with two possible copy-protection ideas, and I'd > like to hear pros and cons: > > 1.) Create a key in the registry with a simple Boolean value, when the > application is first launched. Then the program is launched, checked for the > key -- if it's there, proceed. If not, lock things up with the appropriate > warning and contact information. If it's good enough for MS, it's good > enough for me. This is a relatively simple process to implement. > > 2.) It seems to me that there ought to be a way to manipulate the GUID data > type with some internal system value to create a one-time key value that > won't change, as long as it's on the same system. If that's possible, simply > compare that value each time and respond appropriately. I don't know if this > is possible. > > Thoughts? > Susan H. > > ----- Original Message ----- > From: "jwcolby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, April 26, 2009 8:08 PM > Subject: Re: [AccessD] Copy Protection Needed > > > > >The consequence of which is that the customer has to contact direct by > > >email or phone with a > > hardware-related 'Fingerprint number' on first installation, and you have > > to run a utility and email > > back their unlock key. Which obviously would be a drag if you are talking > > high volume sales. > > > > ROTFL. Answering an email to provide a key to obtain a $400 sale is a > > PITA? Hmmm... I'll do it > > for 50%. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Steve Schapel wrote: > >> Ricky, > >> > >> For several years I have been using Sagekey Security > >> http://www.sagekey.com/security.aspx > >> > >> Of course, you have the expense of a licence from Sagekey. But in my > >> opinion it's well worth it. > >> > >> There is a web component, but I don't bother with that. The consequence > >> of which is that the customer has to contact direct by email or phone > >> with a hardware-related 'Fingerprint number' on first installation, and > >> you have to run a utility and email back their unlock key. Which > >> obviously would be a drag if you are talking high volume sales. But for > >> a moderate number of end users, it's not too burdensome, and always works > >> like a charm. > >> > >> Regards > >> Steve > >> > >> From: Rocky Smolin > >> Sent: Sunday, April 26, 2009 3:59 AM > >> To: 'Access Developers discussion and problem solving' > >> Subject: [AccessD] Copy Protection Needed > >> > >> > >> Dear List: > >> > >> Susan Harkins and I are working on a project together It is a > >> relatively > >> small application and database for the Toys for Tots organization - > >> tracking > >> parents, children, donors, and volunteers. We were contacted by the > >> head of > >> a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > >> custom database - well out of his budget range. So we decided to put > >> together an application for him, speculating that perhaps other Toys > >> for > >> Tots chapters around the country would find the application valuable. > >> He's > >> up and running and very happy, has provided us with a nice endorsement, > >> and > >> will post a notice to the TFT bulletin board for us when we get a web > >> page > >> up. Which should be in a couple weeks. We have priced the product at > >> $400. > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri May 1 13:20:59 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 01 May 2009 14:20:59 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> Message-ID: <49FB3D8B.3050800@colbyconsulting.com> When I buy things I often get a warning like "Your IP address is XYZ, your internet provider is ABC" etc. Now this comes from the browser, so if you set up a system to open a browser to go get a key you could display that information with a "We track this information for piracy purposes" kinda thing. this might at least slow them down. I did a copy protection thing for Access a very long time ago and I came to the conclusion that you pretty much have to accept the person's word for it, but making the person actually interact with you will stop a certain percentage of the pirates. John W. Colby www.ColbyConsulting.com Susan Harkins wrote: > Not if you tell it not to -- it's already created the key once and you could > store that information. You check for it -- if it's there, the user has to > phone home to get help. > > Susan H. > > > >> So if they give the program to another user and put it on a second >> machine, >> won't it create the key on the second machine? > From jerbach at gmail.com Fri May 1 14:18:51 2009 From: jerbach at gmail.com (Janet Erbach) Date: Fri, 1 May 2009 14:18:51 -0500 Subject: [AccessD] Form corruption Message-ID: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> Hello all - We manage our order processing/shipping/product inventory using an access database application developed by some guys in Pennsylvania. I have created a dozen custom functions within this app that have allowed me to do things that the original app didn't include. But form corruption sneaks up on me far more frequently than seems normal. It seems to happen most when I've copied a form that I already created and use that as the starting point for a new form. I'll notice that my response time starts to seriously degrade - I click on an object and it's seconds before I can move it or edit it. I'll save the form and my screen will go blank while it saves, which takes longer than normal. When that starts to happen I'll compact and repair my database and re-compile all my code just to clean things up...but it doesn't seem to help. Finally it gets to the point where I'll try to open the form in design mode and get one of two behaviors: 1) a message box saying there aren't enough system resources to complete the operation or 2) NOTHING HAPPENS - the form won't run, won't open - nothing. Is there something I can do to salvage these corrupt items? Should I not be using a copy of a form as the basis for a new one? Could it be related to bloat? I'm making these changes in the front end database on my PC...The front end on the other pcs here are usually around 55 MB, but on mine it bloats up to around 290 - and even after compact/repair it only shrinks to about 170. Granted, I have a few objects, forms, and tables that are not installed on the other front ends - but it seems like my front end shouldn't be THAT much heftier! Any suggestions? Janet Erbach IT Administrator Natural Healthy Concepts From rockysmolin at bchacc.com Fri May 1 14:35:00 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 1 May 2009 12:35:00 -0700 Subject: [AccessD] Form corruption In-Reply-To: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> Message-ID: <85C9D25297D745D0B789D47F76D67B5C@HAL9005> My first move would be compact and repair. After that - decompile. After that, create a new mdb and import all the objects. If you're unsure about any of these I believe you have an in-house consultant to provide tech support. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Friday, May 01, 2009 12:19 PM To: Access Developers discussion and problem solving Subject: [AccessD] Form corruption Hello all - We manage our order processing/shipping/product inventory using an access database application developed by some guys in Pennsylvania. I have created a dozen custom functions within this app that have allowed me to do things that the original app didn't include. But form corruption sneaks up on me far more frequently than seems normal. It seems to happen most when I've copied a form that I already created and use that as the starting point for a new form. I'll notice that my response time starts to seriously degrade - I click on an object and it's seconds before I can move it or edit it. I'll save the form and my screen will go blank while it saves, which takes longer than normal. When that starts to happen I'll compact and repair my database and re-compile all my code just to clean things up...but it doesn't seem to help. Finally it gets to the point where I'll try to open the form in design mode and get one of two behaviors: 1) a message box saying there aren't enough system resources to complete the operation or 2) NOTHING HAPPENS - the form won't run, won't open - nothing. Is there something I can do to salvage these corrupt items? Should I not be using a copy of a form as the basis for a new one? Could it be related to bloat? I'm making these changes in the front end database on my PC...The front end on the other pcs here are usually around 55 MB, but on mine it bloats up to around 290 - and even after compact/repair it only shrinks to about 170. Granted, I have a few objects, forms, and tables that are not installed on the other front ends - but it seems like my front end shouldn't be THAT much heftier! Any suggestions? Janet Erbach IT Administrator Natural Healthy Concepts -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jerbach at gmail.com Fri May 1 14:43:33 2009 From: jerbach at gmail.com (Janet Erbach) Date: Fri, 1 May 2009 14:43:33 -0500 Subject: [AccessD] Form corruption In-Reply-To: <85C9D25297D745D0B789D47F76D67B5C@HAL9005> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <85C9D25297D745D0B789D47F76D67B5C@HAL9005> Message-ID: <6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> Yes, I do have an in-house consultant. (Actually, since he's not on-site does that make him an 'Out-house consultant'?) But half the time he says "Ask the forum!! That's what they're for!!" and the other half he says "Hell if I know, honey!" The compact/repair/compile doesn't seem to help. But I haven't tried the export yet - so I'll try that next. Thank you, sir! Janet On Fri, May 1, 2009 at 2:35 PM, Rocky Smolin wrote: > My first move would be compact and repair. After that - decompile. After > that, create a new mdb and import all the objects. > > If you're unsure about any of these I believe you have an in-house > consultant to provide tech support. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Friday, May 01, 2009 12:19 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Form corruption > > Hello all - > > We manage our order processing/shipping/product inventory using an access > database application developed by some guys in Pennsylvania. I have > created > a dozen custom functions within this app that have allowed me to do things > that the original app didn't include. But form corruption sneaks up on me > far more frequently than seems normal. > > It seems to happen most when I've copied a form that I already created and > use that as the starting point for a new form. I'll notice that my > response > time starts to seriously degrade - I click on an object and it's seconds > before I can move it or edit it. I'll save the form and my screen will go > blank while it saves, which takes longer than normal. When that starts to > happen I'll compact and repair my database and re-compile all my code just > to clean things up...but it doesn't seem to help. Finally it gets to the > point where I'll try to open the form in design mode and get one of two > behaviors: 1) a message box saying there aren't enough system resources to > complete the operation or 2) NOTHING HAPPENS - the form won't run, won't > open - nothing. > > Is there something I can do to salvage these corrupt items? Should I not > be > using a copy of a form as the basis for a new one? Could it be related to > bloat? I'm making these changes in the front end database on my PC...The > front end on the other pcs here are usually around 55 MB, but on mine it > bloats up to around 290 - and even after compact/repair it only shrinks to > about 170. Granted, I have a few objects, forms, and tables that are not > installed on the other front ends - but it seems like my front end > shouldn't > be THAT much heftier! > > Any suggestions? > > > Janet Erbach > IT Administrator > Natural Healthy Concepts > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 aiuholdings.com Fri May 1 15:09:32 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Fri, 1 May 2009 16:09:32 -0400 Subject: [AccessD] Form corruption In-Reply-To: <6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <85C9D25297D745D0B789D47F76D67B5C@HAL9005> <6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> Message-ID: Janet, Sounds more like he's an out-house waste of space: 100% of the time he has no answer! What else does he consult on? As to your problem. The copy you are developing on: is it stored on a network drive? Do you get the same issues if you work on a copy on your local hard drive? What I'm driving at is that perhaps you have a bad network connection and that is causing the trouble. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Friday, May 01, 2009 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Yes, I do have an in-house consultant. (Actually, since he's not on-site does that make him an 'Out-house consultant'?) But half the time he says "Ask the forum!! That's what they're for!!" and the other half he says "Hell if I know, honey!" The compact/repair/compile doesn't seem to help. But I haven't tried the export yet - so I'll try that next. Thank you, sir! Janet On Fri, May 1, 2009 at 2:35 PM, Rocky Smolin wrote: > My first move would be compact and repair. After that - decompile. > After that, create a new mdb and import all the objects. > > If you're unsure about any of these I believe you have an in-house > consultant to provide tech support. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Friday, May 01, 2009 12:19 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Form corruption > > Hello all - > > We manage our order processing/shipping/product inventory using an > access database application developed by some guys in Pennsylvania. I > have created a dozen custom functions within this app that have > allowed me to do things that the original app didn't include. But > form corruption sneaks up on me far more frequently than seems normal. > > It seems to happen most when I've copied a form that I already > created and use that as the starting point for a new form. I'll > notice that my response time starts to seriously degrade - I click on > an object and it's seconds before I can move it or edit it. I'll save > the form and my screen will go blank while it saves, which takes > longer than normal. When that starts to happen I'll compact and > repair my database and re-compile all my code just to clean things > up...but it doesn't seem to help. Finally it gets to the point where > I'll try to open the form in design mode and get one of two > behaviors: 1) a message box saying there aren't enough system > resources to complete the operation or 2) NOTHING HAPPENS - the form > won't run, won't open - nothing. > > Is there something I can do to salvage these corrupt items? Should I > not be using a copy of a form as the basis for a new one? Could it be > related to bloat? I'm making these changes in the front end database > on my PC...The front end on the other pcs here are usually around 55 > MB, but on mine it bloats up to around 290 - and even after > compact/repair it only shrinks to about 170. Granted, I have a few > objects, forms, and tables that are not installed on the other front > ends - but it seems like my front end shouldn't be THAT much heftier! > > Any suggestions? > > > Janet Erbach > IT Administrator > Natural Healthy Concepts > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Fri May 1 15:14:20 2009 From: garykjos at gmail.com (Gary Kjos) Date: Fri, 1 May 2009 15:14:20 -0500 Subject: [AccessD] Form corruption In-Reply-To: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> Message-ID: Hi Janet, It is my understanding that database corruption is most often caused by network or other hardware issues. If you are working off a network drive you might be having network issues or if you are working locally then you might want to do some hard drive diagnostics to make sure you are not walking the edge before a failure. What version of Access are you using and what version format is the database stored in? I have heard that A2003 database format had an issue that tended to cause bloat. I've continued to always use A2K format for my databases that I update in either A2002 or A2003 versions. I can't remember the last time I ever had a corruption incident but I am mostly doing data extraction from external ODBC databases and then doing quieries over those which are exported to Excel mostly. I don't create a lot of forms or other objects and very little VBA code. Here is an interesting article on Access Database Corruption. http://www.everythingaccess.com/tutorials.asp?ID=Access-Database-Corruption-Repair-Guide Good luck with it. GK On Fri, May 1, 2009 at 2:18 PM, Janet Erbach wrote: > Hello all - > > We manage our order processing/shipping/product inventory using an access > database application developed by some guys in Pennsylvania. ?I have created > a dozen custom functions within this app that have allowed me to do things > that the original app didn't include. ?But form corruption sneaks up on me > far more frequently than seems normal. > > It seems to happen most when I've copied ?a form that I already created and > use that as the starting point for a new form. ?I'll notice that my response > time starts to seriously degrade - I click on an object and it's seconds > before I can move it or edit it. ?I'll save the form and my screen will go > blank while it saves, which takes longer than normal. ?When that starts to > happen I'll compact and repair my database and re-compile all my code just > to clean things up...but it doesn't seem to help. ?Finally it gets to the > point where I'll try to open the form in design mode and get one of two > behaviors: ?1) a message box saying there aren't enough system resources to > complete the operation or 2) NOTHING HAPPENS - the form won't run, won't > open - nothing. > > Is there something I can do to salvage these corrupt items? ?Should I not be > using a copy of a form as the basis for a new one? ?Could it be related to > bloat? ?I'm making these changes in the front end database on my PC...The > front end on the other pcs here are usually around ?55 MB, but on mine it > bloats up to around 290 ?- and even after compact/repair it only shrinks to > about 170. ?Granted, I have a few objects, forms, and tables that are not > installed on the other front ends - but it seems like my front end shouldn't > be THAT much heftier! > > Any suggestions? > > > Janet Erbach > IT Administrator > Natural Healthy Concepts > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From rockysmolin at bchacc.com Fri May 1 15:15:38 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 1 May 2009 13:15:38 -0700 Subject: [AccessD] Form corruption In-Reply-To: References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com><85C9D25297D745D0B789D47F76D67B5C@HAL9005><6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> Message-ID: Lambert: He has other redeeming qualities. Nice speaking voice for example. And he reads to her. These benefits cannot be minimized. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Friday, May 01, 2009 1:10 PM To: 'Access Developers discussion and problem solving' Cc: 'Janet Erbach' Subject: Re: [AccessD] Form corruption Janet, Sounds more like he's an out-house waste of space: 100% of the time he has no answer! What else does he consult on? As to your problem. The copy you are developing on: is it stored on a network drive? Do you get the same issues if you work on a copy on your local hard drive? What I'm driving at is that perhaps you have a bad network connection and that is causing the trouble. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Friday, May 01, 2009 3:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Yes, I do have an in-house consultant. (Actually, since he's not on-site does that make him an 'Out-house consultant'?) But half the time he says "Ask the forum!! That's what they're for!!" and the other half he says "Hell if I know, honey!" The compact/repair/compile doesn't seem to help. But I haven't tried the export yet - so I'll try that next. Thank you, sir! Janet On Fri, May 1, 2009 at 2:35 PM, Rocky Smolin wrote: > My first move would be compact and repair. After that - decompile. > After that, create a new mdb and import all the objects. > > If you're unsure about any of these I believe you have an in-house > consultant to provide tech support. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Friday, May 01, 2009 12:19 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Form corruption > > Hello all - > > We manage our order processing/shipping/product inventory using an > access database application developed by some guys in Pennsylvania. I > have created a dozen custom functions within this app that have > allowed me to do things that the original app didn't include. But > form corruption sneaks up on me far more frequently than seems normal. > > It seems to happen most when I've copied a form that I already > created and use that as the starting point for a new form. I'll > notice that my response time starts to seriously degrade - I click on > an object and it's seconds before I can move it or edit it. I'll save > the form and my screen will go blank while it saves, which takes > longer than normal. When that starts to happen I'll compact and > repair my database and re-compile all my code just to clean things > up...but it doesn't seem to help. Finally it gets to the point where > I'll try to open the form in design mode and get one of two > behaviors: 1) a message box saying there aren't enough system > resources to complete the operation or 2) NOTHING HAPPENS - the form > won't run, won't open - nothing. > > Is there something I can do to salvage these corrupt items? Should I > not be using a copy of a form as the basis for a new one? Could it be > related to bloat? I'm making these changes in the front end database > on my PC...The front end on the other pcs here are usually around 55 > MB, but on mine it bloats up to around 290 - and even after > compact/repair it only shrinks to about 170. Granted, I have a few > objects, forms, and tables that are not installed on the other front > ends - but it seems like my front end shouldn't be THAT much heftier! > > Any suggestions? > > > Janet Erbach > IT Administrator > Natural Healthy Concepts > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat May 2 05:16:59 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 2 May 2009 11:16:59 +0100 Subject: [AccessD] Copy Protection Needed In-Reply-To: <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> Message-ID: <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> Susan, I would store it in a User Defined Property on the BE and the FE. The UDP would store BE HD Srl No. (Plus anything else you want to create info for, eg Date installed, Company Licensed to, etc, etc). Each time the BE fires up it checks the HD Srl No. Each time the FE fires up it checks the entries on the BE - it also increases the number of logged users by 1 and checks if they have reached the licensed limit. You can also limit the number of installations this way. Make use of the UDP to store and record all sorts of stuff. Limited only by your imagination and your needs. When the BE first fires up, the HDPs won't be there, so you know it is a fresh install. The user never sees these properties and wont know they are there. Use them in conjunction with an encrypted MDE to log events etc. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 01 May 2009 15:47 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I'm kind of with John on this one -- I'll man those phones! ;) In my delirium I came up with two possible copy-protection ideas, and I'd like to hear pros and cons: 1.) Create a key in the registry with a simple Boolean value, when the application is first launched. Then the program is launched, checked for the key -- if it's there, proceed. If not, lock things up with the appropriate warning and contact information. If it's good enough for MS, it's good enough for me. This is a relatively simple process to implement. 2.) It seems to me that there ought to be a way to manipulate the GUID data type with some internal system value to create a one-time key value that won't change, as long as it's on the same system. If that's possible, simply compare that value each time and respond appropriately. I don't know if this is possible. Thoughts? Susan H. ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Sunday, April 26, 2009 8:08 PM Subject: Re: [AccessD] Copy Protection Needed > >The consequence of which is that the customer has to contact direct by > >email or phone with a > hardware-related 'Fingerprint number' on first installation, and you have > to run a utility and email > back their unlock key. Which obviously would be a drag if you are talking > high volume sales. > > ROTFL. Answering an email to provide a key to obtain a $400 sale is a > PITA? Hmmm... I'll do it > for 50%. > > John W. Colby > www.ColbyConsulting.com > > > Steve Schapel wrote: >> Ricky, >> >> For several years I have been using Sagekey Security >> http://www.sagekey.com/security.aspx >> >> Of course, you have the expense of a licence from Sagekey. But in my >> opinion it's well worth it. >> >> There is a web component, but I don't bother with that. The consequence >> of which is that the customer has to contact direct by email or phone >> with a hardware-related 'Fingerprint number' on first installation, and >> you have to run a utility and email back their unlock key. Which >> obviously would be a drag if you are talking high volume sales. But for >> a moderate number of end users, it's not too burdensome, and always works >> like a charm. >> >> Regards >> Steve >> >> From: Rocky Smolin >> Sent: Sunday, April 26, 2009 3:59 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] Copy Protection Needed >> >> >> Dear List: >> >> Susan Harkins and I are working on a project together It is a >> relatively >> small application and database for the Toys for Tots organization - >> tracking >> parents, children, donors, and volunteers. We were contacted by the >> head of >> a Michigan chapter after he had gotten bids from $2500 to $10,000 for a >> custom database - well out of his budget range. So we decided to put >> together an application for him, speculating that perhaps other Toys >> for >> Tots chapters around the country would find the application valuable. >> He's >> up and running and very happy, has provided us with a nice endorsement, >> and >> will post a notice to the TFT bulletin board for us when we get a web >> page >> up. Which should be in a couple weeks. We have priced the product at >> $400. >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat May 2 07:29:34 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 02 May 2009 08:29:34 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> Message-ID: <49FC3CAE.90602@colbyconsulting.com> I do think this is the ticket for instances where you do not care how many copies run at a given site. Make the user contact you for a key. Make them include the "serial number" of the installed BE and the name of the company and create a table that holds the name / address of the company and keys dispensed. Then if people call in asking for more / new keys, the Serial Number of the BE should match the name / address they provide. If the serial number is in your database but the name / address is somewhere completely different... Is anyone interested in forming a working group to define and perhaps even design / build such a system that Database Advisors could license to group members? John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Susan, > I would store it in a User Defined Property on the BE and the FE. The UDP > would store BE HD Srl No. (Plus anything else you want to create info for, > eg Date installed, Company Licensed to, etc, etc). > > Each time the BE fires up it checks the HD Srl No. Each time the FE fires > up it checks the entries on the BE - it also increases the number of logged > users by 1 and checks if they have reached the licensed limit. You can also > limit the number of installations this way. > > Make use of the UDP to store and record all sorts of stuff. Limited only by > your imagination and your needs. > > When the BE first fires up, the HDPs won't be there, so you know it is a > fresh install. The user never sees these properties and wont know they are > there. Use them in conjunction with an encrypted MDE to log events etc. > > > > Max From jimdettman at verizon.net Sat May 2 07:52:19 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 02 May 2009 08:52:19 -0400 Subject: [AccessD] Form corruption In-Reply-To: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> Message-ID: Janet, It sounds like you either have some network issues or environment issues on your workstation. A little detective work needs to be done there. Ie. Do others have problems with corruption? Do you have any problems with other apps or errors? Etc. I would check a couple of basics on your station: 1. MDB's are not being virus scanned. 2. You have plenty of free disk space. 3. The environment variables TMP and TEMP point to valid paths. 4. Clean out all your temp folders. 5. Your up to date on service packs. 6. If your on a laptop, make sure your cabled up rather then using wireless. As far as the corruption, really once a DB is corrupt, for the money, the only thing you should be doing is creating a fresh DB container and importing everything into it. Why? First importing gives you a sanity check on the all the objects in the DB;every form, report, table, etc. If they are corrupt to the point of not importing, then you really don't want them anyway. Second is that other "repair" methods are far from perfect; a compact and repair can succeed on a DB and yet it still may be corrupt. A decompile from the command line only does one thing; invalidate compiled code. It doesn't do or check anything else. I hope you are making regular backups, which is your best defense against corruption, because all the "repair" methods can fail including importing to a fresh db container. BTW, if you do have a form that won't import, one trick to getting it back is to open it the damaged DB, save it as text, then load that text file in the new DB. HTH, Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Friday, May 01, 2009 3:19 PM To: Access Developers discussion and problem solving Subject: [AccessD] Form corruption Hello all - We manage our order processing/shipping/product inventory using an access database application developed by some guys in Pennsylvania. I have created a dozen custom functions within this app that have allowed me to do things that the original app didn't include. But form corruption sneaks up on me far more frequently than seems normal. It seems to happen most when I've copied a form that I already created and use that as the starting point for a new form. I'll notice that my response time starts to seriously degrade - I click on an object and it's seconds before I can move it or edit it. I'll save the form and my screen will go blank while it saves, which takes longer than normal. When that starts to happen I'll compact and repair my database and re-compile all my code just to clean things up...but it doesn't seem to help. Finally it gets to the point where I'll try to open the form in design mode and get one of two behaviors: 1) a message box saying there aren't enough system resources to complete the operation or 2) NOTHING HAPPENS - the form won't run, won't open - nothing. Is there something I can do to salvage these corrupt items? Should I not be using a copy of a form as the basis for a new one? Could it be related to bloat? I'm making these changes in the front end database on my PC...The front end on the other pcs here are usually around 55 MB, but on mine it bloats up to around 290 - and even after compact/repair it only shrinks to about 170. Granted, I have a few objects, forms, and tables that are not installed on the other front ends - but it seems like my front end shouldn't be THAT much heftier! Any suggestions? Janet Erbach IT Administrator Natural Healthy Concepts -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat May 2 08:54:17 2009 From: robert at servicexp.com (Robert) Date: Sat, 2 May 2009 09:54:17 -0400 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49FC3CAE.90602@colbyconsulting.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> <49FC3CAE.90602@colbyconsulting.com> Message-ID: <000e01c9cb2d$7d43ec20$77cbc460$@com> I would be willing to help out. A few years ago I released, to this group, the name based key gen system I use. As in my last post, I have been very reluctant to key the software to the user's hardware. WBR Robert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Saturday, May 02, 2009 8:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I do think this is the ticket for instances where you do not care how many copies run at a given site. Make the user contact you for a key. Make them include the "serial number" of the installed BE and the name of the company and create a table that holds the name / address of the company and keys dispensed. Then if people call in asking for more / new keys, the Serial Number of the BE should match the name / address they provide. If the serial number is in your database but the name / address is somewhere completely different... Is anyone interested in forming a working group to define and perhaps even design / build such a system that Database Advisors could license to group members? John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sat May 2 09:15:08 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 02 May 2009 10:15:08 -0400 Subject: [AccessD] BCP export -b bacth size Message-ID: <49FC556C.3050607@colbyconsulting.com> Does anyone know if the -b switch works for BCP when exporting files? I always get the default 1000 lines regardless of my -b value. -- John W. Colby www.ColbyConsulting.com From max.wanadoo at gmail.com Sat May 2 10:35:07 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 2 May 2009 16:35:07 +0100 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49FC3CAE.90602@colbyconsulting.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> <49FC3CAE.90602@colbyconsulting.com> Message-ID: <49fc682e.0a1ad00a.66e6.4414@mx.google.com> Here is my 1st thoughts on how I would implement it. Could be greatly improved, I am sure. Const conHDSN ="XYZ" (replace with own values) 1. Create an MDB to handle client details etc. 2. Create a Licence MDE (LMDE) which would be part of the installation/operating process on the client's server. 3. Place the BE and FE along with the LMDE (licence MDE) on a FMS (Flash Memory Stick). Not a CD because we need to be able to write back to it. 4. Encrypt the contents of the FMS with TC (TrueCrypt ) - www.truecrypt.com. This would be done in Traveller mode. This means that the user does not need TC on their system. 5. Place a batch file on the FMS to handle installation tasks. 6. The password would be emailed separately to the client. The FMS would be posted by snail mail/courier etc. Installation 1. Insert FMS into USB port on Server where BE will live. 2. Run the batch file which will: a. Run TC. Prompt for the TC password emailed earlier. b. TC will create a virtual drive (Z:\) and decrypt the files into it and exit TC. c. The batch file will then run the installation routine to place the LMDE, the BE and a copy of the FE onto the Server, say drive Y:\. d. It will then run TC to dismount the virtual drive Z:\ e. It will then call the BE. Running BE For The First Time 3. The BE on opening (whether from install or later re-boots) will run code to see if the following User Defined Properties (UDP) have been set up. If not, it will assume an initial install and create them. If the Developer has included them in the BE then it will skip this bit. a. Encrypted Name of licensed client (appears in all forms, reports etc) b. Encrypted Number of concurrent users allowed c. Encrypted Number of concurrent users currently logged in. d. Encrypted SN of HD of Back End. (BEHDSN) e. Encrypted Date License Starts (installation must be within x days of this). f. Encrypted Date License Expires. g. Encrypted Delimited String of FE HD Srl Nos. 4. If the BEHDSN = conHDSN then it will assume an Initial install: a. Prompt for the same password that TC uses b. Run code to open TC on the FMS/USB to check it is there and valid. c. Open the LMDE on the virtual drive and check the BEHDSN = conHDSN, if not then bomb out because it has been used for a previous install. d. If virtual BEHDSN = conHDSN but installation outside of x days of License Start Date then bomb out. e. Else, store the server BEHDSN to the LMDE on the virtual drive and dismount it. This is to prevent it being used later for "suspect installs" f. Send email back to Developer using Blat, CDO etc giving values from BE UDP, BEHDSN etc. g. OR once installation complete, delete all files from FMS. That will definitely prevent future installations. Normal Usage If BE on opening has the UDPs then h. If BEHDSN = conHDSN then replace it with Server HDSN i. IF BEHDSN <> server HDSN then bomb out else, j. Then continue with normal Boot-Install i. Open the server LMDE and get values for UDP ii. Check if license still in-date. If not in-date bomb out. 5. The FE can be copied by user to each local PC as required. 6. When user opens FE it will: a. Run code to update the BE UDP for Concurrent Users and refuse if limit reached. b. Place the FEHDSN onto the BE UDP if required to monitor how many FE installations there are (as opposed to how many logged on users). Questions 7. What happens if user passes FMS to another organisation along with password? a. The BEHDSN will not be = conHDSN so it will bomb out and refuse to install. b. Of if you choose to delete all installation files then there will be nothing there to install. 8. What does the user do if they have a replacement Server HD? a. Developer sends (emails) out a new LMDE with the BEHDSN set to conHDSN and other values as needed, eg License dates. When the user places this on the Server and runs the BE again, it will pick up from para 4 above. 9. What if the BE and FE and LMDE are copied to another Server in another location? a. The BEHDSN will not be equal to the new Server HDSN and will bomb out. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 02 May 2009 13:30 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I do think this is the ticket for instances where you do not care how many copies run at a given site. Make the user contact you for a key. Make them include the "serial number" of the installed BE and the name of the company and create a table that holds the name / address of the company and keys dispensed. Then if people call in asking for more / new keys, the Serial Number of the BE should match the name / address they provide. If the serial number is in your database but the name / address is somewhere completely different... Is anyone interested in forming a working group to define and perhaps even design / build such a system that Database Advisors could license to group members? John W. Colby www.ColbyConsulting.com From rockysmolin at bchacc.com Sat May 2 11:00:11 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 2 May 2009 09:00:11 -0700 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49fc682e.0a1ad00a.66e6.4414@mx.google.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com><49FC3CAE.90602@colbyconsulting.com> <49fc682e.0a1ad00a.66e6.4414@mx.google.com> Message-ID: <961F829A7D334083A5BF656F6ABF1C01@HAL9005> Gadzooks! It would work, but for a $400 product, I wonder if it's worth the effort? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Saturday, May 02, 2009 8:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Copy Protection Needed Here is my 1st thoughts on how I would implement it. Could be greatly improved, I am sure. Const conHDSN ="XYZ" (replace with own values) 1. Create an MDB to handle client details etc. 2. Create a Licence MDE (LMDE) which would be part of the installation/operating process on the client's server. 3. Place the BE and FE along with the LMDE (licence MDE) on a FMS (Flash Memory Stick). Not a CD because we need to be able to write back to it. 4. Encrypt the contents of the FMS with TC (TrueCrypt ) - www.truecrypt.com. This would be done in Traveller mode. This means that the user does not need TC on their system. 5. Place a batch file on the FMS to handle installation tasks. 6. The password would be emailed separately to the client. The FMS would be posted by snail mail/courier etc. Installation 1. Insert FMS into USB port on Server where BE will live. 2. Run the batch file which will: a. Run TC. Prompt for the TC password emailed earlier. b. TC will create a virtual drive (Z:\) and decrypt the files into it and exit TC. c. The batch file will then run the installation routine to place the LMDE, the BE and a copy of the FE onto the Server, say drive Y:\. d. It will then run TC to dismount the virtual drive Z:\ e. It will then call the BE. Running BE For The First Time 3. The BE on opening (whether from install or later re-boots) will run code to see if the following User Defined Properties (UDP) have been set up. If not, it will assume an initial install and create them. If the Developer has included them in the BE then it will skip this bit. a. Encrypted Name of licensed client (appears in all forms, reports etc) b. Encrypted Number of concurrent users allowed c. Encrypted Number of concurrent users currently logged in. d. Encrypted SN of HD of Back End. (BEHDSN) e. Encrypted Date License Starts (installation must be within x days of this). f. Encrypted Date License Expires. g. Encrypted Delimited String of FE HD Srl Nos. 4. If the BEHDSN = conHDSN then it will assume an Initial install: a. Prompt for the same password that TC uses b. Run code to open TC on the FMS/USB to check it is there and valid. c. Open the LMDE on the virtual drive and check the BEHDSN = conHDSN, if not then bomb out because it has been used for a previous install. d. If virtual BEHDSN = conHDSN but installation outside of x days of License Start Date then bomb out. e. Else, store the server BEHDSN to the LMDE on the virtual drive and dismount it. This is to prevent it being used later for "suspect installs" f. Send email back to Developer using Blat, CDO etc giving values from BE UDP, BEHDSN etc. g. OR once installation complete, delete all files from FMS. That will definitely prevent future installations. Normal Usage If BE on opening has the UDPs then h. If BEHDSN = conHDSN then replace it with Server HDSN i. IF BEHDSN <> server HDSN then bomb out else, j. Then continue with normal Boot-Install i. Open the server LMDE and get values for UDP ii. Check if license still in-date. If not in-date bomb out. 5. The FE can be copied by user to each local PC as required. 6. When user opens FE it will: a. Run code to update the BE UDP for Concurrent Users and refuse if limit reached. b. Place the FEHDSN onto the BE UDP if required to monitor how many FE installations there are (as opposed to how many logged on users). Questions 7. What happens if user passes FMS to another organisation along with password? a. The BEHDSN will not be = conHDSN so it will bomb out and refuse to install. b. Of if you choose to delete all installation files then there will be nothing there to install. 8. What does the user do if they have a replacement Server HD? a. Developer sends (emails) out a new LMDE with the BEHDSN set to conHDSN and other values as needed, eg License dates. When the user places this on the Server and runs the BE again, it will pick up from para 4 above. 9. What if the BE and FE and LMDE are copied to another Server in another location? a. The BEHDSN will not be equal to the new Server HDSN and will bomb out. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 02 May 2009 13:30 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed I do think this is the ticket for instances where you do not care how many copies run at a given site. Make the user contact you for a key. Make them include the "serial number" of the installed BE and the name of the company and create a table that holds the name / address of the company and keys dispensed. Then if people call in asking for more / new keys, the Serial Number of the BE should match the name / address they provide. If the serial number is in your database but the name / address is somewhere completely different... Is anyone interested in forming a working group to define and perhaps even design / build such a system that Database Advisors could license to group members? John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Sat May 2 11:59:02 2009 From: marksimms at verizon.net (Mark Simms) Date: Sat, 02 May 2009 12:59:02 -0400 Subject: [AccessD] BCP export -b bacth size In-Reply-To: <49FC556C.3050607@colbyconsulting.com> References: <49FC556C.3050607@colbyconsulting.com> Message-ID: <000301c9cb47$4bf4f0f0$0501a8c0@MSIMMSWS> Dunno about exporting, but this article saws it's a /b switch, not -b. Possible that both forms are acceptable. http://support.microsoft.com/kb/81339 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Saturday, May 02, 2009 10:15 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] BCP export -b bacth size > > Does anyone know if the -b switch works for BCP when > exporting files? I always get the default 1000 lines > regardless of my -b value. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tinanfields at torchlake.com Sat May 2 12:43:25 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 02 May 2009 13:43:25 -0400 Subject: [AccessD] Attn Tina: MSDN CD's In-Reply-To: References: <49FAEBC2.7060803@torchlake.com> Message-ID: <49FC863D.1050605@torchlake.com> Drew, thank you. I have downloaded the iso files and I seem to have successfully burned the 3 discs from those iso files. Thanks a bunch! T Drew Wutka wrote: > No, they are links that aren't 'posted' to the public, just a folder I > can put stuff in for people to download. > > Here are the new links: > > http://www.marlow.com/downloads/MSDNDisc1.iso > > http://www.marlow.com/downloads/MSDNDisc2.iso > > http://www.marlow.com/downloads/MSDNDisc3.iso > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, May 01, 2009 7:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Attn Tina: MSDN CD's > > Drew, no I didn't. I must have missed your note about putting them up > there - sorry. Can I just go to marlow and look around, or do you want > to give me a link? Thanks. > T > > Drew Wutka wrote: > >> Tina, did you download those .iso images? I've put them on our new >> site, I'll post a link if you haven't downloaded them, but I'm going >> > to > >> be shutting down the server they were on sometime today I think. >> >> >> >> Drew >> >> >> The information contained in this transmission is intended only for >> > the person or entity > >> to which it is addressed and may contain II-VI Proprietary and/or >> > II-VI Business > >> Sensitive material. If you are not the intended recipient, please >> > contact the sender > >> immediately and destroy the material in its entirety, whether >> > electronic or hard copy. > >> You are notified that any review, retransmission, copying, disclosure, >> > dissemination, > >> or other use of, or taking of any action in reliance upon this >> > information by persons > >> or entities other than the intended recipient is prohibited. >> >> >> From wdhindman at dejpolsystems.com Sat May 2 13:58:33 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 May 2009 14:58:33 -0400 Subject: [AccessD] Form corruption References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> Message-ID: <6B3E05A9E5534B99A3B7989DE7FEB466@jislaptopdev> Janet 1) Steve is soooooooooooooooooooooo going to hear that "out-house consultant" line :) 2) Max has a beautiful little Access app called "EatBloat" which I believe is in version 4.1 at the moment ...it takes everything in your mdb and exports it to text files and then builds a new mdb using the exported text files from the old one: a) ime I've never had a fe corruption issue that "EatBloat" couldn't fix b) better yet, as its name implies, it eats all that bloat in your mdb 3) I can e you my copy but better yet would be for Max to send you his latest ...he did have a dl point at one time but I'm too old to recall it and too short-tempered these days to look for it :) William -------------------------------------------------- From: "Janet Erbach" Sent: Friday, May 01, 2009 3:18 PM To: "Access Developers discussion and problem solving" Subject: [AccessD] Form corruption > Hello all - > > We manage our order processing/shipping/product inventory using an access > database application developed by some guys in Pennsylvania. I have > created > a dozen custom functions within this app that have allowed me to do things > that the original app didn't include. But form corruption sneaks up on me > far more frequently than seems normal. > > It seems to happen most when I've copied a form that I already created > and > use that as the starting point for a new form. I'll notice that my > response > time starts to seriously degrade - I click on an object and it's seconds > before I can move it or edit it. I'll save the form and my screen will go > blank while it saves, which takes longer than normal. When that starts to > happen I'll compact and repair my database and re-compile all my code just > to clean things up...but it doesn't seem to help. Finally it gets to the > point where I'll try to open the form in design mode and get one of two > behaviors: 1) a message box saying there aren't enough system resources > to > complete the operation or 2) NOTHING HAPPENS - the form won't run, won't > open - nothing. > > Is there something I can do to salvage these corrupt items? Should I not > be > using a copy of a form as the basis for a new one? Could it be related to > bloat? I'm making these changes in the front end database on my PC...The > front end on the other pcs here are usually around 55 MB, but on mine it > bloats up to around 290 - and even after compact/repair it only shrinks > to > about 170. Granted, I have a few objects, forms, and tables that are not > installed on the other front ends - but it seems like my front end > shouldn't > be THAT much heftier! > > Any suggestions? > > > Janet Erbach > IT Administrator > Natural Healthy Concepts > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From erbachs at gmail.com Sat May 2 15:18:45 2009 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 2 May 2009 15:18:45 -0500 Subject: [AccessD] Form corruption In-Reply-To: References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <85C9D25297D745D0B789D47F76D67B5C@HAL9005> <6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> Message-ID: <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> Rocky, I also make a mean stir fry and superb turtle bars ( http://www.swerbach.com/recipe ). Steve Erbach On Fri, May 1, 2009 at 3:15 PM, Rocky Smolin wrote: > Lambert: > > He has other redeeming qualities. ?Nice speaking voice for example. ?And he > reads to her. ?These benefits cannot be minimized. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert > Sent: Friday, May 01, 2009 1:10 PM > To: 'Access Developers discussion and problem solving' > Cc: 'Janet Erbach' > Subject: Re: [AccessD] Form corruption > > Janet, > > Sounds more like he's an out-house waste of space: 100% of the time he has > no answer! What else does he consult on? > > As to your problem. The copy you are developing on: is it stored on a > network drive? Do you get the same issues if you work on a copy on your > local hard drive? What I'm driving at is that perhaps you have a bad network > connection and that is causing the trouble. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: Friday, May 01, 2009 3:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Yes, I do have an in-house consultant. (Actually, since he's not on-site > does that make him an 'Out-house consultant'?) ? But half the time he says > "Ask the forum!! That's what they're for!!" ?and the other half he says > "Hell if I know, honey!" From rockysmolin at bchacc.com Sat May 2 15:21:38 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 2 May 2009 13:21:38 -0700 Subject: [AccessD] Form corruption In-Reply-To: <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com><85C9D25297D745D0B789D47F76D67B5C@HAL9005><6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> Message-ID: <440DA370A18A4D53AA0233F6726D32B6@HAL9005> Mmmmm....turtles.... (H.Simpson) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Saturday, May 02, 2009 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Rocky, I also make a mean stir fry and superb turtle bars ( http://www.swerbach.com/recipe ). Steve Erbach On Fri, May 1, 2009 at 3:15 PM, Rocky Smolin wrote: > Lambert: > > He has other redeeming qualities. ?Nice speaking voice for example. ? > And he reads to her. ?These benefits cannot be minimized. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Friday, May 01, 2009 1:10 PM > To: 'Access Developers discussion and problem solving' > Cc: 'Janet Erbach' > Subject: Re: [AccessD] Form corruption > > Janet, > > Sounds more like he's an out-house waste of space: 100% of the time he > has no answer! What else does he consult on? > > As to your problem. The copy you are developing on: is it stored on a > network drive? Do you get the same issues if you work on a copy on > your local hard drive? What I'm driving at is that perhaps you have a > bad network connection and that is causing the trouble. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Friday, May 01, 2009 3:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Yes, I do have an in-house consultant. (Actually, since he's not > on-site does that make him an 'Out-house consultant'?) ? But half the > time he says "Ask the forum!! That's what they're for!!" ?and the > other half he says "Hell if I know, honey!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat May 2 15:28:30 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 2 May 2009 13:28:30 -0700 Subject: [AccessD] Form corruption In-Reply-To: <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com><85C9D25297D745D0B789D47F76D67B5C@HAL9005><6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> Message-ID: OK, back at ya (this is OT Saturday, isn't it? OK, here it is ? my (locally) famous Chicken with Black Bean Sauce. A real crowd pleaser. My kids actually ate broccoli in this dish. First ? if you don?t already have one, stop by Target and pick up a rice cheap cooker (this is what I got: http://www.target.com and search for rice cookers and looks at the Rival 6-cupper (RC61)). Perfect rice every time. Fast cleanup. You don?t have to monitor it. Never burns to the pot. Start 2-3 cups rice (uncooked) early enough so it?ll be finished before the chicken. Basmati is my preference. Now the dish Chicken ? 1-2 pounds of skinless boneless chicken breast depending on how hungry you are. Dice into bite sized pieces and saut? on med-high heat until still a bit pink on the inside (they?ll cook more at the end. Put ?em in a bowl and set aside (the chicken, not you). Note: I have made this with shrimp as well. But the shrimp cook real fast so just throw them in at the end along with the sauce. I?ve also used beef. But chicken is the best. Veggies ? cut up as much broccoli as you can stand ? I use 1-2 pounds of crowns. Cut up a big onion. Stir fry the broccoli. It takes longer than the onion so add the onion about ? way through cooking the broccoli. I recommend not using frozen broc. It starts out soggy and gets worse from there. But you can use it in a pinch. Note: I don?t use a wok. I use a big flat 14 inch fry pan. Note: I sometimes substitute fresh green beans for broccoli. Same caveat on the frozen. You could also do eggplant although no one in this house would eat it but me. Note: Go ahead throw in whatever else you like ? water chestnutz, snow peas (but just at the end, they go limp fast). Just don?t make it too ungepotchke. Sauce: Take about a quarter of a jar of Lee Kum Kee Black Bean with Garlic Sauce and put it in a 2-cup measuring cup. Add something to thicken the sauce ? tablespoon or 2 of flour, corn starch, something like that. Fill the cup 3/4 full or so. I?d give you a more precise measurement but I just eyeball it. Whisk it into submission. You can put in some Szchechuan chili sauce, but we usually just put it on top after serving. It?s pretty spicy. Note: I used to use milk instead of water. Makes a different kind of sauce but every bit as good. Also, I?ve used a can of coconut milk, too, but it didn?t seem to add much flavor ? but made the sauce richer (more fat). Final assembly: When the veggies are done to your liking, turn the heat way down, otherwise the sauce will boil away real fast. Pour in the chicken, then give the sauce a final whisk and pour on top. Have some additional water standing by as sometimes the sauce cooks down too much or gets too thick and you need to thin it out. Turn it over a few times and Walla! A crowd pleaser. It may seem like a bit of potchkying the first time, but, after you make it a few times it goes real quick. That?s what I like about it. Quick. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Saturday, May 02, 2009 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Rocky, I also make a mean stir fry and superb turtle bars ( http://www.swerbach.com/recipe ). Steve Erbach On Fri, May 1, 2009 at 3:15 PM, Rocky Smolin wrote: > Lambert: > > He has other redeeming qualities. ?Nice speaking voice for example. ? > And he reads to her. ?These benefits cannot be minimized. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Friday, May 01, 2009 1:10 PM > To: 'Access Developers discussion and problem solving' > Cc: 'Janet Erbach' > Subject: Re: [AccessD] Form corruption > > Janet, > > Sounds more like he's an out-house waste of space: 100% of the time he > has no answer! What else does he consult on? > > As to your problem. The copy you are developing on: is it stored on a > network drive? Do you get the same issues if you work on a copy on > your local hard drive? What I'm driving at is that perhaps you have a > bad network connection and that is causing the trouble. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Friday, May 01, 2009 3:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Yes, I do have an in-house consultant. (Actually, since he's not > on-site does that make him an 'Out-house consultant'?) ? But half the > time he says "Ask the forum!! That's what they're for!!" ?and the > other half he says "Hell if I know, honey!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Sat May 2 15:40:20 2009 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Sat, 2 May 2009 13:40:20 -0700 Subject: [AccessD] Form corruption In-Reply-To: <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com><85C9D25297D745D0B789D47F76D67B5C@HAL9005><6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> Message-ID: <3A140959D5BA493E8B4CB31EE5AB5AD9@bigmama> Now THAT was funny. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Saturday, May 02, 2009 1:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Rocky, I also make a mean stir fry and superb turtle bars ( http://www.swerbach.com/recipe ). Steve Erbach On Fri, May 1, 2009 at 3:15 PM, Rocky Smolin wrote: > Lambert: > > He has other redeeming qualities. ?Nice speaking voice for example. ? > And he reads to her. ?These benefits cannot be minimized. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, > Lambert > Sent: Friday, May 01, 2009 1:10 PM > To: 'Access Developers discussion and problem solving' > Cc: 'Janet Erbach' > Subject: Re: [AccessD] Form corruption > > Janet, > > Sounds more like he's an out-house waste of space: 100% of the time he > has no answer! What else does he consult on? > > As to your problem. The copy you are developing on: is it stored on a > network drive? Do you get the same issues if you work on a copy on > your local hard drive? What I'm driving at is that perhaps you have a > bad network connection and that is causing the trouble. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet > Erbach > Sent: Friday, May 01, 2009 3:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Yes, I do have an in-house consultant. (Actually, since he's not > on-site does that make him an 'Out-house consultant'?) ? But half the > time he says "Ask the forum!! That's what they're for!!" ?and the > other half he says "Hell if I know, honey!" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Sat May 2 15:52:35 2009 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 2 May 2009 15:52:35 -0500 Subject: [AccessD] Form corruption In-Reply-To: <3A140959D5BA493E8B4CB31EE5AB5AD9@bigmama> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <85C9D25297D745D0B789D47F76D67B5C@HAL9005> <6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> <3A140959D5BA493E8B4CB31EE5AB5AD9@bigmama> Message-ID: <39cb22f30905021352k3d121c28mff9e52c8f024d8d8@mail.gmail.com> Thank you, Karen. I aim to please. The world's longest six-ingredient recipe. Steve Erbach On Sat, May 2, 2009 at 3:40 PM, Karen Rosenstiel wrote: > Now THAT was funny. > > > Regards, > > Karen Rosenstiel > Seattle WA USA > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Saturday, May 02, 2009 1:19 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Rocky, > > I also make a mean stir fry and superb turtle bars ( > http://www.swerbach.com/recipe ). > > Steve Erbach From erbachs at gmail.com Sat May 2 15:57:19 2009 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 2 May 2009 15:57:19 -0500 Subject: [AccessD] Form corruption In-Reply-To: References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <85C9D25297D745D0B789D47F76D67B5C@HAL9005> <6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com> <39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> Message-ID: <39cb22f30905021357y6e040cc0g5d5e79a56af1c503@mail.gmail.com> Rocky, >> Just don?t make it too ungepotchke. << Or else it gets farplotchket, nu? A very tempting recipe...Janet, unfortunately, would not go for the hot sauce. I like to use House of Tsang Szechuan sauce on my stir fry, but I have to sprinkle it on my own plate. Janet is definitely a non-spicy food lover. Steve Erbach On Sat, May 2, 2009 at 3:28 PM, Rocky Smolin wrote: > OK, back at ya (this is OT Saturday, isn't it? > > OK, here it is ? my (locally) famous Chicken with Black Bean Sauce. ?A real > crowd pleaser. ?My kids actually ate broccoli in this dish. > > First ? if you don?t already have one, stop by Target and pick up a rice > cheap cooker (this is what I got: http://www.target.com ?and search for rice > cookers and looks at the Rival 6-cupper (RC61)). ?Perfect rice every time. > Fast cleanup. ?You don?t have to monitor it. ?Never burns to the pot. > > Start 2-3 cups rice (uncooked) early enough so it?ll be finished before the > chicken. ?Basmati is my preference. > > Now the dish > Chicken ? 1-2 pounds of skinless boneless chicken breast depending on how > hungry you are. ?Dice into bite sized pieces and saut? on med-high heat > until still a bit pink on the inside (they?ll cook more at the end. ?Put ?em > in a bowl and set aside (the chicken, not you). > > Note: ?I have made this with shrimp as well. ?But the shrimp cook real fast > so just throw them in at the end along with the sauce. ?I?ve also used beef. > But chicken is the best. > > Veggies ? cut up as much broccoli as you can stand ? I use 1-2 pounds of > crowns. ?Cut up a big onion. ?Stir fry the broccoli. ?It takes longer than > the onion so add the onion about ? way through cooking the broccoli. ?I > recommend not using frozen broc. ?It starts out soggy and gets worse from > there. ?But you can use it in a pinch. > > Note: ?I don?t use a wok. ?I use a big flat 14 inch fry pan. > Note: ?I sometimes substitute fresh green beans for broccoli. ?Same caveat > on the frozen. ?You could also do eggplant although no one in this house > would eat it but me. > Note: Go ahead throw in whatever else you like ? water chestnutz, snow peas > (but just at the end, they go limp fast). ?Just don?t make it too > ungepotchke. > > Sauce: > Take about a quarter of a jar of Lee Kum Kee Black Bean with Garlic Sauce > and put it in a 2-cup measuring cup. ?Add something to thicken the sauce ? > tablespoon or 2 of flour, corn starch, something like that. ?Fill the cup > 3/4 full or so. I?d give you a more precise measurement but I just eyeball > it. ?Whisk it into submission. ?You can put in some Szchechuan chili sauce, > but we usually just put it on top after serving. ?It?s pretty spicy. > > Note: I used to use milk instead of water. ?Makes a different kind of sauce > but every bit as good. ?Also, I?ve used a can of coconut milk, too, but it > didn?t seem to add much flavor ? but made the sauce richer (more fat). > > Final assembly: > When the veggies are done to your liking, turn the heat way down, otherwise > the sauce will boil away real fast. ?Pour in the chicken, then give the > sauce a final whisk and pour on top. ?Have some additional water standing by > as sometimes the sauce cooks down too much or gets too thick and you need to > thin it out. ?Turn it over a few times and Walla! A crowd pleaser. > > It may seem like a bit of potchkying the first time, but, after you make it > a few times it goes real quick. ?That?s what I like about it. ?Quick. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Saturday, May 02, 2009 1:19 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Rocky, > > I also make a mean stir fry and superb turtle bars ( > http://www.swerbach.com/recipe ). > > Steve Erbach From rockysmolin at bchacc.com Sat May 2 19:06:14 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 2 May 2009 17:06:14 -0700 Subject: [AccessD] Form corruption In-Reply-To: <39cb22f30905021357y6e040cc0g5d5e79a56af1c503@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com><85C9D25297D745D0B789D47F76D67B5C@HAL9005><6ef6ac2c0905011243u73b5cafek2faaf2f9bbba04de@mail.gmail.com><39cb22f30905021318r54ae12c9te19ea996262a7ae1@mail.gmail.com> <39cb22f30905021357y6e040cc0g5d5e79a56af1c503@mail.gmail.com> Message-ID: <2D7007C6642F4464AA1ED0B1490A0A1D@HAL9005> The Black Bean with Garlic is not spicy. Lot of flavor but not hot. So she might go for it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Saturday, May 02, 2009 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Rocky, >> Just don?t make it too ungepotchke. << Or else it gets farplotchket, nu? A very tempting recipe...Janet, unfortunately, would not go for the hot sauce. I like to use House of Tsang Szechuan sauce on my stir fry, but I have to sprinkle it on my own plate. Janet is definitely a non-spicy food lover. Steve Erbach On Sat, May 2, 2009 at 3:28 PM, Rocky Smolin wrote: > OK, back at ya (this is OT Saturday, isn't it? > > OK, here it is ? my (locally) famous Chicken with Black Bean Sauce. ?A > real crowd pleaser. ?My kids actually ate broccoli in this dish. > > First ? if you don?t already have one, stop by Target and pick up a > rice cheap cooker (this is what I got: http://www.target.com ?and > search for rice cookers and looks at the Rival 6-cupper (RC61)). ?Perfect rice every time. > Fast cleanup. ?You don?t have to monitor it. ?Never burns to the pot. > > Start 2-3 cups rice (uncooked) early enough so it?ll be finished > before the chicken. ?Basmati is my preference. > > Now the dish > Chicken ? 1-2 pounds of skinless boneless chicken breast depending on > how hungry you are. ?Dice into bite sized pieces and saut? on med-high > heat until still a bit pink on the inside (they?ll cook more at the > end. ?Put ?em in a bowl and set aside (the chicken, not you). > > Note: ?I have made this with shrimp as well. ?But the shrimp cook real > fast so just throw them in at the end along with the sauce. ?I?ve also used beef. > But chicken is the best. > > Veggies ? cut up as much broccoli as you can stand ? I use 1-2 pounds > of crowns. ?Cut up a big onion. ?Stir fry the broccoli. ?It takes > longer than the onion so add the onion about ? way through cooking the > broccoli. ?I recommend not using frozen broc. ?It starts out soggy and > gets worse from there. ?But you can use it in a pinch. > > Note: ?I don?t use a wok. ?I use a big flat 14 inch fry pan. > Note: ?I sometimes substitute fresh green beans for broccoli. ?Same > caveat on the frozen. ?You could also do eggplant although no one in > this house would eat it but me. > Note: Go ahead throw in whatever else you like ? water chestnutz, snow > peas (but just at the end, they go limp fast). ?Just don?t make it too > ungepotchke. > > Sauce: > Take about a quarter of a jar of Lee Kum Kee Black Bean with Garlic > Sauce and put it in a 2-cup measuring cup. ?Add something to thicken > the sauce ? tablespoon or 2 of flour, corn starch, something like > that. ?Fill the cup > 3/4 full or so. I?d give you a more precise measurement but I just > eyeball it. ?Whisk it into submission. ?You can put in some Szchechuan > chili sauce, but we usually just put it on top after serving. ?It?s pretty spicy. > > Note: I used to use milk instead of water. ?Makes a different kind of > sauce but every bit as good. ?Also, I?ve used a can of coconut milk, > too, but it didn?t seem to add much flavor ? but made the sauce richer (more fat). > > Final assembly: > When the veggies are done to your liking, turn the heat way down, > otherwise the sauce will boil away real fast. ?Pour in the chicken, > then give the sauce a final whisk and pour on top. ?Have some > additional water standing by as sometimes the sauce cooks down too > much or gets too thick and you need to thin it out. ?Turn it over a few times and Walla! A crowd pleaser. > > It may seem like a bit of potchkying the first time, but, after you > make it a few times it goes real quick. ?That?s what I like about it. ?Quick. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve > Erbach > Sent: Saturday, May 02, 2009 1:19 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Rocky, > > I also make a mean stir fry and superb turtle bars ( > http://www.swerbach.com/recipe ). > > Steve Erbach -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat May 2 19:45:21 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 03 May 2009 10:45:21 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> References: , <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne>, <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> Message-ID: <49FCE921.30908.331024DA@stuart.lexacorp.com.pg> What do you mean be "fires up" wrt the BE. My BEs are normally data repositories which are linked to by the FE application. They are never actually "opened" in a way which would run code in them. On 2 May 2009 at 11:16, Max Wanadoo wrote: > Susan, > I would store it in a User Defined Property on the BE and the FE. The UDP > would store BE HD Srl No. (Plus anything else you want to create info for, > eg Date installed, Company Licensed to, etc, etc). > > Each time the BE fires up it checks the HD Srl No. Each time the FE fires > up it checks the entries on the BE - it also increases the number of logged > users by 1 and checks if they have reached the licensed limit. You can also > limit the number of installations this way. > > Make use of the UDP to store and record all sorts of stuff. Limited only by > your imagination and your needs. > > When the BE first fires up, the HDPs won't be there, so you know it is a > fresh install. The user never sees these properties and wont know they are > there. Use them in conjunction with an encrypted MDE to log events etc. > > > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 01 May 2009 15:47 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy Protection Needed > > I'm kind of with John on this one -- I'll man those phones! ;) > > In my delirium I came up with two possible copy-protection ideas, and I'd > like to hear pros and cons: > > 1.) Create a key in the registry with a simple Boolean value, when the > application is first launched. Then the program is launched, checked for the > > key -- if it's there, proceed. If not, lock things up with the appropriate > warning and contact information. If it's good enough for MS, it's good > enough for me. This is a relatively simple process to implement. > > 2.) It seems to me that there ought to be a way to manipulate the GUID data > type with some internal system value to create a one-time key value that > won't change, as long as it's on the same system. If that's possible, simply > > compare that value each time and respond appropriately. I don't know if this > > is possible. > > Thoughts? > Susan H. > > ----- Original Message ----- > From: "jwcolby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, April 26, 2009 8:08 PM > Subject: Re: [AccessD] Copy Protection Needed > > > > >The consequence of which is that the customer has to contact direct by > > >email or phone with a > > hardware-related 'Fingerprint number' on first installation, and you have > > to run a utility and email > > back their unlock key. Which obviously would be a drag if you are talking > > > high volume sales. > > > > ROTFL. Answering an email to provide a key to obtain a $400 sale is a > > PITA? Hmmm... I'll do it > > for 50%. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Steve Schapel wrote: > >> Ricky, > >> > >> For several years I have been using Sagekey Security > >> http://www.sagekey.com/security.aspx > >> > >> Of course, you have the expense of a licence from Sagekey. But in my > >> opinion it's well worth it. > >> > >> There is a web component, but I don't bother with that. The consequence > >> of which is that the customer has to contact direct by email or phone > >> with a hardware-related 'Fingerprint number' on first installation, and > >> you have to run a utility and email back their unlock key. Which > >> obviously would be a drag if you are talking high volume sales. But for > >> a moderate number of end users, it's not too burdensome, and always works > > >> like a charm. > >> > >> Regards > >> Steve > >> > >> From: Rocky Smolin > >> Sent: Sunday, April 26, 2009 3:59 AM > >> To: 'Access Developers discussion and problem solving' > >> Subject: [AccessD] Copy Protection Needed > >> > >> > >> Dear List: > >> > >> Susan Harkins and I are working on a project together It is a > >> relatively > >> small application and database for the Toys for Tots organization - > >> tracking > >> parents, children, donors, and volunteers. We were contacted by the > >> head of > >> a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > >> custom database - well out of his budget range. So we decided to put > >> together an application for him, speculating that perhaps other Toys > >> for > >> Tots chapters around the country would find the application valuable. > >> He's > >> up and running and very happy, has provided us with a nice endorsement, > > >> and > >> will post a notice to the TFT bulletin board for us when we get a web > >> page > >> up. Which should be in a couple weeks. We have priced the product at > >> $400. > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sat May 2 20:38:05 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 03 May 2009 11:38:05 +1000 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49FC3CAE.90602@colbyconsulting.com> References: , <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com>, <49FC3CAE.90602@colbyconsulting.com> Message-ID: <49FCF57D.21684.33406C94@stuart.lexacorp.com.pg> I'm a firm believer in providing each customer with their own copy of the application which has an embedded serial number. Encrypt the customers name/address and anything else you want with this unique key. When the application is opened, decrypt the Customer Name etc and embed this on all forms and reports. That alone will discourage a great deal of piracy in a business environment. If you want to lock the application to a specific installation, it is a a simple process to include something else in the encryption. The problem comes in deciding what to use. I dislike using hardware for two reasons: 1. It is the BE that needs to be limited and getting hardware info for the BE server from a FE workstation is not so easy. 2. Hardware breaks down and needs to be replaced. One possibility is to lock it to a specific BE \\servername\sharename\BDName and possibly the Domain name if it is a domain network. For small operations like Toys For Tots co-ordinators, I'd suspect that in many situations it will run on a standalone PC or a small peer to peer network, so domain specific stuff is probably out of the question for the original case - and the workgroup is probably just named "Workgroup" . If customers wants to change the installation to run from a different server location, they will need to contact you, but as long as they keep the servername and share the same, they can replace any hardware they like. I'd be interested in the working group. I've got similar things operating now. I have one application that I didn't charge for up-front - we negotiated a transaction based licence fee instead. Ever three months, the system pops up a message that the licence needs renewing, the customer emails me and I send back a new key which is an encrypted version of their name, the serial number and the new expiry date ( provided that they have paid the currently fees). On startup, the FE decrypts the user details and stores this in a static function for display on forms and reports, checks the expiry date and either: does nothing; warns that the licence is about to expire and then continues; or states that the licence has expired and closes itself down. On 2 May 2009 at 8:29, jwcolby wrote: > I do think this is the ticket for instances where you do not care how many copies run at a given > site. Make the user contact you for a key. Make them include the "serial number" of the installed > BE and the name of the company and create a table that holds the name / address of the company and > keys dispensed. Then if people call in asking for more / new keys, the Serial Number of the BE > should match the name / address they provide. If the serial number is in your database but the name > / address is somewhere completely different... > > Is anyone interested in forming a working group to define and perhaps even design / build such a > system that Database Advisors could license to group members? > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: > > Susan, > > I would store it in a User Defined Property on the BE and the FE. The UDP > > would store BE HD Srl No. (Plus anything else you want to create info for, > > eg Date installed, Company Licensed to, etc, etc). > > > > Each time the BE fires up it checks the HD Srl No. Each time the FE fires > > up it checks the entries on the BE - it also increases the number of logged > > users by 1 and checks if they have reached the licensed limit. You can also > > limit the number of installations this way. > > > > Make use of the UDP to store and record all sorts of stuff. Limited only by > > your imagination and your needs. > > > > When the BE first fires up, the HDPs won't be there, so you know it is a > > fresh install. The user never sees these properties and wont know they are > > there. Use them in conjunction with an encrypted MDE to log events etc. > > > > > > > > Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat May 2 21:03:23 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 02 May 2009 22:03:23 -0400 Subject: [AccessD] Dual NICS and virtual machines Message-ID: <49FCFB6B.4030403@colbyconsulting.com> I have a server running virtual machines running a third party app. because this application requires as much memory as I can give it (about 3 gigs) and so I can only run two VMs due to the limitation of 8 gigs on the server (X64 Windows 2003). The server has dual NICS. To this point I have only used a single NIC but I am wondering if I can specify a NIC for the virtual machine to use, and thus have each VM use a different NIC. Has anyone ever tired to do this? -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Sat May 2 23:04:33 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 03 May 2009 14:04:33 +1000 Subject: [AccessD] Dual NICS and virtual machines In-Reply-To: <49FCFB6B.4030403@colbyconsulting.com> References: <49FCFB6B.4030403@colbyconsulting.com> Message-ID: <49FD17D1.32605.33C6843C@stuart.lexacorp.com.pg> What VM - VirtualPC VirtualBox, VMWare? On 2 May 2009 at 22:03, jwcolby wrote: > I have a server running virtual machines running a third party app. because this application > requires as much memory as I can give it (about 3 gigs) and so I can only run two VMs due to the > limitation of 8 gigs on the server (X64 Windows 2003). > > The server has dual NICS. To this point I have only used a single NIC but I am wondering if I can > specify a NIC for the virtual machine to use, and thus have each VM use a different NIC. > > Has anyone ever tired to do this? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun May 3 03:06:52 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 3 May 2009 09:06:52 +0100 Subject: [AccessD] Copy Protection Needed In-Reply-To: <49FCE921.30908.331024DA@stuart.lexacorp.com.pg> References: , <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne>, <49fc1d9f.1818d00a.2661.ffffcf41@mx.google.com> <49FCE921.30908.331024DA@stuart.lexacorp.com.pg> Message-ID: <49fd50a1.1818d00a.2574.ffff97ab@mx.google.com> Sort of thing I was thinking of is 1. As part of the installation, they need to run the BE which has code to do abc,xyz 2. As part of the overnight backup, compact etc, run the code 3. Have a encrypted side-kick mde that is always running on the drive where the BE sits. As I say, needs a lot more thought yet. Liked the idea of linking to a URL. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 03 May 2009 01:45 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Copy Protection Needed What do you mean be "fires up" wrt the BE. My BEs are normally data repositories which are linked to by the FE application. They are never actually "opened" in a way which would run code in them. On 2 May 2009 at 11:16, Max Wanadoo wrote: > Susan, > I would store it in a User Defined Property on the BE and the FE. The UDP > would store BE HD Srl No. (Plus anything else you want to create info for, > eg Date installed, Company Licensed to, etc, etc). > > Each time the BE fires up it checks the HD Srl No. Each time the FE fires > up it checks the entries on the BE - it also increases the number of logged > users by 1 and checks if they have reached the licensed limit. You can also > limit the number of installations this way. > > Make use of the UDP to store and record all sorts of stuff. Limited only by > your imagination and your needs. > > When the BE first fires up, the HDPs won't be there, so you know it is a > fresh install. The user never sees these properties and wont know they are > there. Use them in conjunction with an encrypted MDE to log events etc. > > > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 01 May 2009 15:47 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Copy Protection Needed > > I'm kind of with John on this one -- I'll man those phones! ;) > > In my delirium I came up with two possible copy-protection ideas, and I'd > like to hear pros and cons: > > 1.) Create a key in the registry with a simple Boolean value, when the > application is first launched. Then the program is launched, checked for the > > key -- if it's there, proceed. If not, lock things up with the appropriate > warning and contact information. If it's good enough for MS, it's good > enough for me. This is a relatively simple process to implement. > > 2.) It seems to me that there ought to be a way to manipulate the GUID data > type with some internal system value to create a one-time key value that > won't change, as long as it's on the same system. If that's possible, simply > > compare that value each time and respond appropriately. I don't know if this > > is possible. > > Thoughts? > Susan H. > > ----- Original Message ----- > From: "jwcolby" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, April 26, 2009 8:08 PM > Subject: Re: [AccessD] Copy Protection Needed > > > > >The consequence of which is that the customer has to contact direct by > > >email or phone with a > > hardware-related 'Fingerprint number' on first installation, and you have > > to run a utility and email > > back their unlock key. Which obviously would be a drag if you are talking > > > high volume sales. > > > > ROTFL. Answering an email to provide a key to obtain a $400 sale is a > > PITA? Hmmm... I'll do it > > for 50%. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Steve Schapel wrote: > >> Ricky, > >> > >> For several years I have been using Sagekey Security > >> http://www.sagekey.com/security.aspx > >> > >> Of course, you have the expense of a licence from Sagekey. But in my > >> opinion it's well worth it. > >> > >> There is a web component, but I don't bother with that. The consequence > >> of which is that the customer has to contact direct by email or phone > >> with a hardware-related 'Fingerprint number' on first installation, and > >> you have to run a utility and email back their unlock key. Which > >> obviously would be a drag if you are talking high volume sales. But for > >> a moderate number of end users, it's not too burdensome, and always works > > >> like a charm. > >> > >> Regards > >> Steve > >> > >> From: Rocky Smolin > >> Sent: Sunday, April 26, 2009 3:59 AM > >> To: 'Access Developers discussion and problem solving' > >> Subject: [AccessD] Copy Protection Needed > >> > >> > >> Dear List: > >> > >> Susan Harkins and I are working on a project together It is a > >> relatively > >> small application and database for the Toys for Tots organization - > >> tracking > >> parents, children, donors, and volunteers. We were contacted by the > >> head of > >> a Michigan chapter after he had gotten bids from $2500 to $10,000 for a > >> custom database - well out of his budget range. So we decided to put > >> together an application for him, speculating that perhaps other Toys > >> for > >> Tots chapters around the country would find the application valuable. > >> He's > >> up and running and very happy, has provided us with a nice endorsement, > > >> and > >> will post a notice to the TFT bulletin board for us when we get a web > >> page > >> up. Which should be in a couple weeks. We have priced the product at > >> $400. > >> > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun May 3 07:21:26 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 03 May 2009 08:21:26 -0400 Subject: [AccessD] Dual NICS and virtual machines In-Reply-To: <49FD17D1.32605.33C6843C@stuart.lexacorp.com.pg> References: <49FCFB6B.4030403@colbyconsulting.com> <49FD17D1.32605.33C6843C@stuart.lexacorp.com.pg> Message-ID: <49FD8C46.5040105@colbyconsulting.com> VMWare. John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > What VM - VirtualPC VirtualBox, VMWare? > > On 2 May 2009 at 22:03, jwcolby wrote: > >> I have a server running virtual machines running a third party app. because this application >> requires as much memory as I can give it (about 3 gigs) and so I can only run two VMs due to the >> limitation of 8 gigs on the server (X64 Windows 2003). >> >> The server has dual NICS. To this point I have only used a single NIC but I am wondering if I can >> specify a NIC for the virtual machine to use, and thus have each VM use a different NIC. >> >> Has anyone ever tired to do this? >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From stuart at lexacorp.com.pg Sun May 3 08:45:51 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 03 May 2009 23:45:51 +1000 Subject: [AccessD] Dual NICS and virtual machines In-Reply-To: <49FD8C46.5040105@colbyconsulting.com> References: <49FCFB6B.4030403@colbyconsulting.com>, <49FD17D1.32605.33C6843C@stuart.lexacorp.com.pg>, <49FD8C46.5040105@colbyconsulting.com> Message-ID: <49FDA00F.26081.35DAB7C5@stuart.lexacorp.com.pg> Sorry, can't help with that one. On 3 May 2009 at 8:21, jwcolby wrote: > VMWare. > > John W. Colby > www.ColbyConsulting.com > > > Stuart McLachlan wrote: > > What VM - VirtualPC VirtualBox, VMWare? > > > > On 2 May 2009 at 22:03, jwcolby wrote: > > > >> I have a server running virtual machines running a third party app. because this application > >> requires as much memory as I can give it (about 3 gigs) and so I can only run two VMs due to the > >> limitation of 8 gigs on the server (X64 Windows 2003). > >> > >> The server has dual NICS. To this point I have only used a single NIC but I am wondering if I can > >> specify a NIC for the virtual machine to use, and thus have each VM use a different NIC. > >> > >> Has anyone ever tired to do this? > >> > >> -- > >> John W. Colby > >> www.ColbyConsulting.com > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Sun May 3 19:32:00 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Mon, 4 May 2009 10:32:00 +1000 Subject: [AccessD] Form corruption In-Reply-To: <6B3E05A9E5534B99A3B7989DE7FEB466@jislaptopdev> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <6B3E05A9E5534B99A3B7989DE7FEB466@jislaptopdev> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13A4E@WPEXCH22.retail.ad.cmltd.net.au> I have found version 3.0 here http://www.peoplelinks.co.uk/msaccess/msaccess.html regards Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Sunday, 3 May 2009 4:59 AM To: Access Developers discussion and problem solving Cc: max Subject: Re: [AccessD] Form corruption Janet 1) Steve is soooooooooooooooooooooo going to hear that "out-house consultant" line :) 2) Max has a beautiful little Access app called "EatBloat" which I believe is in version 4.1 at the moment ...it takes everything in your mdb and exports it to text files and then builds a new mdb using the exported text files from the old one: a) ime I've never had a fe corruption issue that "EatBloat" couldn't fix b) better yet, as its name implies, it eats all that bloat in your mdb 3) I can e you my copy but better yet would be for Max to send you his latest ...he did have a dl point at one time but I'm too old to recall it and too short-tempered these days to look for it :) William -------------------------------------------------- From: "Janet Erbach" Sent: Friday, May 01, 2009 3:18 PM To: "Access Developers discussion and problem solving" Subject: [AccessD] Form corruption > Hello all - > > We manage our order processing/shipping/product inventory using an access > database application developed by some guys in Pennsylvania. I have > created > a dozen custom functions within this app that have allowed me to do things > that the original app didn't include. But form corruption sneaks up on me > far more frequently than seems normal. > > It seems to happen most when I've copied a form that I already created > and > use that as the starting point for a new form. I'll notice that my > response > time starts to seriously degrade - I click on an object and it's seconds > before I can move it or edit it. I'll save the form and my screen will go > blank while it saves, which takes longer than normal. When that starts to > happen I'll compact and repair my database and re-compile all my code just > to clean things up...but it doesn't seem to help. Finally it gets to the > point where I'll try to open the form in design mode and get one of two > behaviors: 1) a message box saying there aren't enough system resources > to > complete the operation or 2) NOTHING HAPPENS - the form won't run, won't > open - nothing. > > Is there something I can do to salvage these corrupt items? Should I not > be > using a copy of a form as the basis for a new one? Could it be related to > bloat? I'm making these changes in the front end database on my PC...The > front end on the other pcs here are usually around 55 MB, but on mine it > bloats up to around 290 - and even after compact/repair it only shrinks > to > about 170. Granted, I have a few objects, forms, and tables that are not > installed on the other front ends - but it seems like my front end > shouldn't > be THAT much heftier! > > Any suggestions? > > > Janet Erbach > IT Administrator > Natural Healthy Concepts > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From dbdoug at gmail.com Sun May 3 21:49:39 2009 From: dbdoug at gmail.com (Doug Steele) Date: Sun, 3 May 2009 19:49:39 -0700 Subject: [AccessD] Form corruption In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F13A4E@WPEXCH22.retail.ad.cmltd.net.au> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <6B3E05A9E5534B99A3B7989DE7FEB466@jislaptopdev> <57E6E6CA42105A48B977303A2CDC27200815F13A4E@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <4dd71a0c0905031949x59d5a1cak4be0b800d328f31a@mail.gmail.com> Warning: don't load this site if your computer speakers are turned up! I nearly fell off my chair. Doug Steele On Sun, May 3, 2009 at 5:32 PM, Darryl Collins wrote: > I have found version 3.0 here > http://www.peoplelinks.co.uk/msaccess/msaccess.html > > From Darryl.Collins at coles.com.au Sun May 3 21:57:13 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Mon, 4 May 2009 12:57:13 +1000 Subject: [AccessD] Form corruption In-Reply-To: <4dd71a0c0905031949x59d5a1cak4be0b800d328f31a@mail.gmail.com> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <6B3E05A9E5534B99A3B7989DE7FEB466@jislaptopdev> <57E6E6CA42105A48B977303A2CDC27200815F13A4E@WPEXCH22.retail.ad.cmltd.net.au> <4dd71a0c0905031949x59d5a1cak4be0b800d328f31a@mail.gmail.com> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13A51@WPEXCH22.retail.ad.cmltd.net.au> oops, I didn't know about that... I always have my PC muted at work to avoid exactly this sort of issue - you never know what sort of madness is going to start up otherwise. I did see a "music off" switch on there somewhere. Personally I don't like unrequested audio on websites. regards Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Monday, 4 May 2009 12:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form corruption Warning: don't load this site if your computer speakers are turned up! I nearly fell off my chair. Doug Steele On Sun, May 3, 2009 at 5:32 PM, Darryl Collins wrote: > I have found version 3.0 here > http://www.peoplelinks.co.uk/msaccess/msaccess.html > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From max.sherman at mga-charity.org Mon May 4 05:31:07 2009 From: max.sherman at mga-charity.org (Max MGA) Date: Mon, 4 May 2009 11:31:07 +0100 Subject: [AccessD] EATBLOAT Message-ID: Someday I will get around to updating the site and turn the sound off. In the meantime you can download from here: The one pointed to directly on the site is an old version. www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.zip or www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.mdb Either: 1. Open an existing MDB and import frmEatBloat and run it. or 2. Leave it as is and import directly into it from another MDB. Max ps. Thanks William - hope you are well. From kost36 at otenet.gr Mon May 4 06:57:37 2009 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 4 May 2009 14:57:37 +0300 Subject: [AccessD] help with a query... References: Message-ID: <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc> dear group, I am using the follown query before a report... Director: ([Names.name]+Chr(13)+Chr(10)) & ([addr1_dir1]+Chr(13)+Chr(10)) & ([addr2_dir1]+Chr(13)+Chr(10)) & ([TK_dir1] & " " & [T_perioxi.perioxi]+Chr(13)+Chr(10)) & ([T_town.poli]+Chr(13)+Chr(10)) & ([T_kratos.kratos]+Chr(13)+Chr(10)) & ([Names_1.name]+Chr(13)+Chr(10)) & ([addr1_dir2]+Chr(13)+Chr(10)) & ([addr2_dir2]+Chr(13)+Chr(10)) & ([TK_dir2] & " " & [T_perioxi_1.perioxi]+Chr(13)+Chr(10)) & ([T_town_1.poli]+Chr(13)+Chr(10)) & ([T_kratos_1.kratos]+Chr(13)+Chr(10)) & ([Names_2.name]+Chr(13)+Chr(10)) & ([addr1_dir3]+Chr(13)+Chr(10)) & ([addr2_dir3]+Chr(13)+Chr(10)) & ([TK_dir3] & " " & [T_perioxi_2.perioxi]+Chr(13)+Chr(10)) & ([T_town_2.poli]+Chr(13)+Chr(10))+[T_kratos_2.kratos] Please, I need some help with two questions 1. If the sequences Names_1.name and Names_2.name are blank (have no data) then to the end of the field Director returns a space character and an enter character too 2. Is there any way to print in bold only the Names.Name, Names_1.name and Names_2.name many thank's /kostas From jerbach at gmail.com Mon May 4 08:33:10 2009 From: jerbach at gmail.com (Janet Erbach) Date: Mon, 4 May 2009 08:33:10 -0500 Subject: [AccessD] Form corruption In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F13A51@WPEXCH22.retail.ad.cmltd.net.au> References: <6ef6ac2c0905011218v5bf28620m4504da9d0bc1af94@mail.gmail.com> <6B3E05A9E5534B99A3B7989DE7FEB466@jislaptopdev> <57E6E6CA42105A48B977303A2CDC27200815F13A4E@WPEXCH22.retail.ad.cmltd.net.au> <4dd71a0c0905031949x59d5a1cak4be0b800d328f31a@mail.gmail.com> <57E6E6CA42105A48B977303A2CDC27200815F13A51@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <6ef6ac2c0905040633n4bf50b18u20be3f8704d7e713@mail.gmail.com> I'm running Access 2003 - so I think I'll do a little online research to see if I can find more troubleshooting ideas about bloat issues. I'm also going to do some diagnostic checking on my network connection...corruption has been only an occaisional problem on other pc's here, but I'm the only one creating new objects and new code. (I always assumed that my new objects have been triggering the bloat/corruption issues.) I'm especially going to check out EATBLOAT! Thank you, everyone, for the input! And thank you, Rocky, for the recipe. I think Steven is going to checkout EATBLACKBEANSWITHGARLIC! Janet On Sun, May 3, 2009 at 9:57 PM, Darryl Collins wrote: > oops, I didn't know about that... I always have my PC muted at work to > avoid exactly this sort of issue - you never know what sort of madness is > going to start up otherwise. I did see a "music off" switch on there > somewhere. Personally I don't like unrequested audio on websites. > > regards > Darryl. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Monday, 4 May 2009 12:50 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Form corruption > > Warning: don't load this site if your computer speakers are turned up! I > nearly fell off my chair. > > Doug Steele > > On Sun, May 3, 2009 at 5:32 PM, Darryl Collins > wrote: > > > I have found version 3.0 here > > http://www.peoplelinks.co.uk/msaccess/msaccess.html > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire liability > will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From iggy at nanaimo.ark.com Mon May 4 09:20:11 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 04 May 2009 07:20:11 -0700 Subject: [AccessD] OpenOffice.org Message-ID: <49FEF99B.5050900@nanaimo.ark.com> Hey All Before I start to do some testing, has anyone run an Access.mde using OpenOfiice.org on a USB drive?? I don't know if it is even possible. From fuller.artful at gmail.com Mon May 4 10:10:16 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 4 May 2009 11:10:16 -0400 Subject: [AccessD] OpenOffice.org In-Reply-To: <49FEF99B.5050900@nanaimo.ark.com> References: <49FEF99B.5050900@nanaimo.ark.com> Message-ID: <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com> How on earth do you expect that to work? OpenOffice doesn't have an Access clone, just a replacement called Base. Sorry for the bad news. A. On Mon, May 4, 2009 at 10:20 AM, Tony Septav wrote: > Hey All > Before I start to do some testing, has anyone run an Access.mde using > OpenOfiice.org on a USB drive?? I don't know if it is even possible. > From JHewson at nciinc.com Mon May 4 10:25:24 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Mon, 4 May 2009 10:25:24 -0500 Subject: [AccessD] OpenOffice.org References: <49FEF99B.5050900@nanaimo.ark.com> <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A875664B@sanex101.nciinc.com> But you could use the free download of Access 2007 runtime from MS. Jim ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Mon 5/4/2009 10:10 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OpenOffice.org How on earth do you expect that to work? OpenOffice doesn't have an Access clone, just a replacement called Base. Sorry for the bad news. A. On Mon, May 4, 2009 at 10:20 AM, Tony Septav wrote: > Hey All > Before I start to do some testing, has anyone run an Access.mde using > OpenOfiice.org on a USB drive?? I don't know if it is even possible. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From iggy at nanaimo.ark.com Mon May 4 10:29:53 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 04 May 2009 08:29:53 -0700 Subject: [AccessD] OpenOffice.org In-Reply-To: <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com> References: <49FEF99B.5050900@nanaimo.ark.com> <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com> Message-ID: <49FF09F1.6030609@nanaimo.ark.com> Hey Arthur Figured as much, just trying to figure out if we can run an Access App on a USB stick, the client is not allowed access to their C drive. Thanks Arthur Fuller wrote: >How on earth do you expect that to work? OpenOffice doesn't have an Access >clone, just a replacement called Base. > >Sorry for the bad news. > >A. > >On Mon, May 4, 2009 at 10:20 AM, Tony Septav wrote: > > > >>Hey All >>Before I start to do some testing, has anyone run an Access.mde using >>OpenOfiice.org on a USB drive?? I don't know if it is even possible. >> >> >> From stuart at lexacorp.com.pg Mon May 4 10:38:49 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 May 2009 01:38:49 +1000 Subject: [AccessD] OpenOffice.org In-Reply-To: <49FF09F1.6030609@nanaimo.ark.com> References: <49FEF99B.5050900@nanaimo.ark.com>, <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com>, <49FF09F1.6030609@nanaimo.ark.com> Message-ID: <49FF0C09.32236.3B6883A8@stuart.lexacorp.com.pg> You need either Access or the Runtime installed. That will involve righting to the registry apart from anything else. If they are locked down that hard, you won't be able to do it. On 4 May 2009 at 8:29, Tony Septav wrote: > Hey Arthur > Figured as much, just trying to figure out if we can run an Access App > on a USB stick, the client is not allowed access to their C drive. > Thanks > > Arthur Fuller wrote: > > >How on earth do you expect that to work? OpenOffice doesn't have an Access > >clone, just a replacement called Base. > > > >Sorry for the bad news. > > > >A. > > > >On Mon, May 4, 2009 at 10:20 AM, Tony Septav wrote: > > > > > > > >>Hey All > >>Before I start to do some testing, has anyone run an Access.mde using > >>OpenOfiice.org on a USB drive?? I don't know if it is even possible. > >> > >> > >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Mon May 4 10:40:48 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 04 May 2009 08:40:48 -0700 Subject: [AccessD] OpenOffice.org In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A875664B@sanex101.nciinc.com> References: <49FEF99B.5050900@nanaimo.ark.com> <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com> <7E02B06E41E5404589EDDDA2BAA1C5A875664B@sanex101.nciinc.com> Message-ID: <49FF0C80.9010207@nanaimo.ark.com> Hey Jim I will check it out. Hewson, Jim wrote: >But you could use the free download of Access 2007 runtime from MS. >Jim > >________________________________ > >From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller >Sent: Mon 5/4/2009 10:10 >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OpenOffice.org > > > >How on earth do you expect that to work? OpenOffice doesn't have an Access >clone, just a replacement called Base. > >Sorry for the bad news. > >A. > >On Mon, May 4, 2009 at 10:20 AM, Tony Septav wrote: > > > >>Hey All >>Before I start to do some testing, has anyone run an Access.mde using >>OpenOfiice.org on a USB drive?? I don't know if it is even possible. >> >> >> >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > > >################################################################################ >If you have received this message in error, please contact the sender >immediately and be aware that the use, copying, or dissemination of >this information is prohibited. This email transmission contains >information from NCI Information Systems, Inc. that may be considered >privileged or confidential and is intended solely for the named >recipient. >################################################################################ > > From fuller.artful at gmail.com Mon May 4 10:45:39 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 4 May 2009 11:45:39 -0400 Subject: [AccessD] OpenOffice.org In-Reply-To: <49FF0C80.9010207@nanaimo.ark.com> References: <49FEF99B.5050900@nanaimo.ark.com> <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com> <7E02B06E41E5404589EDDDA2BAA1C5A875664B@sanex101.nciinc.com> <49FF0C80.9010207@nanaimo.ark.com> Message-ID: <29f585dd0905040845t3f674513h21e6af40b6db61b8@mail.gmail.com> Are we talking a Windows OS or a Linux OS? If the latter, then I guess that you would also need WINE. But the former should work out ok without other pieces. A. On Mon, May 4, 2009 at 11:40 AM, Tony Septav wrote: > Hey Jim > I will check it out. > > From iggy at nanaimo.ark.com Mon May 4 10:55:25 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Mon, 04 May 2009 08:55:25 -0700 Subject: [AccessD] OpenOffice.org Message-ID: <49FF0FED.8080302@nanaimo.ark.com> Hey All Thanks to all who replied. Finally got to talk to the company's head IT honcho. Everything is locked down. I will have to submit the application for their testing. I realize the need for security, but the app is only going to be used by one manager for his reporting needs. Oh well now it is a sit and wait game. Thanks again From rockysmolin at bchacc.com Mon May 4 10:57:32 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 4 May 2009 08:57:32 -0700 Subject: [AccessD] OpenOffice.org In-Reply-To: <49FF0C09.32236.3B6883A8@stuart.lexacorp.com.pg> References: <49FEF99B.5050900@nanaimo.ark.com>, <29f585dd0905040810i315456d4j8a8b152cf1ff0a04@mail.gmail.com>, <49FF09F1.6030609@nanaimo.ark.com> <49FF0C09.32236.3B6883A8@stuart.lexacorp.com.pg> Message-ID: Speaking of the Access runtime in 2007, I've been using Wis/Sagekey for installs. Does the Microsoft installer in 2007 run well enough so that Wise/SageKey is no monger required? Is there a similar runtime and installer for 2003 that works well enough to abandon Wise/SageKey? TIA Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, May 04, 2009 8:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OpenOffice.org You need either Access or the Runtime installed. That will involve righting to the registry apart from anything else. If they are locked down that hard, you won't be able to do it. On 4 May 2009 at 8:29, Tony Septav wrote: > Hey Arthur > Figured as much, just trying to figure out if we can run an Access App > on a USB stick, the client is not allowed access to their C drive. > Thanks > > Arthur Fuller wrote: > > >How on earth do you expect that to work? OpenOffice doesn't have an Access > >clone, just a replacement called Base. > > > >Sorry for the bad news. > > > >A. > > > >On Mon, May 4, 2009 at 10:20 AM, Tony Septav wrote: > > > > > > > >>Hey All > >>Before I start to do some testing, has anyone run an Access.mde using > >>OpenOfiice.org on a USB drive?? I don't know if it is even possible. > >> > >> > >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 aiuholdings.com Mon May 4 10:58:15 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Mon, 4 May 2009 11:58:15 -0400 Subject: [AccessD] OpenOffice.org In-Reply-To: <49FF0FED.8080302@nanaimo.ark.com> References: <49FF0FED.8080302@nanaimo.ark.com> Message-ID: According to this site OpenOffice can convert Access data... http://searchenterpriselinux.techtarget.com/tip/0,289483,sid39_gci1236205,00.html ... So at least in theory you can do what your want, as long as OpenOffice and the data fill fit on the USB drive. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Monday, May 04, 2009 11:55 AM To: Access Developers discussion and problem solving Subject: [AccessD] OpenOffice.org Hey All Thanks to all who replied. Finally got to talk to the company's head IT honcho. Everything is locked down. I will have to submit the application for their testing. I realize the need for security, but the app is only going to be used by one manager for his reporting needs. Oh well now it is a sit and wait game. Thanks again -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aiuholdings.com Mon May 4 11:00:09 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Mon, 4 May 2009 12:00:09 -0400 Subject: [AccessD] OpenOffice.org In-Reply-To: <49FF0FED.8080302@nanaimo.ark.com> References: <49FF0FED.8080302@nanaimo.ark.com> Message-ID: P.S. By "do what you want" I meant of course be able to modify the Access data, but running and MDE is not on the cards, as others have said. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tony Septav Sent: Monday, May 04, 2009 11:55 AM To: Access Developers discussion and problem solving Subject: [AccessD] OpenOffice.org Hey All Thanks to all who replied. Finally got to talk to the company's head IT honcho. Everything is locked down. I will have to submit the application for their testing. I realize the need for security, but the app is only going to be used by one manager for his reporting needs. Oh well now it is a sit and wait game. Thanks again -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon May 4 11:25:01 2009 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 4 May 2009 11:25:01 -0500 Subject: [AccessD] help with a query... In-Reply-To: <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc> References: <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc> Message-ID: I think you have a problem with where you are using the plus sign for concatination verses the Ampersand. You may be aware of that which is why you are using a combination but I would try to replace all the + signs with ambersands and see if it clears your problem. I'm not clear on the exact difference between the two or I would elaborate. Good luck with it. GK On Mon, May 4, 2009 at 6:57 AM, Kostas Konstantinidis wrote: > dear group, > > I am using the follown query before a report... > > Director: ([Names.name]+Chr(13)+Chr(10)) & ([addr1_dir1]+Chr(13)+Chr(10)) & > ([addr2_dir1]+Chr(13)+Chr(10)) & ([TK_dir1] & " " & > [T_perioxi.perioxi]+Chr(13)+Chr(10)) & ([T_town.poli]+Chr(13)+Chr(10)) & > ([T_kratos.kratos]+Chr(13)+Chr(10)) & > ([Names_1.name]+Chr(13)+Chr(10)) & ([addr1_dir2]+Chr(13)+Chr(10)) & > ([addr2_dir2]+Chr(13)+Chr(10)) & ([TK_dir2] & " " & > [T_perioxi_1.perioxi]+Chr(13)+Chr(10)) & ([T_town_1.poli]+Chr(13)+Chr(10)) & > ([T_kratos_1.kratos]+Chr(13)+Chr(10)) & > ([Names_2.name]+Chr(13)+Chr(10)) & ([addr1_dir3]+Chr(13)+Chr(10)) & > ([addr2_dir3]+Chr(13)+Chr(10)) & ([TK_dir3] & " " & > [T_perioxi_2.perioxi]+Chr(13)+Chr(10)) & > ([T_town_2.poli]+Chr(13)+Chr(10))+[T_kratos_2.kratos] > > Please, I need some help with two questions > 1. If the sequences Names_1.name and Names_2.name are blank (have no data) > then to the end of the field > ? ?Director returns a space character and an enter character too > 2. Is there any way to print in bold only the Names.Name, Names_1.name and > Names_2.name > > many thank's > /kostas > > > -- > 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 stuart at lexacorp.com.pg Mon May 4 12:01:37 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 May 2009 03:01:37 +1000 Subject: [AccessD] help with a query... In-Reply-To: References: , <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc>, Message-ID: <49FF1F71.18558.3BB451E0@stuart.lexacorp.com.pg> He's using the plus signs correctly :-) & and + are the same thing for strings except where Nulls are concerned. ([Names.name]+Chr(13)+Chr(10)) will return a valid name plus CRLF, but if the name is Null, it will return Null - so it won't throw a blank line. ([Names.name] & Chr(13) & Chr(10)) will return the same for a valid name, but will return a CRLF by itself if the name is Null - resulting in a blank first line. The problem with the extra space results from the two occurences of & " " & One possibility is to replace them with & IIF(ISNULL([Names_1.name],""," ") & and & IIF(ISNULL([Names_2.name],""," ") & On 4 May 2009 at 11:25, Gary Kjos wrote: > I think you have a problem with where you are using the plus sign for > concatination verses the Ampersand. You may be aware of that which is > why you are using a combination but I would try to replace all the + > signs with ambersands and see if it clears your problem. I'm not clear > on the exact difference between the two or I would elaborate. > > Good luck with it. > > GK > > On Mon, May 4, 2009 at 6:57 AM, Kostas Konstantinidis wrote: > > dear group, > > > > I am using the follown query before a report... > > > > Director: ([Names.name]+Chr(13)+Chr(10)) & ([addr1_dir1]+Chr(13)+Chr(10)) & > > ([addr2_dir1]+Chr(13)+Chr(10)) & ([TK_dir1] & " " & > > [T_perioxi.perioxi]+Chr(13)+Chr(10)) & ([T_town.poli]+Chr(13)+Chr(10)) & > > ([T_kratos.kratos]+Chr(13)+Chr(10)) & > > ([Names_1.name]+Chr(13)+Chr(10)) & ([addr1_dir2]+Chr(13)+Chr(10)) & > > ([addr2_dir2]+Chr(13)+Chr(10)) & ([TK_dir2] & " " & > > [T_perioxi_1.perioxi]+Chr(13)+Chr(10)) & ([T_town_1.poli]+Chr(13)+Chr(10)) & > > ([T_kratos_1.kratos]+Chr(13)+Chr(10)) & > > ([Names_2.name]+Chr(13)+Chr(10)) & ([addr1_dir3]+Chr(13)+Chr(10)) & > > ([addr2_dir3]+Chr(13)+Chr(10)) & ([TK_dir3] & " " & > > [T_perioxi_2.perioxi]+Chr(13)+Chr(10)) & > > ([T_town_2.poli]+Chr(13)+Chr(10))+[T_kratos_2.kratos] > > > > Please, I need some help with two questions > > 1. If the sequences Names_1.name and Names_2.name are blank (have no data) > > then to the end of the field > > ? ?Director returns a space character and an enter character too > > 2. Is there any way to print in bold only the Names.Name, Names_1.name and > > Names_2.name > > > > many thank's > > /kostas > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > Gary Kjos > garykjos at gmail.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Susan.Klos at fldoe.org Mon May 4 12:10:05 2009 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Mon, 4 May 2009 13:10:05 -0400 Subject: [AccessD] Input data into text box in Access 2007 for right to left languages Message-ID: I created an Access 2007 database for a missionary who is translating the Bible into Urdu. He has the keyboard and language on his computer but of course justifying right is not what he needs. Urdu is like Arabic and when he types the Urdu he needs to have it type right to left. Any ideas what I can tell him? I think this is going to have to be fixed on his computer and he lives in another state so I am going to have to be able to talk him through it. Or, if someone knows a customer service for this kind of thing I could refer him to them. Thanks for any help. Susan Klos Senior Database Analyst Florida Department of Education Evaluation and Reporting Office Phone: 850.245.0708 email: susan.klos at fldoe.org From jerbach at gmail.com Mon May 4 13:34:20 2009 From: jerbach at gmail.com (Janet Erbach) Date: Mon, 4 May 2009 13:34:20 -0500 Subject: [AccessD] EATBLOAT In-Reply-To: References: Message-ID: <6ef6ac2c0905041134ia17b6b7kf4701c4bd070cb2b@mail.gmail.com> Thanks for the link! Janet Erbach On Mon, May 4, 2009 at 5:31 AM, Max MGA wrote: > Someday I will get around to updating the site and turn the sound off. > > In the meantime you can download from here: The one pointed to directly > on > the site is an old version. > > www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.zip > > or > > www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.mdb > > Either: > 1. Open an existing MDB and import frmEatBloat and run it. > or > 2. Leave it as is and import directly into it from another MDB. > > > Max > ps. Thanks William - hope you are well. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon May 4 13:41:12 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 May 2009 14:41:12 -0400 Subject: [AccessD] SPAM-LOW: OpenOffice.org In-Reply-To: <49FEF99B.5050900@nanaimo.ark.com> References: <49FEF99B.5050900@nanaimo.ark.com> Message-ID: <49FF36C8.9030002@colbyconsulting.com> LOL. In your dreams. ;) John W. Colby www.ColbyConsulting.com Tony Septav wrote: > Hey All > Before I start to do some testing, has anyone run an Access.mde using > OpenOfiice.org on a USB drive?? I don't know if it is even possible. From marksimms at verizon.net Mon May 4 14:22:31 2009 From: marksimms at verizon.net (Mark Simms) Date: Mon, 04 May 2009 15:22:31 -0400 Subject: [AccessD] SPAM-LOW: OpenOffice.org In-Reply-To: <49FF36C8.9030002@colbyconsulting.com> References: <49FEF99B.5050900@nanaimo.ark.com> <49FF36C8.9030002@colbyconsulting.com> Message-ID: <004601c9cced$abdc8080$0501a8c0@MSIMMSWS> What a bunch of nonsense....Sun has gotten everyone to think they've replaced All of MS Office....right down to the 50,000 item VBA object model. Truly LOL. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, May 04, 2009 2:41 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: OpenOffice.org > > LOL. > > In your dreams. ;) > > John W. Colby > www.ColbyConsulting.com > > > Tony Septav wrote: > > Hey All > > Before I start to do some testing, has anyone run an > Access.mde using > > OpenOfiice.org on a USB drive?? I don't know if it is even > possible. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon May 4 16:15:16 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 May 2009 17:15:16 -0400 Subject: [AccessD] SPAM-LOW: OpenOffice.org In-Reply-To: <004601c9cced$abdc8080$0501a8c0@MSIMMSWS> References: <49FEF99B.5050900@nanaimo.ark.com> <49FF36C8.9030002@colbyconsulting.com> <004601c9cced$abdc8080$0501a8c0@MSIMMSWS> Message-ID: <49FF5AE4.2090301@colbyconsulting.com> >..Sun has gotten everyone to think they've replaced all of MS Office....right down to the 50,000 item VBA object model. I'm not sure I would go that far. I have never seen them claim (or even imply) that OpenOffice will handle the vba behind Office. And I am not sure they really need to handle VBA for that matter. OpenOffice was designed to run on Linux where Office doesn't exist to begin with. People apt to use OpenOffice are those who want the same kinds of office applications, and in some cases that can "file share" with Office. It is my opinion that those running Linux understand perfectly well that programs running on Linux offer some degree of emulation at best. John W. Colby www.ColbyConsulting.com Mark Simms wrote: > What a bunch of nonsense....Sun has gotten everyone to think they've > replaced > All of MS Office....right down to the 50,000 item VBA object model. > Truly LOL. > > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, May 04, 2009 2:41 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] SPAM-LOW: OpenOffice.org >> >> LOL. >> >> In your dreams. ;) >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Tony Septav wrote: >>> Hey All >>> Before I start to do some testing, has anyone run an >> Access.mde using >>> OpenOfiice.org on a USB drive?? I don't know if it is even >> possible. >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From marksimms at verizon.net Mon May 4 16:30:14 2009 From: marksimms at verizon.net (Mark Simms) Date: Mon, 04 May 2009 17:30:14 -0400 Subject: [AccessD] SPAM-LOW: OpenOffice.org In-Reply-To: <49FF5AE4.2090301@colbyconsulting.com> References: <49FEF99B.5050900@nanaimo.ark.com> <49FF36C8.9030002@colbyconsulting.com> <004601c9cced$abdc8080$0501a8c0@MSIMMSWS> <49FF5AE4.2090301@colbyconsulting.com> Message-ID: <008b01c9ccff$83a0a580$0501a8c0@MSIMMSWS> Re: "I have never seen them claim (or even imply) that OpenOffice will handle the vba behind Office." I know, they don't even MENTION it....for good reason. Never liked Sun, never liked McNealy, have had only bad experiences with Java. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Monday, May 04, 2009 5:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: OpenOffice.org > > >..Sun has gotten everyone to think they've replaced all of > MS Office....right down to the 50,000 item VBA object model. > > I'm not sure I would go that far. I have never seen them > claim (or even imply) that OpenOffice will handle the vba > behind Office. > > And I am not sure they really need to handle VBA for that > matter. OpenOffice was designed to run on Linux where Office > doesn't exist to begin with. People apt to use OpenOffice > are those who want the same kinds of office applications, and > in some cases that can "file share" with Office. It is my > opinion that those running Linux understand perfectly well > that programs running on Linux offer some degree of emulation at best. > > John W. Colby > www.ColbyConsulting.com > > > Mark Simms wrote: > > What a bunch of nonsense....Sun has gotten everyone to > think they've > > replaced All of MS Office....right down to the 50,000 item > VBA object > > model. > > Truly LOL. > > > > > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > >> Sent: Monday, May 04, 2009 2:41 PM > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] SPAM-LOW: OpenOffice.org > >> > >> LOL. > >> > >> In your dreams. ;) > >> > >> John W. Colby > >> www.ColbyConsulting.com > >> > >> > >> Tony Septav wrote: > >>> Hey All > >>> Before I start to do some testing, has anyone run an > >> Access.mde using > >>> OpenOfiice.org on a USB drive?? I don't know if it is even > >> possible. > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Mon May 4 16:52:19 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 04 May 2009 17:52:19 -0400 Subject: [AccessD] SPAM-LOW: OpenOffice.org In-Reply-To: <008b01c9ccff$83a0a580$0501a8c0@MSIMMSWS> References: <49FEF99B.5050900@nanaimo.ark.com> <49FF36C8.9030002@colbyconsulting.com> <004601c9cced$abdc8080$0501a8c0@MSIMMSWS> <49FF5AE4.2090301@colbyconsulting.com> <008b01c9ccff$83a0a580$0501a8c0@MSIMMSWS> Message-ID: <49FF6393.2060405@colbyconsulting.com> > Never liked Sun LOL. Well Sun is no more. More or less. John W. Colby www.ColbyConsulting.com Mark Simms wrote: > Re: "I have never seen them claim (or even imply) that OpenOffice will > handle the vba behind Office." > > I know, they don't even MENTION it....for good reason. > > Never liked Sun, never liked McNealy, have had only bad experiences with > Java. > >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: Monday, May 04, 2009 5:15 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] SPAM-LOW: OpenOffice.org >> >> >..Sun has gotten everyone to think they've replaced all of >> MS Office....right down to the 50,000 item VBA object model. >> >> I'm not sure I would go that far. I have never seen them >> claim (or even imply) that OpenOffice will handle the vba >> behind Office. >> >> And I am not sure they really need to handle VBA for that >> matter. OpenOffice was designed to run on Linux where Office >> doesn't exist to begin with. People apt to use OpenOffice >> are those who want the same kinds of office applications, and >> in some cases that can "file share" with Office. It is my >> opinion that those running Linux understand perfectly well >> that programs running on Linux offer some degree of emulation at best. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Mark Simms wrote: >>> What a bunch of nonsense....Sun has gotten everyone to >> think they've >>> replaced All of MS Office....right down to the 50,000 item >> VBA object >>> model. >>> Truly LOL. >>> >>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >>>> Sent: Monday, May 04, 2009 2:41 PM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] SPAM-LOW: OpenOffice.org >>>> >>>> LOL. >>>> >>>> In your dreams. ;) >>>> >>>> John W. Colby >>>> www.ColbyConsulting.com >>>> >>>> >>>> Tony Septav wrote: >>>>> Hey All >>>>> Before I start to do some testing, has anyone run an >>>> Access.mde using >>>>> OpenOfiice.org on a USB drive?? I don't know if it is even >>>> possible. >>>> -- >>>> AccessD mailing list >>>> AccessD at databaseadvisors.com >>>> http://databaseadvisors.com/mailman/listinfo/accessd >>>> Website: http://www.databaseadvisors.com >>>> >>> >>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > From rockysmolin at bchacc.com Mon May 4 23:47:27 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 4 May 2009 21:47:27 -0700 Subject: [AccessD] Setting Filter Error Message-ID: <5DD5B17439BD40498F34639CCF902B84@HAL9005> Dear List: We've been over this before I think but I can't find it in the archives. An mdb in 2003 runs the code: Me.FilterOn = False Me.Filter = "" just fine. But when I run that mdb in A2007 the line Me.FilterOn = False throws an error: Error 2001: You canceled the previous operation. Oddly, very oddly indeed, if I click Debug, and the F8 key, I can step through that line of code with no problem. Does anyone have a clue here what could be causing this? BTW, I also get this same error in this form with: Me.OrderByOn = False Me.OrderBy = "" MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From Darryl.Collins at coles.com.au Mon May 4 23:56:36 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Tue, 5 May 2009 14:56:36 +1000 Subject: [AccessD] Setting Filter Error In-Reply-To: <5DD5B17439BD40498F34639CCF902B84@HAL9005> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13A5E@WPEXCH22.retail.ad.cmltd.net.au> I don't have an answer, but I have had this error before and this sort of thing seems to be faily common in Access 2007. I wish I could recall what I did to fix it? I have had to mod a fair bit of VBA code to get things to work as expected again. :-/ I also note that they still haven't fixed up the spelling error on this form. would be nice if 'cancelled' was spelt correctly. oh well... regards darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin Sent: Tuesday, 5 May 2009 2:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Setting Filter Error Dear List: We've been over this before I think but I can't find it in the archives. An mdb in 2003 runs the code: Me.FilterOn = False Me.Filter = "" just fine. But when I run that mdb in A2007 the line Me.FilterOn = False throws an error: Error 2001: You canceled the previous operation. Oddly, very oddly indeed, if I click Debug, and the F8 key, I can step through that line of code with no problem. Does anyone have a clue here what could be causing this? BTW, I also get this same error in this form with: Me.OrderByOn = False Me.OrderBy = "" MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From rockysmolin at bchacc.com Mon May 4 23:59:52 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 4 May 2009 21:59:52 -0700 Subject: [AccessD] Setting Filter Error In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F13A5E@WPEXCH22.retail.ad.cmltd.net.au> References: <5DD5B17439BD40498F34639CCF902B84@HAL9005> <57E6E6CA42105A48B977303A2CDC27200815F13A5E@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <6BBD09D521CB4A54BBBB800D7642ACB0@HAL9005> Rats. Well, at least I know I'm not alone. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Monday, May 04, 2009 9:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting Filter Error I don't have an answer, but I have had this error before and this sort of thing seems to be faily common in Access 2007. I wish I could recall what I did to fix it? I have had to mod a fair bit of VBA code to get things to work as expected again. :-/ I also note that they still haven't fixed up the spelling error on this form. would be nice if 'cancelled' was spelt correctly. oh well... regards darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin Sent: Tuesday, 5 May 2009 2:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Setting Filter Error Dear List: We've been over this before I think but I can't find it in the archives. An mdb in 2003 runs the code: Me.FilterOn = False Me.Filter = "" just fine. But when I run that mdb in A2007 the line Me.FilterOn = False throws an error: Error 2001: You canceled the previous operation. Oddly, very oddly indeed, if I click Debug, and the F8 key, I can step through that line of code with no problem. Does anyone have a clue here what could be causing this? BTW, I also get this same error in this form with: Me.OrderByOn = False Me.OrderBy = "" MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kost36 at otenet.gr Tue May 5 01:31:17 2009 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Tue, 5 May 2009 09:31:17 +0300 Subject: [AccessD] help with a query... References: , <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc>, <49FF1F71.18558.3BB451E0@stuart.lexacorp.com.pg> Message-ID: Gary and Stuart, thank's for your response /kostas ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Monday, May 04, 2009 8:01 PM Subject: Re: [AccessD] help with a query... > He's using the plus signs correctly :-) > > & and + are the same thing for strings except where Nulls are concerned. > > ([Names.name]+Chr(13)+Chr(10)) will return a valid name plus CRLF, but if > the name is > Null, it will return Null - so it won't throw a blank line. > > ([Names.name] & Chr(13) & Chr(10)) will return the same for a valid name, > but will return a > CRLF by itself if the name is Null - resulting in a blank first line. > > The problem with the extra space results from the two occurences of & " " > & > One possibility is to replace them with > & IIF(ISNULL([Names_1.name],""," ") & > and > & IIF(ISNULL([Names_2.name],""," ") & > > > On 4 May 2009 at 11:25, Gary Kjos wrote: > >> I think you have a problem with where you are using the plus sign for >> concatination verses the Ampersand. You may be aware of that which is >> why you are using a combination but I would try to replace all the + >> signs with ambersands and see if it clears your problem. I'm not clear >> on the exact difference between the two or I would elaborate. >> >> Good luck with it. >> >> GK >> >> On Mon, May 4, 2009 at 6:57 AM, Kostas Konstantinidis >> wrote: >> > dear group, >> > >> > I am using the follown query before a report... >> > >> > Director: ([Names.name]+Chr(13)+Chr(10)) & >> > ([addr1_dir1]+Chr(13)+Chr(10)) & >> > ([addr2_dir1]+Chr(13)+Chr(10)) & ([TK_dir1] & " " & >> > [T_perioxi.perioxi]+Chr(13)+Chr(10)) & ([T_town.poli]+Chr(13)+Chr(10)) >> > & >> > ([T_kratos.kratos]+Chr(13)+Chr(10)) & >> > ([Names_1.name]+Chr(13)+Chr(10)) & ([addr1_dir2]+Chr(13)+Chr(10)) & >> > ([addr2_dir2]+Chr(13)+Chr(10)) & ([TK_dir2] & " " & >> > [T_perioxi_1.perioxi]+Chr(13)+Chr(10)) & >> > ([T_town_1.poli]+Chr(13)+Chr(10)) & >> > ([T_kratos_1.kratos]+Chr(13)+Chr(10)) & >> > ([Names_2.name]+Chr(13)+Chr(10)) & ([addr1_dir3]+Chr(13)+Chr(10)) & >> > ([addr2_dir3]+Chr(13)+Chr(10)) & ([TK_dir3] & " " & >> > [T_perioxi_2.perioxi]+Chr(13)+Chr(10)) & >> > ([T_town_2.poli]+Chr(13)+Chr(10))+[T_kratos_2.kratos] >> > >> > Please, I need some help with two questions >> > 1. If the sequences Names_1.name and Names_2.name are blank (have no >> > data) >> > then to the end of the field >> > Director returns a space character and an enter character too >> > 2. Is there any way to print in bold only the Names.Name, Names_1.name >> > and >> > Names_2.name >> > >> > many thank's >> > /kostas >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> >> -- >> Gary Kjos >> garykjos at gmail.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > From drawbridgej at sympatico.ca Tue May 5 06:06:33 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Tue, 5 May 2009 07:06:33 -0400 Subject: [AccessD] Setting Filter Error In-Reply-To: <5DD5B17439BD40498F34639CCF902B84@HAL9005> References: <5DD5B17439BD40498F34639CCF902B84@HAL9005> Message-ID: <5DFD1AE5C6844EE1B71AB1E770754D0E@AMDXP> Rocky, Don't know if this helps, but I did find this Filter related email from 2005 in my archive. Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 05, 2009 12:47 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Setting Filter Error Dear List: We've been over this before I think but I can't find it in the archives. An mdb in 2003 runs the code: Me.FilterOn = False Me.Filter = "" just fine. But when I run that mdb in A2007 the line Me.FilterOn = False throws an error: Error 2001: You canceled the previous operation. Oddly, very oddly indeed, if I click Debug, and the F8 key, I can step through that line of code with no problem. Does anyone have a clue here what could be causing this? BTW, I also get this same error in this form with: Me.OrderByOn = False Me.OrderBy = "" MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From john at winhaven.net Tue May 5 09:46:56 2009 From: john at winhaven.net (John Bartow) Date: Tue, 5 May 2009 09:46:56 -0500 Subject: [AccessD] Video Rental Application Message-ID: <007701c9cd90$5633cd70$029b6850$@net> Does anyone here write a rental inventory/application? I have a new client that is a video rental service. They're looking at moving into another building where they will merge operations with another smaller video rental service. While doing so they wish to switch to a new rental inventory/application. Currently the smaller one is using a DOS program and the larger one is using a Windows (95) program. I need an answer ASAP. John R. Bartow WinHaven LLC PO Box 130 Winneconne, WI 54986 920-582-7574 john at winhaven.net From krosenstiel at comcast.net Tue May 5 11:12:03 2009 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Tue, 5 May 2009 16:12:03 +0000 (UTC) Subject: [AccessD] Video Rental Application In-Reply-To: <215241689.4683721241539644870.JavaMail.root@sz0037a.emeryville.ca.mail.comcast.net> Message-ID: <1288053049.4686401241539923174.JavaMail.root@sz0037a.emeryville.ca.mail.comcast.net> I had one that was a project for a VB6 class. I could send it to you tonight. Karen Rosenstiel Seattle WA USA ----- Original Message ----- From: "John Bartow" To: "_DBA-Access" , "Off Topic" Sent: Tuesday, May 5, 2009 7:46:56 AM GMT -08:00 US/Canada Pacific Subject: [AccessD] Video Rental Application Does anyone here write a rental inventory/application? I have a new client that is a video rental service. They're looking at moving into another building where they will merge operations with another smaller video rental service. While doing so they wish to switch to a new rental inventory/application. Currently the smaller one is using a DOS program and the larger one is using a Windows (95) program. I need an answer ASAP. John R. Bartow WinHaven LLC PO Box 130 Winneconne, WI 54986 920-582-7574 john at winhaven.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue May 5 12:15:28 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 05 May 2009 13:15:28 -0400 Subject: [AccessD] Video Rental Application In-Reply-To: <007701c9cd90$5633cd70$029b6850$@net> References: <007701c9cd90$5633cd70$029b6850$@net> Message-ID: If I'm not mistaken, a video rental app is still one of the apps you can create with the new database wizard in Access. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, May 05, 2009 10:47 AM To: _DBA-Access; 'Off Topic' Subject: [AccessD] Video Rental Application Does anyone here write a rental inventory/application? I have a new client that is a video rental service. They're looking at moving into another building where they will merge operations with another smaller video rental service. While doing so they wish to switch to a new rental inventory/application. Currently the smaller one is using a DOS program and the larger one is using a Windows (95) program. I need an answer ASAP. John R. Bartow WinHaven LLC PO Box 130 Winneconne, WI 54986 920-582-7574 john at winhaven.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Tue May 5 12:19:30 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 05 May 2009 13:19:30 -0400 Subject: [AccessD] FW: Video Rental Application Message-ID: <5536A8772D864C5D8B3FE28410AFE262@XPS> Scratch that. It as a video collection DB that came with A97. Jim. -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Tuesday, May 05, 2009 1:15 PM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] Video Rental Application If I'm not mistaken, a video rental app is still one of the apps you can create with the new database wizard in Access. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, May 05, 2009 10:47 AM To: _DBA-Access; 'Off Topic' Subject: [AccessD] Video Rental Application Does anyone here write a rental inventory/application? I have a new client that is a video rental service. They're looking at moving into another building where they will merge operations with another smaller video rental service. While doing so they wish to switch to a new rental inventory/application. Currently the smaller one is using a DOS program and the larger one is using a Windows (95) program. I need an answer ASAP. John R. Bartow WinHaven LLC PO Box 130 Winneconne, WI 54986 920-582-7574 john at winhaven.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue May 5 12:32:47 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 05 May 2009 13:32:47 -0400 Subject: [AccessD] SPAM-LOW: Re: Video Rental Application In-Reply-To: References: <007701c9cd90$5633cd70$029b6850$@net> Message-ID: <4A00783F.2030809@colbyconsulting.com> OhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNoooOhNooooOhNooo Do not EVER use one of the "database wizard apps". Can you say "summer intern". In this case "who sold vacuum cleaners in their prior job". And is now working on their psychology degree studying the frustration level of human adults when using hokey computer programs written by summer interns! OTOH if you want to come in and rescue the poor schmucks with a decent app, then yea, definitely loose one of the database wizard apps on them. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > If I'm not mistaken, a video rental app is still one of the apps you can > create with the new database wizard in Access. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Tuesday, May 05, 2009 10:47 AM > To: _DBA-Access; 'Off Topic' > Subject: [AccessD] Video Rental Application > > Does anyone here write a rental inventory/application? > > I have a new client that is a video rental service. They're looking at > moving into another building where they will merge operations with another > smaller video rental service. While doing so they wish to switch to a new > rental inventory/application. Currently the smaller one is using a DOS > program and the larger one is using a Windows (95) program. > > I need an answer ASAP. > > John R. Bartow > WinHaven LLC > PO Box 130 > Winneconne, WI 54986 > 920-582-7574 > john at winhaven.net > > > From john at winhaven.net Tue May 5 14:22:38 2009 From: john at winhaven.net (John Bartow) Date: Tue, 5 May 2009 14:22:38 -0500 Subject: [AccessD] Video Rental Application In-Reply-To: <007701c9cd90$5633cd70$029b6850$@net> References: <007701c9cd90$5633cd70$029b6850$@net> Message-ID: <016001c9cdb6$da70b050$8f5210f0$@net> I'm looking for something that is already put together and it would need to be supported. I just thought that there can't be a lot of difference between what this business wants the software to do and what any other video rental place would want. So, basically it's my offer to consider someone's existing application to get them an extra bit of income. I have to have this business merger planned and implemented in 8 weeks and I didn't have any spare before I got the call :o) From garykjos at gmail.com Tue May 5 14:39:26 2009 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 May 2009 14:39:26 -0500 Subject: [AccessD] [dba-OT] Video Rental Application In-Reply-To: <016001c9cdb6$da70b050$8f5210f0$@net> References: <007701c9cd90$5633cd70$029b6850$@net> <016001c9cdb6$da70b050$8f5210f0$@net> Message-ID: I think I'd go with a commercial application since you don't have time to develope and or tweak. This one sounds promising. Free download $280 for a single store then gets you the key to convert the download to the full app.. http://videorentalsoftware.com/features.htm GK On Tue, May 5, 2009 at 2:22 PM, John Bartow wrote: > I'm looking for something that is already put together and it would need to > be supported. > > I just thought that there can't be a lot of difference between what this > business wants the software to do and what any other video rental place > would want. So, basically it's my offer to consider someone's existing > application to get them an extra bit of income. > > I have to have this business merger planned and implemented in 8 weeks and I > didn't have any spare before I got the call :o) > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From dwaters at usinternet.com Tue May 5 15:01:45 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 5 May 2009 15:01:45 -0500 Subject: [AccessD] [dba-OT] Video Rental Application In-Reply-To: References: <007701c9cd90$5633cd70$029b6850$@net><016001c9cdb6$da70b050$8f5210f0$@net> Message-ID: <4B976126CE344B178BEA657E41476AC7@danwaters> Actually, it's $180 till the rest of this month. And that's a lot of features for $180. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, May 05, 2009 2:39 PM To: Off Topic Cc: Access Developers discussion and problem solving Subject: Re: [AccessD] [dba-OT] Video Rental Application I think I'd go with a commercial application since you don't have time to develope and or tweak. This one sounds promising. Free download $280 for a single store then gets you the key to convert the download to the full app.. http://videorentalsoftware.com/features.htm GK On Tue, May 5, 2009 at 2:22 PM, John Bartow wrote: > I'm looking for something that is already put together and it would need to > be supported. > > I just thought that there can't be a lot of difference between what this > business wants the software to do and what any other video rental place > would want. So, basically it's my offer to consider someone's existing > application to get them an extra bit of income. > > I have to have this business merger planned and implemented in 8 weeks and I > didn't have any spare before I got the call :o) > > _______________________________________________ > dba-OT mailing list > dba-OT at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-ot > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Tue May 5 15:15:28 2009 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 5 May 2009 15:15:28 -0500 Subject: [AccessD] [dba-OT] Video Rental Application In-Reply-To: <4B976126CE344B178BEA657E41476AC7@danwaters> References: <007701c9cd90$5633cd70$029b6850$@net> <016001c9cdb6$da70b050$8f5210f0$@net> <4B976126CE344B178BEA657E41476AC7@danwaters> Message-ID: Yeah, you couldn't even write the specifications for that price. GK On Tue, May 5, 2009 at 3:01 PM, Dan Waters wrote: > Actually, it's $180 till the rest of this month. > > And that's a lot of features for $180. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Tuesday, May 05, 2009 2:39 PM > To: Off Topic > Cc: Access Developers discussion and problem solving > Subject: Re: [AccessD] [dba-OT] Video Rental Application > > I think I'd go with a commercial application since you don't have time > to develope and or tweak. > > This one sounds promising. ?Free download $280 for a single store then > gets you the key to convert the download to the full app.. > > http://videorentalsoftware.com/features.htm > > GK > > > > On Tue, May 5, 2009 at 2:22 PM, John Bartow wrote: >> I'm looking for something that is already put together and it would need > to >> be supported. >> >> I just thought that there can't be a lot of difference between what this >> business wants the software to do and what any other video rental place >> would want. So, basically it's my offer to consider someone's existing >> application to get them an extra bit of income. >> >> I have to have this business merger planned and implemented in 8 weeks and > I >> didn't have any spare before I got the call :o) >> >> _______________________________________________ >> dba-OT mailing list >> dba-OT at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-ot >> Website: http://www.databaseadvisors.com >> > > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Tue May 5 16:58:13 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 05 May 2009 17:58:13 -0400 Subject: [AccessD] [dba-OT] Video Rental Application In-Reply-To: References: <007701c9cd90$5633cd70$029b6850$@net> <016001c9cdb6$da70b050$8f5210f0$@net> Message-ID: <4A00B675.7010204@colbyconsulting.com> Did you read the system specs? Sounds like another DOS app to me. Anything that can run on Windows 95 is suspicious. That means it is running in 16 bit mode. John W. Colby www.ColbyConsulting.com Gary Kjos wrote: > I think I'd go with a commercial application since you don't have time > to develope and or tweak. > > This one sounds promising. Free download $280 for a single store then > gets you the key to convert the download to the full app.. > > http://videorentalsoftware.com/features.htm > > GK > > > > On Tue, May 5, 2009 at 2:22 PM, John Bartow wrote: >> I'm looking for something that is already put together and it would need to >> be supported. >> >> I just thought that there can't be a lot of difference between what this >> business wants the software to do and what any other video rental place >> would want. So, basically it's my offer to consider someone's existing >> application to get them an extra bit of income. >> >> I have to have this business merger planned and implemented in 8 weeks and I >> didn't have any spare before I got the call :o) >> >> _______________________________________________ >> dba-OT mailing list >> dba-OT at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-ot >> Website: http://www.databaseadvisors.com >> > > > From krosenstiel at comcast.net Tue May 5 17:03:21 2009 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Tue, 5 May 2009 22:03:21 +0000 (UTC) Subject: [AccessD] [dba-OT] Video Rental Application In-Reply-To: <4A00B675.7010204@colbyconsulting.com> Message-ID: <1857087409.4851911241561001802.JavaMail.root@sz0037a.emeryville.ca.mail.comcast.net> The app in VB6 is pretty old. It might work. I'll send it to you tonight when I get home. Freebie -- use it, abuse it. Karen Rosenstiel Seattle WA USA ----- Original Message ----- From: "jwcolby" To: "Access Developers discussion and problem solving" Sent: Tuesday, May 5, 2009 2:58:13 PM GMT -08:00 US/Canada Pacific Subject: Re: [AccessD] [dba-OT] Video Rental Application Did you read the system specs? Sounds like another DOS app to me. Anything that can run on Windows 95 is suspicious. That means it is running in 16 bit mode. John W. Colby www.ColbyConsulting.com Gary Kjos wrote: > I think I'd go with a commercial application since you don't have time > to develope and or tweak. > > This one sounds promising. Free download $280 for a single store then > gets you the key to convert the download to the full app.. > > http://videorentalsoftware.com/features.htm > > GK > > > > On Tue, May 5, 2009 at 2:22 PM, John Bartow wrote: >> I'm looking for something that is already put together and it would need to >> be supported. >> >> I just thought that there can't be a lot of difference between what this >> business wants the software to do and what any other video rental place >> would want. So, basically it's my offer to consider someone's existing >> application to get them an extra bit of income. >> >> I have to have this business merger planned and implemented in 8 weeks and I >> didn't have any spare before I got the call :o) >> >> _______________________________________________ >> dba-OT mailing list >> dba-OT at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/dba-ot >> Website: http://www.databaseadvisors.com >> > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Tue May 5 21:01:13 2009 From: krosenstiel at comcast.net (Karen Rosenstiel) Date: Tue, 5 May 2009 19:01:13 -0700 Subject: [AccessD] Video Rental Application In-Reply-To: <016001c9cdb6$da70b050$8f5210f0$@net> References: <007701c9cd90$5633cd70$029b6850$@net> <016001c9cdb6$da70b050$8f5210f0$@net> Message-ID: <7EAF760E49394E069709856CEE421921@bigmama> Sorry -- I can't find that program or the book that came with it. I probably got rid of it about 1.5 years ago, after I had my flood. I got rid of a lot of stuff then. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Tuesday, May 05, 2009 12:23 PM To: 'Access Developers discussion and problem solving'; 'Off Topic' Subject: Re: [AccessD] Video Rental Application I'm looking for something that is already put together and it would need to be supported. I just thought that there can't be a lot of difference between what this business wants the software to do and what any other video rental place would want. So, basically it's my offer to consider someone's existing application to get them an extra bit of income. I have to have this business merger planned and implemented in 8 weeks and I didn't have any spare before I got the call :o) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Wed May 6 04:52:26 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Wed, 6 May 2009 19:52:26 +1000 Subject: [AccessD] MSADO28.tlb and MDAC In-Reply-To: References: Message-ID: Shamil, Thanks for your reply. Yes, MDAC files are now considered part of the operating system, and you can't readily downgrade or upgrade the version .... I still have a mysterious problem. Please excuse if this is a bit long. This is causing me great frustration. I hope someone can be of help! My problem relates to following setup: Access2003 Frontend (FE) on Win2003 Sp2 Server The FE has been modified to work against a SQL2005 Db Backend. Some functionality uses linked ODBC tables, some functionality uses ADODB record sets. And some uses ADO for executing Stored Procedures (SP)s in the SQL Db. I have developed code (functions) that send a parameterized SP request to the SQL Db. The last parameter is an output parameter - the value of which after the SP has run is returned to the calling code in the Access aplication / VBA . This is working without any problems on several systems ... all with the ADO 2.8 version referenced in the VBA The application has been tested to run with no problems in this setting: SQL 2005 Express on Vista Ultimate laptop as server in a workgroup setup Frontend tested on the Vista Ultimate laptop; on a Windows XP laptop upgraded to WindowsXP SP3 in April 2008; on a Vista Home laptop, and on another WindowsXP All works fine! However, on the client's site - it does not work. The SQL2005Express has been set up in the same way on my Vista Ultimate laptop and the client's Windows Server 2003 SP2: TCP/IP protocol enabled and set to listen on port 9999 rather than dynamic ports I can create ODBC DNS using this port and establish linked tables to the SQL Db - both on the Windows2003 Server and on the Vista Ultimate .... I can run the particular code that returns the output parameter form the Stored Procedure from any of my workstations against the SQL Db on the Vista Ultimate laptop (computers in workgroup no domain) With the same application running either from a workstation in the Windows2003 SP2 Server workgroup setup, or directly on the Windows2003 SP Server machine itself, I have verified that the code issuing the SP request receives back the output parameter intermittently. Where I would expect "0 - bla bla" or "1 - bla bla" I get nothing,i.e.: "" I believe it may have something to do with the MDAC version installed on the client's site - on the Windows2003 SP2 The SQL2005 Express installed on the Windows2003 SP2 reports the following propeties: Microsoft SQL Server Management Studio Express 9.00.4035.00 Microsoft Data Access Components (MDAC) 2000.086.3959.00 (srv03_sp2_rtm.070216-1710) Microsoft MSXML 2.6 3.0 5.0 6.0 Microsoft Internet Explorer 7.0.5730.13 Microsoft .NET Framework 2.0.50727.42 Operating System 5.2.3790 On the Vista Ultimate laptop, the SQL2005 Express reports: Microsoft SQL Server Management Studio Express 9.00.4035.00 Microsoft Data Access Components (MDAC) 6.0.6000.16386 (vista_rtm.061101-2205) Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 Microsoft Internet Explorer 7.0.6000.16575 Microsoft .NET Framework 2.0.50727.1433 Operating System 6.0.6000 On all machines the ADO DLLs and .tlb files sits in: C:\Program Files\Common Files\System\ado The VBA Code requires a reference to ADO2.8 in order for the return of an output parameter from a Stored Procedure in SQL Db to work. With the Frontend Access2003 application (FE) placed on various machines we have the following ADO references: FE on Vista Ultimate or on a Vista Home workstation laptop: - ADO2.8 is referenced to a file called msado28.tlb (!!) - The msado15.dll is versioned as 6.0.6000.16386 - Function call works OK! FE on WindowsXP SP3 against the SQL2005Express on Vista: - ADO2.8 is referenced to the file called msado15.dll which is versioned as 2.81.1132.0 (xpsp.080413-0852). - The ado folder has no msado28.tlb file !! - Function call works OK FE on the Windows2003 Server SP2 against SQL2005Express on same machine: - ADO2.8 is referenced as msado15.dll which is versioned 2.82.3959.0 - No msado28.tlb file - Function call does NOT work... So, my questions to the list is: Is it MDAC related? If not what else could it be? How can I debug this further? Is it the MDAC on the machine where SQL2005Express resides that is important here or the MDAC on the workstation or both? What is the latest SP of Windows Server 2003? and what are the version of the MDAC files on the latest version, especially msado15.dll ?? ?? Regards borge From stuart at lexacorp.com.pg Wed May 6 06:09:56 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 06 May 2009 21:09:56 +1000 Subject: [AccessD] MSADO28.tlb and MDAC In-Reply-To: References: , , Message-ID: <4A017004.27343.44BF0F93@stuart.lexacorp.com.pg> If you are using an FE on a workstation to an SQL Server BE on a server, the MDAC on the server is irrelevant, it's the workstation MDAC that does the work. I doubt that this is MDAC related. I'd suspect a permission problem. Does the server have another instance of SQL Server running on it? Is the Windows Server 2003 running in a domain? Are the SQL Server instances on Vista and Win 2003 set up to used Windows Authentication, SQL Server Authentication or "Mixed mode"? (I don't have access to Win Server 2003 at the moment so can't answer about the latest file versions.) -- Stuart On 6 May 2009 at 19:52, Borge Hansen wrote: > Shamil, > Thanks for your reply. > Yes, MDAC files are now considered part of the operating system, and you > can't readily downgrade or upgrade the version .... > > I still have a mysterious problem. > Please excuse if this is a bit long. > This is causing me great frustration. > I hope someone can be of help! > > My problem relates to following setup: > Access2003 Frontend (FE) on Win2003 Sp2 Server > The FE has been modified to work against a SQL2005 Db Backend. > Some functionality uses linked ODBC tables, some functionality uses ADODB > record sets. > And some uses ADO for executing Stored Procedures (SP)s in the SQL Db. > I have developed code (functions) that send a parameterized SP request to > the SQL Db. > The last parameter is an output parameter - the value of which after the SP > has run is returned to the calling code in the Access aplication / VBA . > This is working without any problems on several systems ... all with the ADO > 2.8 version referenced in the VBA > > The application has been tested to run with no problems in this setting: > > SQL 2005 Express on Vista Ultimate laptop as server in a workgroup setup > Frontend tested on the Vista Ultimate laptop; on a Windows XP laptop > upgraded to WindowsXP SP3 in April 2008; on a Vista Home laptop, and on > another WindowsXP > All works fine! > > However, on the client's site - it does not work. > > The SQL2005Express has been set up in the same way on my Vista Ultimate > laptop and the client's Windows Server 2003 SP2: > > TCP/IP protocol enabled and set to listen on port 9999 rather than dynamic > ports > > I can create ODBC DNS using this port and establish linked tables to the SQL > Db - both on the Windows2003 Server and on the Vista Ultimate .... > > I can run the particular code that returns the output parameter form the > Stored Procedure from any of my workstations against the SQL Db on the Vista > Ultimate laptop (computers in workgroup no domain) > > With the same application running either from a workstation in the > Windows2003 SP2 Server workgroup setup, or directly on the Windows2003 SP > Server machine itself, I have verified that the code issuing the SP request > receives back the output parameter intermittently. Where I would expect "0 - > bla bla" or "1 - bla bla" I get nothing,i.e.: "" > > I believe it may have something to do with the MDAC version installed on the > client's site - on the Windows2003 SP2 > > The SQL2005 Express installed on the Windows2003 SP2 reports the following > propeties: > Microsoft SQL Server Management Studio Express > 9.00.4035.00 > Microsoft Data Access Components (MDAC) > 2000.086.3959.00 (srv03_sp2_rtm.070216-1710) > Microsoft MSXML 2.6 3.0 5.0 6.0 > Microsoft Internet Explorer 7.0.5730.13 > Microsoft .NET Framework 2.0.50727.42 > Operating System 5.2.3790 > > On the Vista Ultimate laptop, the SQL2005 Express reports: > Microsoft SQL Server Management Studio Express > 9.00.4035.00 > Microsoft Data Access Components (MDAC) > 6.0.6000.16386 (vista_rtm.061101-2205) > Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 > Microsoft Internet Explorer 7.0.6000.16575 > Microsoft .NET Framework 2.0.50727.1433 > Operating System 6.0.6000 > > On all machines the ADO DLLs and .tlb files sits in: C:\Program Files\Common > Files\System\ado > > The VBA Code requires a reference to ADO2.8 in order for the return of an > output parameter from a Stored Procedure in SQL Db to work. > > With the Frontend Access2003 application (FE) placed on various machines we > have the following ADO references: > > FE on Vista Ultimate or on a Vista Home workstation laptop: > - ADO2.8 is referenced to a file called msado28.tlb (!!) > - The msado15.dll is versioned as 6.0.6000.16386 > - Function call works OK! > > FE on WindowsXP SP3 against the SQL2005Express on Vista: > - ADO2.8 is referenced to the file called msado15.dll which is versioned as > 2.81.1132.0 (xpsp.080413-0852). > - The ado folder has no msado28.tlb file !! > - Function call works OK > > FE on the Windows2003 Server SP2 against SQL2005Express on same machine: > - ADO2.8 is referenced as msado15.dll which is versioned 2.82.3959.0 > - No msado28.tlb file > - Function call does NOT work... > > So, my questions to the list is: > Is it MDAC related? > If not what else could it be? > How can I debug this further? > Is it the MDAC on the machine where SQL2005Express resides that is important > here or the MDAC on the workstation or both? > What is the latest SP of Windows Server 2003? and what are the version of > the MDAC files on the latest version, especially msado15.dll ?? > ?? > > Regards > borge > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Wed May 6 06:36:24 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Wed, 6 May 2009 21:36:24 +1000 Subject: [AccessD] MSADO28.tlb and MDAC In-Reply-To: <4A017004.27343.44BF0F93@stuart.lexacorp.com.pg> References: <4A017004.27343.44BF0F93@stuart.lexacorp.com.pg> Message-ID: Stuart, Thanks... The Windows2003 Server only has one named instance of SQL 2005 Express installed : SQLExpress The Win2K3 Server is not a domain server. Both the Vista and Win2003 SQL Server instances are set to Mixed Mode I use SQL Server Authentication. The setup of the SQL Express on the Vista and Win2K3 are identical as far as I can tell - I installed both ... One difference may be that on the Vista only Shared Memory and TCP/IP are enabled, on the Win2K3 Named Pipes may have been enabled as well - but that should not make a difference... I did a clean install of SQL2005Express on the Win2K3 machine and restored the two databases that the application uses onto the SQL Server. To test the access application on the Win2K3 I created the ODBC DSN x 2 (one for each Db); copied the FE to a Folder on the C: Drive.... The application fires up, displays data on Forms (a mix of ODBC linked tables and ADODB recordset depending on the Form etc. etc.) All works fine. Except for when I issue a Stored Procedure request expecting the output parameter to be returned to the calling function.... Runing that part of the code/application invariably returns a "" instead of the expected values ..... Someone on another forum suggested to run SQL Server Profiler - I'd like to do that, but SQLExpress does not come with that - What could I do with that? Determine that the SP in question in fact did provide an output parameter - but somehow it did not come all the way back into the VBA environment?? If we assume that is the case, is it then a permission issue? What else could be the cause? borge On Wed, May 6, 2009 at 9:09 PM, Stuart McLachlan wrote: > If you are using an FE on a workstation to an SQL Server BE on a server, > the MDAC on the > server is irrelevant, it's the workstation MDAC that does the work. > > I doubt that this is MDAC related. > > > I'd suspect a permission problem. > > Does the server have another instance of SQL Server running on it? > Is the Windows Server 2003 running in a domain? > Are the SQL Server instances on Vista and Win 2003 set up to used Windows > Authentication, SQL Server Authentication or "Mixed mode"? > > (I don't have access to Win Server 2003 at the moment so can't answer about > the latest file > versions.) > > > -- > Stuart > > On 6 May 2009 at 19:52, Borge Hansen wrote: > > > Shamil, > > Thanks for your reply. > > Yes, MDAC files are now considered part of the operating system, and you > > can't readily downgrade or upgrade the version .... > > > > I still have a mysterious problem. > > Please excuse if this is a bit long. > > This is causing me great frustration. > > I hope someone can be of help! > > > > My problem relates to following setup: > > Access2003 Frontend (FE) on Win2003 Sp2 Server > > The FE has been modified to work against a SQL2005 Db Backend. > > Some functionality uses linked ODBC tables, some functionality uses ADODB > > record sets. > > And some uses ADO for executing Stored Procedures (SP)s in the SQL Db. > > I have developed code (functions) that send a parameterized SP request to > > the SQL Db. > > The last parameter is an output parameter - the value of which after the > SP > > has run is returned to the calling code in the Access aplication / VBA . > > This is working without any problems on several systems ... all with the > ADO > > 2.8 version referenced in the VBA > > > > The application has been tested to run with no problems in this setting: > > > > SQL 2005 Express on Vista Ultimate laptop as server in a workgroup setup > > Frontend tested on the Vista Ultimate laptop; on a Windows XP laptop > > upgraded to WindowsXP SP3 in April 2008; on a Vista Home laptop, and on > > another WindowsXP > > All works fine! > > > > However, on the client's site - it does not work. > > > > The SQL2005Express has been set up in the same way on my Vista Ultimate > > laptop and the client's Windows Server 2003 SP2: > > > > TCP/IP protocol enabled and set to listen on port 9999 rather than > dynamic > > ports > > > > I can create ODBC DNS using this port and establish linked tables to the > SQL > > Db - both on the Windows2003 Server and on the Vista Ultimate .... > > > > I can run the particular code that returns the output parameter form the > > Stored Procedure from any of my workstations against the SQL Db on the > Vista > > Ultimate laptop (computers in workgroup no domain) > > > > With the same application running either from a workstation in the > > Windows2003 SP2 Server workgroup setup, or directly on the Windows2003 SP > > Server machine itself, I have verified that the code issuing the SP > request > > receives back the output parameter intermittently. Where I would expect > "0 - > > bla bla" or "1 - bla bla" I get nothing,i.e.: "" > > > > I believe it may have something to do with the MDAC version installed on > the > > client's site - on the Windows2003 SP2 > > > > The SQL2005 Express installed on the Windows2003 SP2 reports the > following > > propeties: > > Microsoft SQL Server Management Studio Express > > 9.00.4035.00 > > Microsoft Data Access Components (MDAC) > > 2000.086.3959.00 (srv03_sp2_rtm.070216-1710) > > Microsoft MSXML 2.6 3.0 5.0 6.0 > > Microsoft Internet Explorer 7.0.5730.13 > > Microsoft .NET Framework 2.0.50727.42 > > Operating System 5.2.3790 > > > > On the Vista Ultimate laptop, the SQL2005 Express reports: > > Microsoft SQL Server Management Studio Express > > 9.00.4035.00 > > Microsoft Data Access Components (MDAC) > > 6.0.6000.16386 (vista_rtm.061101-2205) > > Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 > > Microsoft Internet Explorer 7.0.6000.16575 > > Microsoft .NET Framework 2.0.50727.1433 > > Operating System 6.0.6000 > > > > On all machines the ADO DLLs and .tlb files sits in: C:\Program > Files\Common > > Files\System\ado > > > > The VBA Code requires a reference to ADO2.8 in order for the return of an > > output parameter from a Stored Procedure in SQL Db to work. > > > > With the Frontend Access2003 application (FE) placed on various machines > we > > have the following ADO references: > > > > FE on Vista Ultimate or on a Vista Home workstation laptop: > > - ADO2.8 is referenced to a file called msado28.tlb (!!) > > - The msado15.dll is versioned as 6.0.6000.16386 > > - Function call works OK! > > > > FE on WindowsXP SP3 against the SQL2005Express on Vista: > > - ADO2.8 is referenced to the file called msado15.dll which is versioned > as > > 2.81.1132.0 (xpsp.080413-0852). > > - The ado folder has no msado28.tlb file !! > > - Function call works OK > > > > FE on the Windows2003 Server SP2 against SQL2005Express on same machine: > > - ADO2.8 is referenced as msado15.dll which is versioned 2.82.3959.0 > > - No msado28.tlb file > > - Function call does NOT work... > > > > So, my questions to the list is: > > Is it MDAC related? > > If not what else could it be? > > How can I debug this further? > > Is it the MDAC on the machine where SQL2005Express resides that is > important > > here or the MDAC on the workstation or both? > > What is the latest SP of Windows Server 2003? and what are the version of > > the MDAC files on the latest version, especially msado15.dll ?? > > ?? > > > > Regards > > borge > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From mcp2004 at mail.ru Wed May 6 09:16:44 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Wed, 06 May 2009 18:16:44 +0400 Subject: [AccessD] =?koi8-r?b?TVNBRE8yOC50bGIgYW5kIE1EQUM=?= In-Reply-To: References: Message-ID: Hi Borge, It's not easy to answer your question. Can you compile and run the following C# test on your problematic PC? If it will run OK then something is probably wrong with MDAC, if it will fail then - ???? This is a test SP: CREATE PROCEDURE sp_test @prm1 int, @prm2 varchar(80), @prm3 varchar(120) out AS BEGIN SET NOCOUNT ON SET @prm3 = '@prm1 = ' + Cast(@prm1 as varchar(20)) + ', ' + '@prm2 = ' + @prm2 return 503 END GO This is a test code (change connection string): using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data; using System.Data.SqlClient; using System.Data.OleDb; namespace TestConsoleApplication1 { class Program3 { private const string _connectionString = @"Data Source=HAMBURG\SQL2005;Initial Catalog=NorthwindNET;Integrated Security=True"; static void Main(string[] args) { try { using (SqlConnection cnn = new SqlConnection(_connectionString)) { cnn.Open(); string sql = "sp_test"; SqlCommand cmd = new SqlCommand(sql, cnn); cmd.CommandType = CommandType.StoredProcedure; SqlParameter prm = new SqlParameter("@prm1", 25); cmd.Parameters.Add(prm); prm = new SqlParameter("@prm2", "TEST"); cmd.Parameters.Add(prm); prm = new SqlParameter("@prm3", SqlDbType.VarChar, 120); prm.Direction = ParameterDirection.Output; cmd.Parameters.Add(prm); prm = new SqlParameter("@RETURN_VALUE", SqlDbType.Int); prm.Direction = ParameterDirection.ReturnValue; cmd.Parameters.Add(prm); int ret = cmd.ExecuteNonQuery(); Console.WriteLine("ret = {0}", cmd.Parameters["@RETURN_VALUE"].Value.ToString()); Console.WriteLine("@prm3 = '{0}'", cmd.Parameters["@prm3"].Value.ToString()); //ret = 503 //@prm3 = '@prm1 = 25, @prm2 = TEST' } } catch(Exception ex) { Console.WriteLine("Exception: " + ex.Message); } } } } -- Shamil -----Original Message----- From: Borge Hansen To: accessd at databaseadvisors.com Date: Wed, 6 May 2009 19:52:26 +1000 Subject: [AccessD] MSADO28.tlb and MDAC > Shamil, > Thanks for your reply. > Yes, MDAC files are now considered part of the operating system, and you > can't readily downgrade or upgrade the version .... > > I still have a mysterious problem. > Please excuse if this is a bit long. > This is causing me great frustration. > I hope someone can be of help! > > My problem relates to following setup: > Access2003 Frontend (FE) on Win2003 Sp2 Server > The FE has been modified to work against a SQL2005 Db Backend. > Some functionality uses linked ODBC tables, some functionality uses ADODB > record sets. > And some uses ADO for executing Stored Procedures (SP)s in the SQL Db. > I have developed code (functions) that send a parameterized SP request to > the SQL Db. > The last parameter is an output parameter - the value of which after the SP > has run is returned to the calling code in the Access aplication / VBA . > This is working without any problems on several systems ... all with the ADO > 2.8 version referenced in the VBA > > The application has been tested to run with no problems in this setting: > > SQL 2005 Express on Vista Ultimate laptop as server in a workgroup setup > Frontend tested on the Vista Ultimate laptop; on a Windows XP laptop > upgraded to WindowsXP SP3 in April 2008; on a Vista Home laptop, and on > another WindowsXP > All works fine! > > However, on the client's site - it does not work. > > The SQL2005Express has been set up in the same way on my Vista Ultimate > laptop and the client's Windows Server 2003 SP2: > > TCP/IP protocol enabled and set to listen on port 9999 rather than dynamic > ports > > I can create ODBC DNS using this port and establish linked tables to the SQL > Db - both on the Windows2003 Server and on the Vista Ultimate .... > > I can run the particular code that returns the output parameter form the > Stored Procedure from any of my workstations against the SQL Db on the Vista > Ultimate laptop (computers in workgroup no domain) > > With the same application running either from a workstation in the > Windows2003 SP2 Server workgroup setup, or directly on the Windows2003 SP > Server machine itself, I have verified that the code issuing the SP request > receives back the output parameter intermittently. Where I would expect "0 - > bla bla" or "1 - bla bla" I get nothing,i.e.: "" > > I believe it may have something to do with the MDAC version installed on the > client's site - on the Windows2003 SP2 > > The SQL2005 Express installed on the Windows2003 SP2 reports the following > propeties: > Microsoft SQL Server Management Studio Express > 9.00.4035.00 > Microsoft Data Access Components (MDAC) > 2000.086.3959.00 (srv03_sp2_rtm.070216-1710) > Microsoft MSXML 2.6 3.0 5.0 6.0 > Microsoft Internet Explorer 7.0.5730.13 > Microsoft .NET Framework 2.0.50727.42 > Operating System 5.2.3790 > > On the Vista Ultimate laptop, the SQL2005 Express reports: > Microsoft SQL Server Management Studio Express > 9.00.4035.00 > Microsoft Data Access Components (MDAC) > 6.0.6000.16386 (vista_rtm.061101-2205) > Microsoft MSXML 2.6 3.0 4.0 5.0 6.0 > Microsoft Internet Explorer 7.0.6000.16575 > Microsoft .NET Framework 2.0.50727.1433 > Operating System 6.0.6000 > > On all machines the ADO DLLs and .tlb files sits in: C:\Program Files\Common > Files\System\ado > > The VBA Code requires a reference to ADO2.8 in order for the return of an > output parameter from a Stored Procedure in SQL Db to work. > > With the Frontend Access2003 application (FE) placed on various machines we > have the following ADO references: > > FE on Vista Ultimate or on a Vista Home workstation laptop: > - ADO2.8 is referenced to a file called msado28.tlb (!!) > - The msado15.dll is versioned as 6.0.6000.16386 > - Function call works OK! > > FE on WindowsXP SP3 against the SQL2005Express on Vista: > - ADO2.8 is referenced to the file called msado15.dll which is versioned as > 2.81.1132.0 (xpsp.080413-0852). > - The ado folder has no msado28.tlb file !! > - Function call works OK > > FE on the Windows2003 Server SP2 against SQL2005Express on same machine: > - ADO2.8 is referenced as msado15.dll which is versioned 2.82.3959.0 > - No msado28.tlb file > - Function call does NOT work... > > So, my questions to the list is: > Is it MDAC related? > If not what else could it be? > How can I debug this further? > Is it the MDAC on the machine where SQL2005Express resides that is important > here or the MDAC on the workstation or both? > What is the latest SP of Windows Server 2003? and what are the version of > the MDAC files on the latest version, especially msado15.dll ?? > ?? > > Regards > borge > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs.accessd at gmail.com Wed May 6 10:02:26 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Thu, 7 May 2009 01:02:26 +1000 Subject: [AccessD] MSADO28.tlb and MDAC In-Reply-To: References: Message-ID: Shamil, I may try your test SP later - thanks for taking the time to set this up.... I have implemented code now that writes all SP requests from the VBA out to an event log... I will be installing this and testing further on the problem Win2K3 Server tomorrow or Friday The strange thing is that the SP requests with returning output parameter back to VBA code is runing a lot - and on the problem PC it only fails while running such two SP requests on the Close Event of a Form .... all others run ok .... I have a suspicion of what it may be and will test it out when at the client site again .... borge On Thu, May 7, 2009 at 12:16 AM, Salakhetdinov Shamil wrote: > Hi Borge, > > It's not easy to answer your question. > Can you compile and run the following C# test on your problematic PC? > If it will run OK then something is probably wrong with MDAC, if it will > fail then - ???? > > This is a test SP: > > CREATE PROCEDURE sp_test > @prm1 int, > @prm2 varchar(80), > . . . . . . From cjlabs at worldnet.att.net Wed May 6 10:36:49 2009 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Wed, 6 May 2009 10:36:49 -0500 Subject: [AccessD] Lebans PDF code in Vista References: Message-ID: <29C687C0B94047FFAD009B38D223E3C1@Dell> I have 2 databases (AS database, OS database) that use Lebans convert-to-pdf code. The code has worked great for years in Access2000-2003 and WinXP. When I run the AS database in Access2003 on my Vista computer, the code works fine. When I run the OS database in Access2003 on Vista, it stops at the Docmd.OutputTo acOutputReport, rptName, "SnapshotFormat(*.snp)", strPathandFileName line. The "outputting to . . " window pops up and goes away. The .snp file is not created. There's no error. It just stops running. There are differences between these 2 databases, but the code called -- convert to pdf -- is the same in both. If I import the code from the AS database to the OS database, the code no longer works. I've tried with an older version of Lebans code and the most recent version -- no differerence. I've tried decompiling the database -- no difference. Compiles fine. No missing references. Office2003 has the most recent updates on both the XP and Vista computers. (The code does run in XP.) Has anyone had this problem? Any ideas? Thanks Carolyn Johnson St Louis, MO From Lambert.Heenan at aiuholdings.com Wed May 6 10:57:23 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Wed, 6 May 2009 11:57:23 -0400 Subject: [AccessD] Lebans PDF code in Vista In-Reply-To: <29C687C0B94047FFAD009B38D223E3C1@Dell> References: <29C687C0B94047FFAD009B38D223E3C1@Dell> Message-ID: Carolyn, I had a similar problem when running the code under Access 2002 and XP SP2. I cannot remember how I arrived at the solution, I know I stepped though the code line by line and somehow came up with this. Just prior to calling the OutPutTo method I turn off Echo (so nothing visible happens to the screen) then I show the database window (invisibly!) and output the snapshot file. After that I hide the database window and turn echo back on. It seems that making the database 'visible' makes a difference. I have no clue why this works, but it did cure the problem of reports not being generated. Here is the modified code I use in the function ConvertReportToPDF ... ' Export the selected Report to SnapShot format DoCmd.Echo False 'Show the db window DoCmd.SelectObject acTable, , True DoCmd.OutputTo acOutputReport, RptName, "SnapshotFormat(*.snp)", _ strPathandFileName DoCmd.SelectObject acTable, , True DoCmd.RunCommand acCmdWindowHide 'turn the echo back on DoCmd.Echo True Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Wednesday, May 06, 2009 11:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] Lebans PDF code in Vista I have 2 databases (AS database, OS database) that use Lebans convert-to-pdf code. The code has worked great for years in Access2000-2003 and WinXP. When I run the AS database in Access2003 on my Vista computer, the code works fine. When I run the OS database in Access2003 on Vista, it stops at the Docmd.OutputTo acOutputReport, rptName, "SnapshotFormat(*.snp)", strPathandFileName line. The "outputting to . . " window pops up and goes away. The .snp file is not created. There's no error. It just stops running. There are differences between these 2 databases, but the code called -- convert to pdf -- is the same in both. If I import the code from the AS database to the OS database, the code no longer works. I've tried with an older version of Lebans code and the most recent version -- no differerence. I've tried decompiling the database -- no difference. Compiles fine. No missing references. Office2003 has the most recent updates on both the XP and Vista computers. (The code does run in XP.) Has anyone had this problem? Any ideas? Thanks Carolyn Johnson St Louis, MO -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed May 6 12:58:28 2009 From: john at winhaven.net (John Bartow) Date: Wed, 6 May 2009 12:58:28 -0500 Subject: [AccessD] Video Rental Application In-Reply-To: <7EAF760E49394E069709856CEE421921@bigmama> References: <007701c9cd90$5633cd70$029b6850$@net> <016001c9cdb6$da70b050$8f5210f0$@net> <7EAF760E49394E069709856CEE421921@bigmama> Message-ID: <01d801c9ce74$42a02710$c7e07530$@net> Thanks for looking Karen. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Tuesday, May 05, 2009 9:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Video Rental Application Sorry -- I can't find that program or the book that came with it. I probably got rid of it about 1.5 years ago, after I had my flood. I got rid of a lot of stuff then. From john at winhaven.net Wed May 6 12:58:28 2009 From: john at winhaven.net (John Bartow) Date: Wed, 6 May 2009 12:58:28 -0500 Subject: [AccessD] [dba-OT] Video Rental Application In-Reply-To: References: <007701c9cd90$5633cd70$029b6850$@net> <016001c9cdb6$da70b050$8f5210f0$@net> Message-ID: <01dd01c9ce74$441d9f50$cc58ddf0$@net> Thanks for the link. It does look as if it's a 16 bit app. I'll email and see if I get an answer from them on that. -----Original Message----- From: dba-ot-bounces at databaseadvisors.com [mailto:dba-ot-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Tuesday, May 05, 2009 2:39 PM To: Off Topic Cc: Access Developers discussion and problem solving Subject: Re: [dba-OT] [AccessD] Video Rental Application I think I'd go with a commercial application since you don't have time to develope and or tweak. This one sounds promising. Free download $280 for a single store then gets you the key to convert the download to the full app.. http://videorentalsoftware.com/features.htm From cjlabs at worldnet.att.net Wed May 6 13:50:33 2009 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Wed, 6 May 2009 13:50:33 -0500 Subject: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT References: <29C687C0B94047FFAD009B38D223E3C1@Dell> Message-ID: Unfortunately, this hasn't made a difference for me. BUT the good news is it caused me to play around some more. I changed the output to RTF to see what would happen, and I got an error because the path for an image on the report was incorrect. It still had the path used for the Windows XP database folder under Program Files, instead of the Vista database folder under Users. Once I fixed the path for the image, it worked fine. Thanks for the idea -- it made me keep looking. And as often is the case, it was a simple error. Carolyn Johnson ----- Original Message ----- From: Heenan, Lambert To: 'Access Developers discussion and problem solving' Cc: 'Carolyn Johnson' Sent: Wednesday, May 06, 2009 10:57 AM Subject: RE: [AccessD] Lebans PDF code in Vista Carolyn, I had a similar problem when running the code under Access 2002 and XP SP2. I cannot remember how I arrived at the solution, I know I stepped though the code line by line and somehow came up with this. Just prior to calling the OutPutTo method I turn off Echo (so nothing visible happens to the screen) then I show the database window (invisibly!) and output the snapshot file. After that I hide the database window and turn echo back on. It seems that making the database 'visible' makes a difference. I have no clue why this works, but it did cure the problem of reports not being generated. Here is the modified code I use in the function ConvertReportToPDF ... ' Export the selected Report to SnapShot format DoCmd.Echo False 'Show the db window DoCmd.SelectObject acTable, , True DoCmd.OutputTo acOutputReport, RptName, "SnapshotFormat(*.snp)", _ strPathandFileName DoCmd.SelectObject acTable, , True DoCmd.RunCommand acCmdWindowHide 'turn the echo back on DoCmd.Echo True Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Wednesday, May 06, 2009 11:37 AM To: Access Developers discussion and problem solving Subject: [AccessD] Lebans PDF code in Vista I have 2 databases (AS database, OS database) that use Lebans convert-to-pdf code. The code has worked great for years in Access2000-2003 and WinXP. When I run the AS database in Access2003 on my Vista computer, the code works fine. When I run the OS database in Access2003 on Vista, it stops at the Docmd.OutputTo acOutputReport, rptName, "SnapshotFormat(*.snp)", strPathandFileName line. The "outputting to . . " window pops up and goes away. The .snp file is not created. There's no error. It just stops running. There are differences between these 2 databases, but the code called -- convert to pdf -- is the same in both. If I import the code from the AS database to the OS database, the code no longer works. I've tried with an older version of Lebans code and the most recent version -- no differerence. I've tried decompiling the database -- no difference. Compiles fine. No missing references. Office2003 has the most recent updates on both the XP and Vista computers. (The code does run in XP.) Has anyone had this problem? Any ideas? Thanks Carolyn Johnson St Louis, MO -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mcp2004 at mail.ru Wed May 6 14:02:49 2009 From: mcp2004 at mail.ru (Salakhetdinov Shamil) Date: Wed, 06 May 2009 23:02:49 +0400 Subject: [AccessD] =?koi8-r?b?T1Q6IC4uLmVuZCBvZiBsaW5lIGZvciBCb3JsYW5kLi4u?= Message-ID: Hi All, FYI: http://www.sdtimes.com/link/33460 "Bottom line: Borland is gone, and good riddance. Ted Bahr is right: Few should mourn its passing. The differentiation is now clear: If you want ALM suites, go to Micro Focus. If you want application performance management tools, go to Compuware. And if you want developer tools, go to Embarcadero." That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using Borland's Turbo C and Turbo Pascal - that were very good development tools for PCs, probably the best, for that time... -- Shamil From tinanfields at torchlake.com Wed May 6 14:43:29 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Wed, 06 May 2009 15:43:29 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: Message-ID: <4A01E861.7060906@torchlake.com> Feels kind of sad to me. When I learned C (yes, that long ago!), I used Borland's C compiler and liked it. Also, wasn't Paradox a Borland product? I used that for a while, before learning about Access. Gee, it may be a good thing in the end, but it feels sad to me today. T Salakhetdinov Shamil wrote: > Hi All, > > FYI: http://www.sdtimes.com/link/33460 > > "Bottom line: Borland is gone, and good riddance. Ted Bahr is right: Few should mourn its passing. The differentiation is now clear: If you want ALM suites, go to Micro Focus. If you want application performance management tools, go to Compuware. And if you want developer tools, go to Embarcadero." > > That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using Borland's Turbo C and Turbo Pascal - that were very good development tools for PCs, probably the best, for that time... > > -- > Shamil > From jwcolby at colbyconsulting.com Wed May 6 15:28:21 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 06 May 2009 16:28:21 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: Message-ID: <4A01F2E5.7030100@colbyconsulting.com> I started learning Turbo Pascal about 1984. I subsequently bought and actually used their "toolboxes" including a database and graphics toolbox. I ran it on a Single Board Computer that I built myself from a kit (think soldering iron) and it had a 16 mhz 80186, 512K RAM a dual UART and a dual 8" floppy disk, and ran CPM-86. For the day it was a smokin' machine. In fact when I finally caved and switched to an XP clone I took a major hit in speed, moving down to an Epson 8 mhz 80188. However that machine had 640 K of main memory and a 2 meg ram expansion board, plus... a 10 meg HARD DISK! I continued to learn Turbo Pascal and later Turbo C on that machine. I programmed almost exclusively in Borland products until I switched to Access in 1994. Lots of enjoyable years using their products. John W. Colby www.ColbyConsulting.com Salakhetdinov Shamil wrote: > Hi All, > > FYI: http://www.sdtimes.com/link/33460 > > "Bottom line: Borland is gone, and good riddance. Ted Bahr is right: Few should mourn its passing. The differentiation is now clear: If you want ALM suites, go to Micro Focus. If you want application performance management tools, go to Compuware. And if you want developer tools, go to Embarcadero." > > That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using Borland's Turbo C and Turbo Pascal - that were very good development tools for PCs, probably the best, for that time... > > -- > Shamil From fuller.artful at gmail.com Wed May 6 16:16:07 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 6 May 2009 17:16:07 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4A01F2E5.7030100@colbyconsulting.com> References: <4A01F2E5.7030100@colbyconsulting.com> Message-ID: <29f585dd0905061416t547b4aa4qf62d325e5159692f@mail.gmail.com> I think that all these messages lead logically to a Borland RIP LinkedIn site or something similar. As for me, I started out on Turbo Pascal. This is very sad, if true. A. From dbdoug at gmail.com Wed May 6 16:24:16 2009 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 6 May 2009 14:24:16 -0700 Subject: [AccessD] help with a query... In-Reply-To: References: <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc> <49FF1F71.18558.3BB451E0@stuart.lexacorp.com.pg> Message-ID: <4dd71a0c0905061424k5645c5f9qcd2af6bb1a35c7c9@mail.gmail.com> Just a short comment: you could save yourself a lot of typing if you use 'vbCrLf' instead of 'Chr(13)+Chr(10)' Doug Steele From dwaters at usinternet.com Wed May 6 16:47:58 2009 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 May 2009 16:47:58 -0500 Subject: [AccessD] help with a query... In-Reply-To: <4dd71a0c0905061424k5645c5f9qcd2af6bb1a35c7c9@mail.gmail.com> References: <01F136D10FA143AC84BDCC76E60E0EC4@kost36pc><49FF1F71.18558.3BB451E0@stuart.lexacorp.com.pg> <4dd71a0c0905061424k5645c5f9qcd2af6bb1a35c7c9@mail.gmail.com> Message-ID: <193980B4CC944132B5BD69CCDD68D4F3@danwaters> Or 'vbNewLine'! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, May 06, 2009 4:24 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] help with a query... Just a short comment: you could save yourself a lot of typing if you use 'vbCrLf' instead of 'Chr(13)+Chr(10)' Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed May 6 17:45:51 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 May 2009 08:45:51 +1000 Subject: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT In-Reply-To: References: , Message-ID: <4A02131F.13236.473C33F1@stuart.lexacorp.com.pg> On 6 May 2009 at 13:50, Carolyn Johnson wrote: > BUT the good news is it caused me to play around some more. I > changed the output to RTF to see what would happen, and I got an error > because the path for an image on the report was incorrect. It still > had the path used for the Windows XP database folder under Program > Files, instead of the Vista database folder under Users. Once I > fixed the path for the image, it worked fine. That's why I NEVER hardcode paths. I always use either CurrentProject.Path as the root path or Special Folder resolution to get Temp, My Documents, Application Data etc. -- Stuart From stuart at lexacorp.com.pg Wed May 6 17:50:32 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 May 2009 08:50:32 +1000 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <29f585dd0905061416t547b4aa4qf62d325e5159692f@mail.gmail.com> References: , <4A01F2E5.7030100@colbyconsulting.com>, <29f585dd0905061416t547b4aa4qf62d325e5159692f@mail.gmail.com> Message-ID: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> And of course, my beloved PowerBasic is an evolution of Borland Turbo Basic See http://www.powerbasic.com/aboutpb.asp -- Stuart On 6 May 2009 at 17:16, Arthur Fuller wrote: > I think that all these messages lead logically to a Borland RIP LinkedIn > site or something similar. As for me, I started out on Turbo Pascal. This is > very sad, if true. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed May 6 17:56:09 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 May 2009 08:56:09 +1000 Subject: [AccessD] help with a query... In-Reply-To: <193980B4CC944132B5BD69CCDD68D4F3@danwaters> References: , <4dd71a0c0905061424k5645c5f9qcd2af6bb1a35c7c9@mail.gmail.com>, <193980B4CC944132B5BD69CCDD68D4F3@danwaters> Message-ID: <4A021589.8068.4745A25D@stuart.lexacorp.com.pg> Unfortunately, you can't use VB Constants in queries. You have to use Chr$(13) & Chr$(10) in this situation. -- Stuart On 6 May 2009 at 16:47, Dan Waters wrote: > Or 'vbNewLine'! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Wednesday, May 06, 2009 4:24 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] help with a query... > > Just a short comment: you could save yourself a lot of typing if you use > 'vbCrLf' instead of 'Chr(13)+Chr(10)' > > Doug Steele > -- From cjlabs at worldnet.att.net Wed May 6 17:58:32 2009 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Wed, 6 May 2009 17:58:32 -0500 Subject: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT References: , <4A02131F.13236.473C33F1@stuart.lexacorp.com.pg> Message-ID: <688CE0BA989C480891B5327ECD3C56C6@Dell> I agree. Unfortunately, it this case, the image is the user's logo and can be anywhere on the user's computer. The user selects the image through a common dialog control when setting up the database. It was misleading that for this particular image, it was located in the Program Files folder and was then moved with the database files to Vista's Users folders, and the path was not changed. I now have code that checks that the path is valid before running Lebans code, in case the database files are moved in the future. Carolyn Johnson ----- Original Message ----- From: Stuart McLachlan To: Access Developers discussion and problem solving Sent: Wednesday, May 06, 2009 5:45 PM Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT On 6 May 2009 at 13:50, Carolyn Johnson wrote: > BUT the good news is it caused me to play around some more. I > changed the output to RTF to see what would happen, and I got an error > because the path for an image on the report was incorrect. It still > had the path used for the Windows XP database folder under Program > Files, instead of the Vista database folder under Users. Once I > fixed the path for the image, it worked fine. That's why I NEVER hardcode paths. I always use either CurrentProject.Path as the root path or Special Folder resolution to get Temp, My Documents, Application Data etc. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marksimms at verizon.net Wed May 6 20:08:32 2009 From: marksimms at verizon.net (Mark Simms) Date: Wed, 06 May 2009 21:08:32 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: Message-ID: <002f01c9ceb0$5728d6f0$0501a8c0@MSIMMSWS> Ever use Borland's Jbuilder for webdev ? I once did....or tried to....it was so buggy, it was unusable. Good riddance Indeed ! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov Shamil > Sent: Wednesday, May 06, 2009 3:03 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: ...end of line for Borland... > > Hi All, > > FYI: http://www.sdtimes.com/link/33460 > > "Bottom line: Borland is gone, and good riddance. Ted Bahr is > right: Few should mourn its passing. The differentiation is > now clear: If you want ALM suites, go to Micro Focus. If you > want application performance management tools, go to > Compuware. And if you want developer tools, go to Embarcadero." > > That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) > using Borland's Turbo C and Turbo Pascal - that were very > good development tools for PCs, probably the best, for that time... > > -- > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From ebarro at verizon.net Wed May 6 20:29:58 2009 From: ebarro at verizon.net (Eric Barro) Date: Wed, 06 May 2009 18:29:58 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <002f01c9ceb0$5728d6f0$0501a8c0@MSIMMSWS> References: <002f01c9ceb0$5728d6f0$0501a8c0@MSIMMSWS> Message-ID: <764A9BB7C46740B291A0918D119D72CD@advancedinput.com> I was also hooked on Turbo C by Borland! I remember scouring the computer stores looking for anything on Turbo C. I started my programming "career" on an Atari creating macros for a spreadsheet program before graduating to Lotus Symphony's integrated spreadsheet and database applications. After that, I tried dBASE III and Clipper. The school I was working for used filePro so I had to learn that and on the side I taught myself to program in C using Turbo C. It took a year before I finally grasped the concept of C programming and came up with the what I considered a really cool application -- a fancy and advanced menu driven interface. When C++ came out I figured that it was too complicated to learn object-oriented programming and stopped learning C and shifted my focus to MS Access 1.0 and finally web-based programming. Today, I'm back full circle, programming this time with Microsoft's C# using (GASP!) object-oriented/event-driven programming techniques. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, May 06, 2009 6:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... Ever use Borland's Jbuilder for webdev ? I once did....or tried to....it was so buggy, it was unusable. Good riddance Indeed ! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov Shamil > Sent: Wednesday, May 06, 2009 3:03 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: ...end of line for Borland... > > Hi All, > > FYI: http://www.sdtimes.com/link/33460 > > "Bottom line: Borland is gone, and good riddance. Ted Bahr is > right: Few should mourn its passing. The differentiation is now clear: > If you want ALM suites, go to Micro Focus. If you want application > performance management tools, go to Compuware. And if you want > developer tools, go to Embarcadero." > > That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using > Borland's Turbo C and Turbo Pascal - that were very good development > tools for PCs, probably the best, for that time... > > -- > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Wed May 6 22:46:14 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 7 May 2009 04:46:14 +0100 Subject: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT In-Reply-To: <4A02131F.13236.473C33F1@stuart.lexacorp.com.pg> References: , <4A02131F.13236.473C33F1@stuart.lexacorp.com.pg> Message-ID: <4a02598a.0a04d00a.3daf.6e6f@mx.google.com> >> That's why I NEVER hardcode paths. What do you do about locating the BE on the server, Stu? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 06 May 2009 23:46 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT On 6 May 2009 at 13:50, Carolyn Johnson wrote: > BUT the good news is it caused me to play around some more. I > changed the output to RTF to see what would happen, and I got an error > because the path for an image on the report was incorrect. It still > had the path used for the Windows XP database folder under Program > Files, instead of the Vista database folder under Users. Once I > fixed the path for the image, it worked fine. That's why I NEVER hardcode paths. I always use either CurrentProject.Path as the root path or Special Folder resolution to get Temp, My Documents, Application Data etc. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nd500_lo at charter.net Wed May 6 23:08:26 2009 From: nd500_lo at charter.net (Dian) Date: Wed, 6 May 2009 21:08:26 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <764A9BB7C46740B291A0918D119D72CD@advancedinput.com> References: <002f01c9ceb0$5728d6f0$0501a8c0@MSIMMSWS> <764A9BB7C46740B291A0918D119D72CD@advancedinput.com> Message-ID: <921C75AEEFA342DF80F3DE332D14CD7C@dsunit1> Someone on this list should do a survey of where we all came to Access from...I read all this and it is interesting to follow the different paths we each followed... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, May 06, 2009 6:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... I was also hooked on Turbo C by Borland! I remember scouring the computer stores looking for anything on Turbo C. I started my programming "career" on an Atari creating macros for a spreadsheet program before graduating to Lotus Symphony's integrated spreadsheet and database applications. After that, I tried dBASE III and Clipper. The school I was working for used filePro so I had to learn that and on the side I taught myself to program in C using Turbo C. It took a year before I finally grasped the concept of C programming and came up with the what I considered a really cool application -- a fancy and advanced menu driven interface. When C++ came out I figured that it was too complicated to learn object-oriented programming and stopped learning C and shifted my focus to MS Access 1.0 and finally web-based programming. Today, I'm back full circle, programming this time with Microsoft's C# using (GASP!) object-oriented/event-driven programming techniques. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Wednesday, May 06, 2009 6:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... Ever use Borland's Jbuilder for webdev ? I once did....or tried to....it was so buggy, it was unusable. Good riddance Indeed ! > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Salakhetdinov Shamil > Sent: Wednesday, May 06, 2009 3:03 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] OT: ...end of line for Borland... > > Hi All, > > FYI: http://www.sdtimes.com/link/33460 > > "Bottom line: Borland is gone, and good riddance. Ted Bahr is > right: Few should mourn its passing. The differentiation is now clear: > If you want ALM suites, go to Micro Focus. If you want application > performance management tools, go to Compuware. And if you want > developer tools, go to Embarcadero." > > That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using > Borland's Turbo C and Turbo Pascal - that were very good development > tools for PCs, probably the best, for that time... > > -- > Shamil > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu May 7 00:01:00 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 May 2009 15:01:00 +1000 Subject: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT In-Reply-To: <4a02598a.0a04d00a.3daf.6e6f@mx.google.com> References: , <4A02131F.13236.473C33F1@stuart.lexacorp.com.pg>, <4a02598a.0a04d00a.3daf.6e6f@mx.google.com> Message-ID: <4A026B0C.25169.4893A715@stuart.lexacorp.com.pg> I store the BE directory in a system table, check for the BE presence at startup and if it is not found, prompt for a new location, re-link. and store the new location :-) On 7 May 2009 at 4:46, Max Wanadoo wrote: > >> That's why I NEVER hardcode paths. > > What do you do about locating the BE on the server, Stu? > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: 06 May 2009 23:46 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT > > On 6 May 2009 at 13:50, Carolyn Johnson wrote: > > > BUT the good news is it caused me to play around some more. I > > changed the output to RTF to see what would happen, and I got an error > > because the path for an image on the report was incorrect. It still > > had the path used for the Windows XP database folder under Program > > Files, instead of the Vista database folder under Users. Once I > > fixed the path for the image, it worked fine. > > That's why I NEVER hardcode paths. > > I always use either CurrentProject.Path as the root path or Special Folder > resolution to get > Temp, My Documents, Application Data etc. > > -- > 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 accessd at shaw.ca Thu May 7 11:10:13 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 09:10:13 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: Message-ID: That is the way of the computer world. I know more dead languages than I know live ones. My first major program was a survey app written in Intergraph script and FORTRAN (on a PDP-11 and 351VAX no less which were then translated to the desktop), then a Rental app written in 6502/6510 assembler (a harmless drudge), an Election application in SuperBase, then Turbo-Pascal, followed by a series of apps in SmartWare/Informix and then in Clarion (loved Clarion)... I wrote a major POS/Accounting package for Dairies and they sold very well... The point I am trying to make is that computer languages come and go. The best one today is history tomorrow. It is sad to see them go after spending so much time becoming proficient and good friends and then they are gone. Even ACCESS and ASP are dwindling and they are being slowly replaced by .NET/Java. In hindsight wished I stuck with 'C'. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, May 06, 2009 12:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: ...end of line for Borland... Hi All, FYI: http://www.sdtimes.com/link/33460 "Bottom line: Borland is gone, and good riddance. Ted Bahr is right: Few should mourn its passing. The differentiation is now clear: If you want ALM suites, go to Micro Focus. If you want application performance management tools, go to Compuware. And if you want developer tools, go to Embarcadero." That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using Borland's Turbo C and Turbo Pascal - that were very good development tools for PCs, probably the best, for that time... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu May 7 11:19:43 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 09:19:43 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> References: <4A01F2E5.7030100@colbyconsulting.com> <29f585dd0905061416t547b4aa4qf62d325e5159692f@mail.gmail.com> <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> Message-ID: <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> That horse has been riding a long time... A small group a fanatics have been keeping it going. Unfortunately, businesses and government around here demand .Net or Java. /-P Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, May 06, 2009 3:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... And of course, my beloved PowerBasic is an evolution of Borland Turbo Basic See http://www.powerbasic.com/aboutpb.asp -- Stuart On 6 May 2009 at 17:16, Arthur Fuller wrote: > I think that all these messages lead logically to a Borland RIP LinkedIn > site or something similar. As for me, I started out on Turbo Pascal. This is > very sad, if true. > > A. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu May 7 11:25:39 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 09:25:39 -0700 Subject: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT In-Reply-To: <4a02598a.0a04d00a.3daf.6e6f@mx.google.com> References: <4A02131F.13236.473C33F1@stuart.lexacorp.com.pg> <4a02598a.0a04d00a.3daf.6e6f@mx.google.com> Message-ID: \\MyServer\MyPath Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Wednesday, May 06, 2009 8:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT >> That's why I NEVER hardcode paths. What do you do about locating the BE on the server, Stu? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 06 May 2009 23:46 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Lebans PDF code in Vista SOLVED BUT DIFFERENT On 6 May 2009 at 13:50, Carolyn Johnson wrote: > BUT the good news is it caused me to play around some more. I > changed the output to RTF to see what would happen, and I got an error > because the path for an image on the report was incorrect. It still > had the path used for the Windows XP database folder under Program > Files, instead of the Vista database folder under Users. Once I > fixed the path for the image, it worked fine. That's why I NEVER hardcode paths. I always use either CurrentProject.Path as the root path or Special Folder resolution to get Temp, My Documents, Application Data etc. -- 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 fuller.artful at gmail.com Thu May 7 11:26:44 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 7 May 2009 12:26:44 -0400 Subject: [AccessD] New Languages (that may not be new to you) Message-ID: <29f585dd0905070926l2deeb004q70597b1674822575@mail.gmail.com> I'm reading this book called VBA To VSTO. Somehow I missed this boat. It was installed but I never noticed it. Then I spotted this book at the local library and discovered that this was released with the Office 2003 pack. So at a casual guess this would imply that I am 6 years behind the edge on this subject. Has anyone on this list written anything VSTO-specific? If so, would you care to share your experiences? I'm a bit of a slut for new languages, and some of what I call new have been around the block for decades. RoR, Python, etc. I play with them but have never done any professional (e.g. paid) work with them. From DWUTKA at Marlow.com Thu May 7 12:13:29 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 7 May 2009 12:13:29 -0500 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <921C75AEEFA342DF80F3DE332D14CD7C@dsunit1> References: <002f01c9ceb0$5728d6f0$0501a8c0@MSIMMSWS><764A9BB7C46740B291A0918D119D72CD@advancedinput.com> <921C75AEEFA342DF80F3DE332D14CD7C@dsunit1> Message-ID: My Dad worked for IBM, so I've been around computers since I was 5. First computers I remember using were an IBM 5100 and a 'KIM' computer (which was a kit build, my Dad built in college). I fiddled around with plain old Basic during my school years, then landed all sorts of odd jobs. Music major in college, asst. manager at a Burger King, Nuclear Mechanic in the Navy, several Mechanical jobs as a civy (not automotive, usually pump and a/c systems), taught high school kids how to take the SATs, etc. Had no real formal training on computers (an 'Intro To Computer Learning on Apple IIes....very boring, there are like three commands which were different between Apple DOS (and Apple Basic) and PC DOS /Basic.... at least that I remember...I remember that to get a list of files you used catalogue instead of dir.). My last mechanical job was as a plant maintenance tech at DFW airport. We needed an inventory program BADLY. Had rooms full of parts, but nothing catalogued. So we'd either order parts we had 20 of, or we'd spend days looking for something we swore we had! Found a nifty little inventory shareware program on the web. The IT department at DFW said 'no way' to shareware programs..... a few months later, we got new PC's, with Office 97 on them (running NT 4). Poked around and discovered this neat little (or not so little) db program called Access 97. Spent a few months building what started as an inventory program, that turned into a job scheduling, inventory system, hours scheduling, etc program. My co-workers were literally scared of computers, so I needed to make that application as transparent as possible, so I found a little code to hide the Access Window. Couldn't get it to work (now I can do something like that in my sleep! LOL), so I emailed the IT department for help. They kindly explained how to hide the database window. I explained I knew how to do THAT, but had a function to hide the Access Window and couldn't get it to work. Figured it out that night, and let them know how to do it. The next morning, my boss said we were no longer allowed to directly contact the IT department. A few months later, I left that job, and got into the computer field. So I'd still be a mechanic if that IT department had just allowed a shareware program! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, May 06, 2009 11:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... Someone on this list should do a survey of where we all came to Access from...I read all this and it is interesting to follow the different paths we each followed... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, May 06, 2009 6:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... I was also hooked on Turbo C by Borland! I remember scouring the computer stores looking for anything on Turbo C. I started my programming "career" on an Atari creating macros for a spreadsheet program before graduating to Lotus Symphony's integrated spreadsheet and database applications. After that, I tried dBASE III and Clipper. The school I was working for used filePro so I had to learn that and on the side I taught myself to program in C using Turbo C. It took a year before I finally grasped the concept of C programming and came up with the what I considered a really cool application -- a fancy and advanced menu driven interface. When C++ came out I figured that it was too complicated to learn object-oriented programming and stopped learning C and shifted my focus to MS Access 1.0 and finally web-based programming. Today, I'm back full circle, programming this time with Microsoft's C# using (GASP!) object-oriented/event-driven programming techniques. :) The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Thu May 7 12:23:59 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 10:23:59 -0700 Subject: [AccessD] New Languages (that may not be new to you) In-Reply-To: <29f585dd0905070926l2deeb004q70597b1674822575@mail.gmail.com> References: <29f585dd0905070926l2deeb004q70597b1674822575@mail.gmail.com> Message-ID: <579FE2570961462DA1F3392C3A05E563@creativesystemdesigns.com> That is the best way to learn... commit to a language you are just starting to know, on a major project. The terror and the thrill of learning a new language is the fastest way to learn... and maybe the only way. ;-) I did not even think VSTO was complete but it is supposed to work in all Office products from Office 2008 on... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, May 07, 2009 9:27 AM To: Access Developers discussion and problem solving Subject: [AccessD] New Languages (that may not be new to you) I'm reading this book called VBA To VSTO. Somehow I missed this boat. It was installed but I never noticed it. Then I spotted this book at the local library and discovered that this was released with the Office 2003 pack. So at a casual guess this would imply that I am 6 years behind the edge on this subject. Has anyone on this list written anything VSTO-specific? If so, would you care to share your experiences? I'm a bit of a slut for new languages, and some of what I call new have been around the block for decades. RoR, Python, etc. I play with them but have never done any professional (e.g. paid) work with them. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu May 7 12:37:16 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 10:37:16 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: <002f01c9ceb0$5728d6f0$0501a8c0@MSIMMSWS> <764A9BB7C46740B291A0918D119D72CD@advancedinput.com> <921C75AEEFA342DF80F3DE332D14CD7C@dsunit1> Message-ID: That is quite an interesting route... I think many of the application developers on this site exist thanks to some IT department or some smart manager who recognized talent. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Thursday, May 07, 2009 10:13 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... My Dad worked for IBM, so I've been around computers since I was 5. First computers I remember using were an IBM 5100 and a 'KIM' computer (which was a kit build, my Dad built in college). I fiddled around with plain old Basic during my school years, then landed all sorts of odd jobs. Music major in college, asst. manager at a Burger King, Nuclear Mechanic in the Navy, several Mechanical jobs as a civy (not automotive, usually pump and a/c systems), taught high school kids how to take the SATs, etc. Had no real formal training on computers (an 'Intro To Computer Learning on Apple IIes....very boring, there are like three commands which were different between Apple DOS (and Apple Basic) and PC DOS /Basic.... at least that I remember...I remember that to get a list of files you used catalogue instead of dir.). My last mechanical job was as a plant maintenance tech at DFW airport. We needed an inventory program BADLY. Had rooms full of parts, but nothing catalogued. So we'd either order parts we had 20 of, or we'd spend days looking for something we swore we had! Found a nifty little inventory shareware program on the web. The IT department at DFW said 'no way' to shareware programs..... a few months later, we got new PC's, with Office 97 on them (running NT 4). Poked around and discovered this neat little (or not so little) db program called Access 97. Spent a few months building what started as an inventory program, that turned into a job scheduling, inventory system, hours scheduling, etc program. My co-workers were literally scared of computers, so I needed to make that application as transparent as possible, so I found a little code to hide the Access Window. Couldn't get it to work (now I can do something like that in my sleep! LOL), so I emailed the IT department for help. They kindly explained how to hide the database window. I explained I knew how to do THAT, but had a function to hide the Access Window and couldn't get it to work. Figured it out that night, and let them know how to do it. The next morning, my boss said we were no longer allowed to directly contact the IT department. A few months later, I left that job, and got into the computer field. So I'd still be a mechanic if that IT department had just allowed a shareware program! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dian Sent: Wednesday, May 06, 2009 11:08 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... Someone on this list should do a survey of where we all came to Access from...I read all this and it is interesting to follow the different paths we each followed... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: Wednesday, May 06, 2009 6:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... I was also hooked on Turbo C by Borland! I remember scouring the computer stores looking for anything on Turbo C. I started my programming "career" on an Atari creating macros for a spreadsheet program before graduating to Lotus Symphony's integrated spreadsheet and database applications. After that, I tried dBASE III and Clipper. The school I was working for used filePro so I had to learn that and on the side I taught myself to program in C using Turbo C. It took a year before I finally grasped the concept of C programming and came up with the what I considered a really cool application -- a fancy and advanced menu driven interface. When C++ came out I figured that it was too complicated to learn object-oriented programming and stopped learning C and shifted my focus to MS Access 1.0 and finally web-based programming. Today, I'm back full circle, programming this time with Microsoft's C# using (GASP!) object-oriented/event-driven programming techniques. :) The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pharold at proftesting.com Thu May 7 14:13:46 2009 From: pharold at proftesting.com (Perry L Harold) Date: Thu, 7 May 2009 15:13:46 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: Message-ID: FORTRAN is still available. Several versions in fact: http://www.cisl.ucar.edu/zine/98/fall/text/3.compilers.html Perry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, May 07, 2009 12:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... That is the way of the computer world. I know more dead languages than I know live ones. My first major program was a survey app written in Intergraph script and FORTRAN (on a PDP-11 and 351VAX no less which were then translated to the desktop), then a Rental app written in 6502/6510 assembler (a harmless drudge), an Election application in SuperBase, then Turbo-Pascal, followed by a series of apps in SmartWare/Informix and then in Clarion (loved Clarion)... I wrote a major POS/Accounting package for Dairies and they sold very well... The point I am trying to make is that computer languages come and go. The best one today is history tomorrow. It is sad to see them go after spending so much time becoming proficient and good friends and then they are gone. Even ACCESS and ASP are dwindling and they are being slowly replaced by .NET/Java. In hindsight wished I stuck with 'C'. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, May 06, 2009 12:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: ...end of line for Borland... Hi All, FYI: http://www.sdtimes.com/link/33460 "Bottom line: Borland is gone, and good riddance. Ted Bahr is right: Few should mourn its passing. The differentiation is now clear: If you want ALM suites, go to Micro Focus. If you want application performance management tools, go to Compuware. And if you want developer tools, go to Embarcadero." That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using Borland's Turbo C and Turbo Pascal - that were very good development tools for PCs, probably the best, for that time... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu May 7 16:02:36 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 14:02:36 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: Message-ID: <8651E58191DC4274A1037929825663EE@creativesystemdesigns.com> For fun but not for profit... Just when I mastered the buggy whip design and it goes out of popularity. ;-) Thanks for the link. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Perry L Harold Sent: Thursday, May 07, 2009 12:14 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... FORTRAN is still available. Several versions in fact: http://www.cisl.ucar.edu/zine/98/fall/text/3.compilers.html Perry -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, May 07, 2009 12:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... That is the way of the computer world. I know more dead languages than I know live ones. My first major program was a survey app written in Intergraph script and FORTRAN (on a PDP-11 and 351VAX no less which were then translated to the desktop), then a Rental app written in 6502/6510 assembler (a harmless drudge), an Election application in SuperBase, then Turbo-Pascal, followed by a series of apps in SmartWare/Informix and then in Clarion (loved Clarion)... I wrote a major POS/Accounting package for Dairies and they sold very well... The point I am trying to make is that computer languages come and go. The best one today is history tomorrow. It is sad to see them go after spending so much time becoming proficient and good friends and then they are gone. Even ACCESS and ASP are dwindling and they are being slowly replaced by .NET/Java. In hindsight wished I stuck with 'C'. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Salakhetdinov Shamil Sent: Wednesday, May 06, 2009 12:03 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: ...end of line for Borland... Hi All, FYI: http://www.sdtimes.com/link/33460 "Bottom line: Borland is gone, and good riddance. Ted Bahr is right: Few should mourn its passing. The differentiation is now clear: If you want ALM suites, go to Micro Focus. If you want application performance management tools, go to Compuware. And if you want developer tools, go to Embarcadero." That's a pity - I started to work on PCs (PC XT 10MB HDD!!!) using Borland's Turbo C and Turbo Pascal - that were very good development tools for PCs, probably the best, for that time... -- Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu May 7 16:27:35 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 May 2009 07:27:35 +1000 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> References: , <4A021438.3111.47407DFB@stuart.lexacorp.com.pg>, <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> Message-ID: <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> Who are you calling a fanatic? You looking for a fight? Are ya? Well are ya? Come on then! I'll give you fanatic, you ..... Hi, Stuart's doctor here - don't worry, we've just upped his medication. He should be back on line shortly. On 7 May 2009 at 9:19, Jim Lawrence wrote: > That horse has been riding a long time... A small group a fanatics have been > keeping it going. > > Unfortunately, businesses and government around here demand .Net or Java. > /-P > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Wednesday, May 06, 2009 3:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: ...end of line for Borland... > > And of course, my beloved PowerBasic is an evolution of Borland Turbo Basic > See http://www.powerbasic.com/aboutpb.asp > > -- > Stuart > > On 6 May 2009 at 17:16, Arthur Fuller wrote: > > > I think that all these messages lead logically to a Borland RIP LinkedIn > > site or something similar. As for me, I started out on Turbo Pascal. This > is > > very sad, if true. > > > > A. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu May 7 16:34:24 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 May 2009 07:34:24 +1000 Subject: [AccessD] New Languages (that may not be new to you) In-Reply-To: <29f585dd0905070926l2deeb004q70597b1674822575@mail.gmail.com> References: <29f585dd0905070926l2deeb004q70597b1674822575@mail.gmail.com> Message-ID: <4A0353E0.23813.4C21299F@stuart.lexacorp.com.pg> Never used it, but note that it is no longer a separate product. ...As noted previously on this blog, one of the most exciting aspects of the release of Visual Studio 2008 is that the functionality for developing applications for Office has now been incorporated into Visual Studio 2008 Professional Edition. This means that all of the functionality previously in Visual Studio Tools for Office and a large number of enhancements are now available to developers for building enterprise-grade applications on Office. Download a trial version at http://msdn.microsoft.com/vstudio and check it out for yourself!... http://blogs.msdn.com/vsto2/archive/2008/01/16/the-reports-of-vba-s-demise-have-been- greatly-exaggerated.aspx On 7 May 2009 at 12:26, Arthur Fuller wrote: > I'm reading this book called VBA To VSTO. Somehow I missed this boat. It was > installed but I never noticed it. Then I spotted this book at the local > library and discovered that this was released with the Office 2003 pack. So > at a casual guess this would imply that I am 6 years behind the edge on this > subject. > > Has anyone on this list written anything VSTO-specific? If so, would you > care to share your experiences? > > I'm a bit of a slut for new languages, and some of what I call new have been > around the block for decades. RoR, Python, etc. I play with them but have > never done any professional (e.g. paid) work with them. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu May 7 16:45:07 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 14:45:07 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> References: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> Message-ID: <178202E50E664A65937654C67F742420@creativesystemdesigns.com> Ha ha ha... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, May 07, 2009 2:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... Who are you calling a fanatic? You looking for a fight? Are ya? Well are ya? Come on then! I'll give you fanatic, you ..... Hi, Stuart's doctor here - don't worry, we've just upped his medication. He should be back on line shortly. On 7 May 2009 at 9:19, Jim Lawrence wrote: > That horse has been riding a long time... A small group a fanatics have been > keeping it going. > > Unfortunately, businesses and government around here demand .Net or Java. > /-P > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Wednesday, May 06, 2009 3:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: ...end of line for Borland... > > And of course, my beloved PowerBasic is an evolution of Borland Turbo Basic > See http://www.powerbasic.com/aboutpb.asp > > -- > Stuart > > On 6 May 2009 at 17:16, Arthur Fuller wrote: > > > I think that all these messages lead logically to a Borland RIP LinkedIn > > site or something similar. As for me, I started out on Turbo Pascal. This > is > > very sad, if true. > > > > A. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Thu May 7 16:53:50 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 7 May 2009 16:53:50 -0500 Subject: [AccessD] OT: Vista Message-ID: Susan and I put up a top 10 list of reasons to move to Vista: http://blogs.techrepublic.com.com/10things/?p=639 It's gotten some good feedback so far! Drew (I love writing stuff with Susan, she makes my words sound so purty! ;) ) The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From stuart at lexacorp.com.pg Thu May 7 17:13:24 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 May 2009 08:13:24 +1000 Subject: [AccessD] OT: Vista In-Reply-To: References: Message-ID: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> I'd say it was more a list of "10 things that Vista does better than XP" rather than a reason to move now. With the imminent release of Windows7, moving to Vista now means you either get stuck with a dog or have to do two re-instals to get "Vista done right" which from all reports appear to be what Windows 7 is. I certainly won't be upgrading any XP machines to Vista and am advising my clients to hold off on purchasing new workstations until they come bundled with W7. On 7 May 2009 at 16:53, Drew Wutka wrote: > Susan and I put up a top 10 list of reasons to move to Vista: > > > > http://blogs.techrepublic.com.com/10things/?p=639 > > > > It's gotten some good feedback so far! > > > > Drew > > > > (I love writing stuff with Susan, she makes my words sound so purty! ;) > ) > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Thu May 7 17:29:43 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 7 May 2009 18:29:43 -0400 Subject: [AccessD] OT: Vista References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> Message-ID: <6B1B1EE5A0E041F9998D3556DC431E23@SusanOne> > I certainly won't be upgrading any XP machines to Vista and am advising my > clients to hold > off on purchasing new workstations until they come bundled with W7. http://blogs.techrepublic.com.com/project-management/?p=329 That's my advice too Stuart. I didn't mind helping Drew write the article, but I didn't necessarily agree with him! ;) Susan H. From DWUTKA at Marlow.com Thu May 7 17:40:16 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 7 May 2009 17:40:16 -0500 Subject: [AccessD] OT: Vista In-Reply-To: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> Message-ID: LOL. Actually, that was part of the point with the article. Yes, Windows 7 is going to be released soon....but are you really going to jump into Windows 7 on a business platform from day one? We took years to migrate to XP, and we weren't even thinking about it until SP2. EVERY Windows OS has needed a SP before it's really ready. If MS pulls off an OS release without a SP coming in the near future...I'll be impressed! Vista Business with SP1 is actually a very good OS. I'm installing Windows 7 as I type this, so I'll poke around in it soon enough. But when we wrote the article, Susan forwarded a list of links to 'Why Windows 7 is better then Vista', and I found mistakes or misunderstandings in a lot of what is said about Vista. An example was a comment about Windows Aero being able to 'show video' in Windows 7 in the window previews.....ummmm, Vista already does that. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, May 07, 2009 5:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Vista I'd say it was more a list of "10 things that Vista does better than XP" rather than a reason to move now. With the imminent release of Windows7, moving to Vista now means you either get stuck with a dog or have to do two re-instals to get "Vista done right" which from all reports appear to be what Windows 7 is. I certainly won't be upgrading any XP machines to Vista and am advising my clients to hold off on purchasing new workstations until they come bundled with W7. On 7 May 2009 at 16:53, Drew Wutka wrote: > Susan and I put up a top 10 list of reasons to move to Vista: > > > > http://blogs.techrepublic.com.com/10things/?p=639 > > > > It's gotten some good feedback so far! > > > > Drew > > > > (I love writing stuff with Susan, she makes my words sound so purty! ;) > ) > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu May 7 17:45:12 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 7 May 2009 17:45:12 -0500 Subject: [AccessD] OT: Vista In-Reply-To: <6B1B1EE5A0E041F9998D3556DC431E23@SusanOne> References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> <6B1B1EE5A0E041F9998D3556DC431E23@SusanOne> Message-ID: Ack..... Can't reach....the.....knife....handle..... Can anyone pull that knife out of my back please? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, May 07, 2009 5:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Vista > I certainly won't be upgrading any XP machines to Vista and am advising my > clients to hold > off on purchasing new workstations until they come bundled with W7. http://blogs.techrepublic.com.com/project-management/?p=329 That's my advice too Stuart. I didn't mind helping Drew write the article, but I didn't necessarily agree with him! ;) Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From ssharkins at gmail.com Thu May 7 17:55:44 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 7 May 2009 18:55:44 -0400 Subject: [AccessD] OT: Vista References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg><6B1B1EE5A0E041F9998D3556DC431E23@SusanOne> Message-ID: <15CC49A00AE64EC1B4181CFBADBD1C7A@SusanOne> Poor lamb... Susan H. > Ack..... > > Can't reach....the.....knife....handle..... > > Can anyone pull that knife out of my back please? From accessd at shaw.ca Thu May 7 18:17:10 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 16:17:10 -0700 Subject: [AccessD] OT: Vista In-Reply-To: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> Message-ID: <57EAF1853CD7469FAF0572CE0AEE6ACD@creativesystemdesigns.com> I agree with Stewart. If you wait until June to purchase Vista the upgrade to Windows7 is free. Vista is now little more than a lame duck and even though much of its technology will carry on, the Windows7 interface is much more sophisticated. Maybe all that will be necessary is to freshen up the Vista document and add some more features and viola' the top 10 for W7. On the other hand, at the risk of being crass, who cares as long as everyone got paid. ;-) Jim PS Very well written too. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, May 07, 2009 3:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Vista I'd say it was more a list of "10 things that Vista does better than XP" rather than a reason to move now. With the imminent release of Windows7, moving to Vista now means you either get stuck with a dog or have to do two re-instals to get "Vista done right" which from all reports appear to be what Windows 7 is. I certainly won't be upgrading any XP machines to Vista and am advising my clients to hold off on purchasing new workstations until they come bundled with W7. On 7 May 2009 at 16:53, Drew Wutka wrote: > Susan and I put up a top 10 list of reasons to move to Vista: > > > > http://blogs.techrepublic.com.com/10things/?p=639 > > > > It's gotten some good feedback so far! > > > > Drew > > > > (I love writing stuff with Susan, she makes my words sound so purty! ;) > ) > > > The information contained in this transmission is intended only for the person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI Business > Sensitive material. If you are not the intended recipient, please contact the sender > immediately and destroy the material in its entirety, whether electronic or hard copy. > You are notified that any review, retransmission, copying, disclosure, dissemination, > or other use of, or taking of any action in reliance upon this information by persons > or entities other than the intended recipient is prohibited. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu May 7 18:25:07 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 May 2009 09:25:07 +1000 Subject: [AccessD] OT: Vista In-Reply-To: References: , <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg>, Message-ID: <4A036DD3.14549.4C868621@stuart.lexacorp.com.pg> But isn't Windows 7 really Vista SP3 with a price tag? :-) On 7 May 2009 at 17:40, Drew Wutka wrote: > LOL. Actually, that was part of the point with the article. Yes, > Windows 7 is going to be released soon....but are you really going to > jump into Windows 7 on a business platform from day one? We took years > to migrate to XP, and we weren't even thinking about it until SP2. > EVERY Windows OS has needed a SP before it's really ready. If MS pulls > off an OS release without a SP coming in the near future...I'll be > impressed! From marksimms at verizon.net Thu May 7 18:53:53 2009 From: marksimms at verizon.net (Mark Simms) Date: Thu, 07 May 2009 19:53:53 -0400 Subject: [AccessD] OT: Vista In-Reply-To: <57EAF1853CD7469FAF0572CE0AEE6ACD@creativesystemdesigns.com> References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> <57EAF1853CD7469FAF0572CE0AEE6ACD@creativesystemdesigns.com> Message-ID: <003e01c9cf6f$13f19a10$0501a8c0@MSIMMSWS> re:"the Windows7 interface is much more sophisticated" In what way ? Or did you mean "...more configurable" ? From DWUTKA at Marlow.com Thu May 7 18:59:27 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 7 May 2009 18:59:27 -0500 Subject: [AccessD] OT: Vista In-Reply-To: <15CC49A00AE64EC1B4181CFBADBD1C7A@SusanOne> References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg><6B1B1EE5A0E041F9998D3556DC431E23@SusanOne> <15CC49A00AE64EC1B4181CFBADBD1C7A@SusanOne> Message-ID: LOL! ;) Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, May 07, 2009 5:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Vista Poor lamb... Susan H. > Ack..... > > Can't reach....the.....knife....handle..... > > Can anyone pull that knife out of my back please? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Thu May 7 19:06:01 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 7 May 2009 17:06:01 -0700 Subject: [AccessD] OT: Vista In-Reply-To: <003e01c9cf6f$13f19a10$0501a8c0@MSIMMSWS> References: <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg> <57EAF1853CD7469FAF0572CE0AEE6ACD@creativesystemdesigns.com> <003e01c9cf6f$13f19a10$0501a8c0@MSIMMSWS> Message-ID: Configurable may be a more accurate description. I just find myself wandering around W7 and finding what I need is easier and intuitional. http://downloads.techrepublic.com.com/thankyou.aspx?&tag=nl.e101&docid=95926 9&view=959269&load=1&authId=DjEZNQHitT36qzSIpas8gkz66tJwn0cNcTHh/V39rANWS0B/ mHzqSg9EOf18Sgu9 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark Simms Sent: Thursday, May 07, 2009 4:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Vista re:"the Windows7 interface is much more sophisticated" In what way ? Or did you mean "...more configurable" ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu May 7 23:55:22 2009 From: john at winhaven.net (John Bartow) Date: Thu, 7 May 2009 23:55:22 -0500 Subject: [AccessD] Report with 3 column detail section Message-ID: <003f01c9cf99$31d3cd80$957b6880$@net> I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 TIA John B. From JHewson at nciinc.com Fri May 8 07:02:47 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Fri, 8 May 2009 07:02:47 -0500 Subject: [AccessD] Report with 3 column detail section References: <003f01c9cf99$31d3cd80$957b6880$@net> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A8756673@sanex101.nciinc.com> The only way I have found to do this is to enlarge the sub report to fill the space on the first page. Set the can grow event to false. Otherwise only one column shows. This only works well IF the report will only be one page. I haven't found any way to have a two page or more report with columns using a sub report. HTH. Jim ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of John Bartow Sent: Thu 5/7/2009 23:55 To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From dwaters at usinternet.com Fri May 8 07:07:30 2009 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 8 May 2009 07:07:30 -0500 Subject: [AccessD] Report with 3 column detail section In-Reply-To: <003f01c9cf99$31d3cd80$957b6880$@net> References: <003f01c9cf99$31d3cd80$957b6880$@net> Message-ID: <718ABA7AE96E45989D9CE7924A68EB55@danwaters> Hi John, You can set up 3 columns in the detail section of your main report, you don't need to create a subreport just for that. To create three columns: Open the report in design view. Select File | Page Setup. Select the Columns tab. On this page you can set the number of columns and various other formatting parameters related to columns. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, May 07, 2009 11:55 PM To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 TIA John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From iggy at nanaimo.ark.com Fri May 8 09:09:32 2009 From: iggy at nanaimo.ark.com (Tony Septav) Date: Fri, 08 May 2009 07:09:32 -0700 Subject: [AccessD] .Net and SQL Message-ID: <4A043D1C.2050208@nanaimo.ark.com> Hey All Now that things have gone terribly quiet, I figure it is time I upgraded my skills. I have downloaded Visual Basic 2008 Express Edition and Microsoft SQL Server 8. I watched some of the beginners videos for VB 2008 EE, and I have decided I had better learn how to use SQL Server 8 first. Any suggestions on good free online training sites??? Thanks kindly. From DWUTKA at Marlow.com Fri May 8 09:21:44 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 8 May 2009 09:21:44 -0500 Subject: [AccessD] OT: Vista In-Reply-To: <4A036DD3.14549.4C868621@stuart.lexacorp.com.pg> References: , <4A035D04.5393.4C44DBFD@stuart.lexacorp.com.pg>, <4A036DD3.14549.4C868621@stuart.lexacorp.com.pg> Message-ID: Poked around a bit last night. Yes, Windows 7 looks like Vista SP3 with a price tag. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, May 07, 2009 6:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Vista But isn't Windows 7 really Vista SP3 with a price tag? :-) On 7 May 2009 at 17:40, Drew Wutka wrote: > LOL. Actually, that was part of the point with the article. Yes, > Windows 7 is going to be released soon....but are you really going to > jump into Windows 7 on a business platform from day one? We took years > to migrate to XP, and we weren't even thinking about it until SP2. > EVERY Windows OS has needed a SP before it's really ready. If MS pulls > off an OS release without a SP coming in the near future...I'll be > impressed! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From fuller.artful at gmail.com Fri May 8 10:23:22 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 May 2009 11:23:22 -0400 Subject: [AccessD] OT: Vista In-Reply-To: References: Message-ID: <29f585dd0905080823m7247c672q1556c28fc15b8997@mail.gmail.com> Nobody but SSH could possibly make your words sound purty! A. From fuller.artful at gmail.com Fri May 8 11:07:42 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 May 2009 12:07:42 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <178202E50E664A65937654C67F742420@creativesystemdesigns.com> References: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> <178202E50E664A65937654C67F742420@creativesystemdesigns.com> Message-ID: <29f585dd0905080907g2fafe2e0k294f9c87572a9265@mail.gmail.com> This thread is way OT but extremely amusing. And if you disagree, let me caution you. NiDan Shotokan. A bit out of practise but don't even think about it unless you have decades of experience. Wax on, wax off. On Thu, May 7, 2009 at 5:45 PM, Jim Lawrence wrote: > Ha ha ha... > From john at winhaven.net Fri May 8 11:20:41 2009 From: john at winhaven.net (John Bartow) Date: Fri, 8 May 2009 11:20:41 -0500 Subject: [AccessD] Report with 3 column detail section In-Reply-To: <718ABA7AE96E45989D9CE7924A68EB55@danwaters> References: <003f01c9cf99$31d3cd80$957b6880$@net> <718ABA7AE96E45989D9CE7924A68EB55@danwaters> Message-ID: <00b401c9cff8$ee5114e0$caf33ea0$@net> Thanks Dan, That worked just great. John -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, May 08, 2009 7:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Report with 3 column detail section Hi John, You can set up 3 columns in the detail section of your main report, you don't need to create a subreport just for that. To create three columns: Open the report in design view. Select File | Page Setup. Select the Columns tab. On this page you can set the number of columns and various other formatting parameters related to columns. HTH, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, May 07, 2009 11:55 PM To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 TIA John 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 max.wanadoo at gmail.com Fri May 8 11:32:11 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 8 May 2009 17:32:11 +0100 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <29f585dd0905080907g2fafe2e0k294f9c87572a9265@mail.gmail.com> References: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> <178202E50E664A65937654C67F742420@creativesystemdesigns.com> <29f585dd0905080907g2fafe2e0k294f9c87572a9265@mail.gmail.com> Message-ID: <4a045e94.0a1ad00a.2f9e.6307@mx.google.com> Never heard of him. Does he subscribe to this list? Max on, Max off. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 08 May 2009 17:08 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... This thread is way OT but extremely amusing. And if you disagree, let me caution you. NiDan Shotokan. A bit out of practise but don't even think about it unless you have decades of experience. Wax on, wax off. On Thu, May 7, 2009 at 5:45 PM, Jim Lawrence wrote: > Ha ha ha... > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri May 8 11:55:38 2009 From: john at winhaven.net (John Bartow) Date: Fri, 8 May 2009 11:55:38 -0500 Subject: [AccessD] (was: Report with 3 column detail section) In-Reply-To: <003f01c9cf99$31d3cd80$957b6880$@net> References: <003f01c9cf99$31d3cd80$957b6880$@net> Message-ID: <00d001c9cffd$d09dfc60$71d9f520$@net> A follow up question: I now have my one page report looking just perfect - one customer order with 3 columns in the detail section. I now need to include the functionality to print all orders for a period with each order being on a separate page The customer 1->M order detail relationship uses the natural key of country/ordertype/custnumb. (I have to link to their data source so there is NO possibility of changing this.) Issue I'm having is that with a 3 column report everything other than the report header/footer and page header/footer goes into 3 columns. So I can't use the report's Sorting & Grouping to do this. First thought I had was to create a recordset and loop through it (filtering) the report to print only that natural key but I'd like to know if there is a method to do this in the report itself. PS: The data is supplied by someone else so let's not get into a natural key debate here ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, May 07, 2009 11:55 PM To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 From ssharkins at gmail.com Fri May 8 12:02:33 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 8 May 2009 13:02:33 -0400 Subject: [AccessD] (was: Report with 3 column detail section) References: <003f01c9cf99$31d3cd80$957b6880$@net> <00d001c9cffd$d09dfc60$71d9f520$@net> Message-ID: <57FE357B8B4442D3AED469C45FBCE604@SusanOne> > > Issue I'm having is that with a 3 column report everything other than the > report header/footer and page header/footer goes into 3 columns. So I > can't > use the report's Sorting & Grouping to do this. ========John, I don't see why the column setup would make any difference. Doesn't forcing a page break after every record work -- or have I misunderstood what you're trying to do. Susan H. From jwcolby at colbyconsulting.com Fri May 8 12:50:24 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 08 May 2009 13:50:24 -0400 Subject: [AccessD] Experts Exchange is pay only Message-ID: <4A0470E0.8040503@colbyconsulting.com> Well for the first time I am now presented with a "pay up or get out" screen when I click on an Experts Exchange link. Not happening. Is there any way to cause Google to filter out all Experts Exchange links so I don't even see them. They are a ton of the responses that I get from my queries and there is no point in seeing them listed. -- John W. Colby www.ColbyConsulting.com From dbdoug at gmail.com Fri May 8 13:08:49 2009 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 8 May 2009 11:08:49 -0700 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0470E0.8040503@colbyconsulting.com> References: <4A0470E0.8040503@colbyconsulting.com> Message-ID: <4dd71a0c0905081108v6e8c090bu24e9013f1e24f75b@mail.gmail.com> Can I put in a recommendation for stackoverflow.com instead of experts exchange? You're a lot more likely to get a correct answer to any coding question there, and in minutes not hours. Doug Steele On Fri, May 8, 2009 at 10:50 AM, jwcolby wrote: > Well for the first time I am now presented with a "pay up or get out" > screen when I click on an > Experts Exchange link. Not happening. > > Is there any way to cause Google to filter out all Experts Exchange links > so I don't even see them. > They are a ton of the responses that I get from my queries and there is no > point in seeing them > listed. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fahooper at trapo.com Fri May 8 13:20:36 2009 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 08 May 2009 14:20:36 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0470E0.8040503@colbyconsulting.com> References: <4A0470E0.8040503@colbyconsulting.com> Message-ID: <4A0477F4.90806@trapo.com> Using google, you can eliminate hits with certain words with a minus (e.g. -foo) and you can limit to a site with "site:" (e.g. site:expertsexchange), so maybe combining them would work; you could try including -site:expertsexchange.com in your search string. Fred jwcolby wrote: > Well for the first time I am now presented with a "pay up or get out" screen when I click on an > Experts Exchange link. Not happening. > > Is there any way to cause Google to filter out all Experts Exchange links so I don't even see them. > They are a ton of the responses that I get from my queries and there is no point in seeing them > listed. > > From dbdoug at gmail.com Fri May 8 13:21:42 2009 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 8 May 2009 11:21:42 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4a045e94.0a1ad00a.2f9e.6307@mx.google.com> References: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> <178202E50E664A65937654C67F742420@creativesystemdesigns.com> <29f585dd0905080907g2fafe2e0k294f9c87572a9265@mail.gmail.com> <4a045e94.0a1ad00a.2f9e.6307@mx.google.com> Message-ID: <4dd71a0c0905081121x77f27200h30583a5fe07047a@mail.gmail.com> My programming path. Constructed of crazy paving: IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - RPG gap of approx 10 years IBM System 3 - RPG Commodore 64! Tandy 1000 PC compatible!! DBase ll DBase lll DBase lV ugh Borland Paradox Access version 1.1 etc. Doug Steele From dwaters at usinternet.com Fri May 8 13:32:59 2009 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 8 May 2009 13:32:59 -0500 Subject: [AccessD] (was: Report with 3 column detail section) In-Reply-To: <00d001c9cffd$d09dfc60$71d9f520$@net> References: <003f01c9cf99$31d3cd80$957b6880$@net> <00d001c9cffd$d09dfc60$71d9f520$@net> Message-ID: <9C30D1917DD4422FA8BCE2FE12B7CC18@danwaters> Hi John, You simply need a separate report that has only one column. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, May 08, 2009 11:56 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (was: Report with 3 column detail section) A follow up question: I now have my one page report looking just perfect - one customer order with 3 columns in the detail section. I now need to include the functionality to print all orders for a period with each order being on a separate page The customer 1->M order detail relationship uses the natural key of country/ordertype/custnumb. (I have to link to their data source so there is NO possibility of changing this.) Issue I'm having is that with a 3 column report everything other than the report header/footer and page header/footer goes into 3 columns. So I can't use the report's Sorting & Grouping to do this. First thought I had was to create a recordset and loop through it (filtering) the report to print only that natural key but I'd like to know if there is a method to do this in the report itself. PS: The data is supplied by someone else so let's not get into a natural key debate here ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, May 07, 2009 11:55 PM To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri May 8 13:44:20 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 8 May 2009 14:44:20 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0477F4.90806@trapo.com> References: <4A0470E0.8040503@colbyconsulting.com> <4A0477F4.90806@trapo.com> Message-ID: <648A5B4671A743C4BA58AEA75D312920@AMDXP> Re: Google--- I think this works, but I don't know how to make it permanent. -experts-exchange in the search words Jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper Sent: Friday, May 08, 2009 2:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only Using google, you can eliminate hits with certain words with a minus (e.g. -foo) and you can limit to a site with "site:" (e.g. site:expertsexchange), so maybe combining them would work; you could try including -site:expertsexchange.com in your search string. Fred jwcolby wrote: > Well for the first time I am now presented with a "pay up or get out" screen when I click on an > Experts Exchange link. Not happening. > > Is there any way to cause Google to filter out all Experts Exchange links so I don't even see them. > They are a ton of the responses that I get from my queries and there is no point in seeing them > listed. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri May 8 13:55:51 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 08 May 2009 14:55:51 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0477F4.90806@trapo.com> References: <4A0470E0.8040503@colbyconsulting.com> <4A0477F4.90806@trapo.com> Message-ID: <4A048037.4080202@colbyconsulting.com> I did that and it did eliminate the hits, however that means I have to manually do that whenever I do a search. Not convenient and not going to happen regularly. This is something Google probably doesn't really want you doing. 8( John W. Colby www.ColbyConsulting.com Fred Hooper wrote: > Using google, you can eliminate hits with certain words with a minus > (e.g. -foo) and you can limit to a site with "site:" (e.g. > site:expertsexchange), so maybe combining them would work; you could try > including -site:expertsexchange.com in your search string. > > Fred > > jwcolby wrote: >> Well for the first time I am now presented with a "pay up or get out" screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange links so I don't even see them. >> They are a ton of the responses that I get from my queries and there is no point in seeing them >> listed. >> >> From jwcolby at colbyconsulting.com Fri May 8 13:57:05 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 08 May 2009 14:57:05 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <648A5B4671A743C4BA58AEA75D312920@AMDXP> References: <4A0470E0.8040503@colbyconsulting.com> <4A0477F4.90806@trapo.com> <648A5B4671A743C4BA58AEA75D312920@AMDXP> Message-ID: <4A048081.2070509@colbyconsulting.com> yep it works, wish I could make it permanent. John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Re: Google--- I think this works, but I don't know how to make it permanent. > > -experts-exchange in the search words > > Jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: Friday, May 08, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Experts Exchange is pay only > > Using google, you can eliminate hits with certain words with a minus > (e.g. -foo) and you can limit to a site with "site:" (e.g. > site:expertsexchange), so maybe combining them would work; you could try > including -site:expertsexchange.com in your search string. > > Fred > > jwcolby wrote: >> Well for the first time I am now presented with a "pay up or get out" > screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange links > so I don't even see them. >> They are a ton of the responses that I get from my queries and there is > no point in seeing them >> listed. >> >> From EdTesiny at oasas.state.ny.us Fri May 8 14:18:25 2009 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Fri, 8 May 2009 15:18:25 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A048081.2070509@colbyconsulting.com> References: <4A0470E0.8040503@colbyconsulting.com> <4A0477F4.90806@trapo.com><648A5B4671A743C4BA58AEA75D312920@AMDXP> <4A048081.2070509@colbyconsulting.com> Message-ID: I think you could make it permanent in IE, if you add your minus experts, etc. to google advanced search and then make your default on opening IE the current page...I think Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 08, 2009 2:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only yep it works, wish I could make it permanent. John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Re: Google--- I think this works, but I don't know how to make it permanent. > > -experts-exchange in the search words > > Jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: Friday, May 08, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Experts Exchange is pay only > > Using google, you can eliminate hits with certain words with a minus > (e.g. -foo) and you can limit to a site with "site:" (e.g. > site:expertsexchange), so maybe combining them would work; you could > try including -site:expertsexchange.com in your search string. > > Fred > > jwcolby wrote: >> Well for the first time I am now presented with a "pay up or get out" > screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange >> links > so I don't even see them. >> They are a ton of the responses that I get from my queries and >> there is > no point in seeing them >> listed. >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri May 8 15:10:51 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 8 May 2009 13:10:51 -0700 Subject: [AccessD] (was: Report with 3 column detail section) In-Reply-To: <00d001c9cffd$d09dfc60$71d9f520$@net> References: <003f01c9cf99$31d3cd80$957b6880$@net> <00d001c9cffd$d09dfc60$71d9f520$@net> Message-ID: <9DD28803CBFA44BC80222E48F49C8BED@creativesystemdesigns.com> Hi John: Maybe the following is not the most sophisticated method but it works... every time. I am assuming that you are talking about a report that has a header and footer with a 3 column subtable. When the report starts, a public function is called from the report's open event. The function does the following: 1. Checks to see if a specific hidden table exists, if it does not, it creates it from template (handles multi-user issues) and if it does, clears any data. 2. The table has the equivalent of 3 columns. (Any configuration...) 3. The function now queries the data set and through a series of for/next loops populates the table. 4. The new table is used for the subtable. This technique works every time regardless of how complex of subtable that is required for the report display. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, May 08, 2009 9:56 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] (was: Report with 3 column detail section) A follow up question: I now have my one page report looking just perfect - one customer order with 3 columns in the detail section. I now need to include the functionality to print all orders for a period with each order being on a separate page The customer 1->M order detail relationship uses the natural key of country/ordertype/custnumb. (I have to link to their data source so there is NO possibility of changing this.) Issue I'm having is that with a 3 column report everything other than the report header/footer and page header/footer goes into 3 columns. So I can't use the report's Sorting & Grouping to do this. First thought I had was to create a recordset and loop through it (filtering) the report to print only that natural key but I'd like to know if there is a method to do this in the report itself. PS: The data is supplied by someone else so let's not get into a natural key debate here ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, May 07, 2009 11:55 PM To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri May 8 15:25:50 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 8 May 2009 13:25:50 -0700 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4dd71a0c0905081108v6e8c090bu24e9013f1e24f75b@mail.gmail.com> References: <4A0470E0.8040503@colbyconsulting.com> <4dd71a0c0905081108v6e8c090bu24e9013f1e24f75b@mail.gmail.com> Message-ID: <722E9660B3744AD7A101F58F69ED49C0@creativesystemdesigns.com> Hi Doug: Thanks for the tip. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, May 08, 2009 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only Can I put in a recommendation for stackoverflow.com instead of experts exchange? You're a lot more likely to get a correct answer to any coding question there, and in minutes not hours. Doug Steele On Fri, May 8, 2009 at 10:50 AM, jwcolby wrote: > Well for the first time I am now presented with a "pay up or get out" > screen when I click on an > Experts Exchange link. Not happening. > > Is there any way to cause Google to filter out all Experts Exchange links > so I don't even see them. > They are a ton of the responses that I get from my queries and there is no > point in seeing them > listed. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri May 8 15:28:47 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 8 May 2009 13:28:47 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4dd71a0c0905081121x77f27200h30583a5fe07047a@mail.gmail.com> References: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> <178202E50E664A65937654C67F742420@creativesystemdesigns.com> <29f585dd0905080907g2fafe2e0k294f9c87572a9265@mail.gmail.com> <4a045e94.0a1ad00a.2f9e.6307@mx.google.com> <4dd71a0c0905081121x77f27200h30583a5fe07047a@mail.gmail.com> Message-ID: Hi Doug: That path sounds very similar... just substitute IBM for PDP/VAX and it all sounds very familiar. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, May 08, 2009 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... My programming path. Constructed of crazy paving: IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - RPG gap of approx 10 years IBM System 3 - RPG Commodore 64! Tandy 1000 PC compatible!! DBase ll DBase lll DBase lV ugh Borland Paradox Access version 1.1 etc. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri May 8 15:31:57 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 8 May 2009 16:31:57 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: References: <4A0470E0.8040503@colbyconsulting.com><4A0477F4.90806@trapo.com><648A5B4671A743C4BA58AEA75D312920@AMDXP><4A048081.2070509@colbyconsulting.com> Message-ID: <6206DC10064E4DC98F67102096D41610@AMDXP> Yes, I agree with Ed. I used IE Advanced search and added "experts-exchange" (no quotes) on the unwanted words line. Seems to work fine with Advanced search. It stuffs the -experts-exchange into the search terms box. Still looking for something for FireFox. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Friday, May 08, 2009 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only I think you could make it permanent in IE, if you add your minus experts, etc. to google advanced search and then make your default on opening IE the current page...I think Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 08, 2009 2:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only yep it works, wish I could make it permanent. John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Re: Google--- I think this works, but I don't know how to make it permanent. > > -experts-exchange in the search words > > Jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: Friday, May 08, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Experts Exchange is pay only > > Using google, you can eliminate hits with certain words with a minus > (e.g. -foo) and you can limit to a site with "site:" (e.g. > site:expertsexchange), so maybe combining them would work; you could > try including -site:expertsexchange.com in your search string. > > Fred > > jwcolby wrote: >> Well for the first time I am now presented with a "pay up or get out" > screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange >> links > so I don't even see them. >> They are a ton of the responses that I get from my queries and >> there is > no point in seeing them >> listed. >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri May 8 15:43:00 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 8 May 2009 16:43:00 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <6206DC10064E4DC98F67102096D41610@AMDXP> References: <4A0470E0.8040503@colbyconsulting.com><4A0477F4.90806@trapo.com><648A5B4671A743C4BA58AEA75D312920@AMDXP><4A048081.2070509@colbyconsulting.com> <6206DC10064E4DC98F67102096D41610@AMDXP> Message-ID: <747A84823C2C4DBC9564CEECBCED4959@AMDXP> Duh! Senior' s moment. The Advanced search we're talking about is Google not IE and not FireFox. You can exclude "experts-exchange" by putting "experts-exchange" or "site:experts-exchange" into Google Advanced search's unwanted words textbox. It's Friday, I'll be OK soon. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, May 08, 2009 4:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Experts Exchange is pay only Yes, I agree with Ed. I used IE Advanced search and added "experts-exchange" (no quotes) on the unwanted words line. Seems to work fine with Advanced search. It stuffs the -experts-exchange into the search terms box. Still looking for something for FireFox. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Friday, May 08, 2009 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only I think you could make it permanent in IE, if you add your minus experts, etc. to google advanced search and then make your default on opening IE the current page...I think Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 08, 2009 2:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only yep it works, wish I could make it permanent. John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Re: Google--- I think this works, but I don't know how to make it permanent. > > -experts-exchange in the search words > > Jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: Friday, May 08, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Experts Exchange is pay only > > Using google, you can eliminate hits with certain words with a minus > (e.g. -foo) and you can limit to a site with "site:" (e.g. > site:expertsexchange), so maybe combining them would work; you could > try including -site:expertsexchange.com in your search string. > > Fred > > jwcolby wrote: >> Well for the first time I am now presented with a "pay up or get out" > screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange >> links > so I don't even see them. >> They are a ton of the responses that I get from my queries and >> there is > no point in seeing them >> listed. >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri May 8 16:26:16 2009 From: stephen at bondsoftware.co.nz (Stephen) Date: Sat, 09 May 2009 09:26:16 +1200 Subject: [AccessD] OT: ...end of line for Borland... Message-ID: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> Doug, IBM 1401 was AutoCoder ... yes?? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, 9 May 2009 8:31 a.m. To: Stephen Subject: Re: [AccessD] OT: ...end of line for Borland... Hi Doug: That path sounds very similar... just substitute IBM for PDP/VAX and it all sounds very familiar. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, May 08, 2009 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... My programming path. Constructed of crazy paving: IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - RPG gap of approx 10 years IBM System 3 - RPG Commodore 64! Tandy 1000 PC compatible!! DBase ll DBase lll DBase lV ugh Borland Paradox Access version 1.1 etc. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 8 16:31:26 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 8 May 2009 14:31:26 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> Message-ID: Any AutoSpot programmers? N/C language on the 1620 - I wrote post processors for it when I was in college. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Sent: Friday, May 08, 2009 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... Doug, IBM 1401 was AutoCoder ... yes?? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, 9 May 2009 8:31 a.m. To: Stephen Subject: Re: [AccessD] OT: ...end of line for Borland... Hi Doug: That path sounds very similar... just substitute IBM for PDP/VAX and it all sounds very familiar. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, May 08, 2009 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... My programming path. Constructed of crazy paving: IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - RPG gap of approx 10 years IBM System 3 - RPG Commodore 64! Tandy 1000 PC compatible!! DBase ll DBase lll DBase lV ugh Borland Paradox Access version 1.1 etc. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Fri May 8 16:39:25 2009 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 8 May 2009 14:39:25 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> Message-ID: <4dd71a0c0905081439u4dd3e5aft9eab55e1e4ec29dc@mail.gmail.com> That rings a very faint bell - long ago and far away... On Fri, May 8, 2009 at 2:26 PM, Stephen wrote: > Doug, IBM 1401 was AutoCoder ... yes?? > > Stephen Bond > > > From dbdoug at gmail.com Fri May 8 16:43:34 2009 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 8 May 2009 14:43:34 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: <4A021438.3111.47407DFB@stuart.lexacorp.com.pg> <264673C036514F51845CB2B97F3C0B38@creativesystemdesigns.com> <4A035247.18771.4C1AEA3E@stuart.lexacorp.com.pg> <178202E50E664A65937654C67F742420@creativesystemdesigns.com> <29f585dd0905080907g2fafe2e0k294f9c87572a9265@mail.gmail.com> <4a045e94.0a1ad00a.2f9e.6307@mx.google.com> <4dd71a0c0905081121x77f27200h30583a5fe07047a@mail.gmail.com> Message-ID: <4dd71a0c0905081443i8af796bk2bc9078dce25d087@mail.gmail.com> Yes, those were the days - I remember coding like a fiend, interrupted only when my mother would come and change my diaper.... On Fri, May 8, 2009 at 1:28 PM, Jim Lawrence wrote: > Hi Doug: > > That path sounds very similar... just substitute IBM for PDP/VAX and it all > sounds very familiar. > > From drawbridgej at sympatico.ca Fri May 8 17:45:50 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 8 May 2009 18:45:50 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> Message-ID: <8B95CBC73B28430E845509D3717C49F8@AMDXP> I remember the 1620 and some Fortran at night school in mid 60's. Later followed with a PDP11/05 and a letter-writer application using Macro11 including papertape reader. The PDP 11/45, 11/70 for Cobol development and testing before execution on IBM production (Service Bureau). I almost left out the brand new 370/155 at university in 70-71? WatFor, WatFive , PL/1, APL Wow time marches on....... jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 08, 2009 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... Any AutoSpot programmers? N/C language on the 1620 - I wrote post processors for it when I was in college. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Sent: Friday, May 08, 2009 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... Doug, IBM 1401 was AutoCoder ... yes?? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, 9 May 2009 8:31 a.m. To: Stephen Subject: Re: [AccessD] OT: ...end of line for Borland... Hi Doug: That path sounds very similar... just substitute IBM for PDP/VAX and it all sounds very familiar. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, May 08, 2009 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... My programming path. Constructed of crazy paving: IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - RPG gap of approx 10 years IBM System 3 - RPG Commodore 64! Tandy 1000 PC compatible!! DBase ll DBase lll DBase lV ugh Borland Paradox Access version 1.1 etc. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 8 18:04:28 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 8 May 2009 16:04:28 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <8B95CBC73B28430E845509D3717C49F8@AMDXP> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> <8B95CBC73B28430E845509D3717C49F8@AMDXP> Message-ID: <180D515E3EF9477EA6218B5837DF5E93@HAL9005> Between my sophomore and junior years they university got a 360/40. I hung with the engineers while they installed it and when September rolled around I was the only one on campus who knew how to run the machine. So I got to be systems manager - and actually got PAID for playing with that beauty. Had a couple hundred little bulbs on the front. So I used to turn off the lights at night, tune the radio to an AM frequency that picked up the machine's 'song', and watch the light show. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, May 08, 2009 3:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... I remember the 1620 and some Fortran at night school in mid 60's. Later followed with a PDP11/05 and a letter-writer application using Macro11 including papertape reader. The PDP 11/45, 11/70 for Cobol development and testing before execution on IBM production (Service Bureau). I almost left out the brand new 370/155 at university in 70-71? WatFor, WatFive , PL/1, APL Wow time marches on....... jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 08, 2009 5:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: ...end of line for Borland... Any AutoSpot programmers? N/C language on the 1620 - I wrote post processors for it when I was in college. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Sent: Friday, May 08, 2009 2:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... Doug, IBM 1401 was AutoCoder ... yes?? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, 9 May 2009 8:31 a.m. To: Stephen Subject: Re: [AccessD] OT: ...end of line for Borland... Hi Doug: That path sounds very similar... just substitute IBM for PDP/VAX and it all sounds very familiar. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, May 08, 2009 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... My programming path. Constructed of crazy paving: IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - RPG gap of approx 10 years IBM System 3 - RPG Commodore 64! Tandy 1000 PC compatible!! DBase ll DBase lll DBase lV ugh Borland Paradox Access version 1.1 etc. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From drawbridgej at sympatico.ca Fri May 8 18:21:52 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Fri, 8 May 2009 19:21:52 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <747A84823C2C4DBC9564CEECBCED4959@AMDXP> References: <4A0470E0.8040503@colbyconsulting.com><4A0477F4.90806@trapo.com><648A5B4671A743C4BA58AEA75D312920@AMDXP><4A048081.2070509@colbyconsulting.com><6206DC10064E4DC98F67102096D41610@AMDXP> <747A84823C2C4DBC9564CEECBCED4959@AMDXP> Message-ID: <90AD8D9793C64914B7CB58859A40DF94@AMDXP> Did some searching to find a way to make the -experts-exchange permanent. I tried lots of searches looking for a Filter (persistent) for Google -- thought maybe FireFox or IE may have something. I found a FoxFilter for FireFox -- couldn't get it to simply exclude experts-exchange. I did find that Google lets you create a Custom Search engine , which I did. Once set up it has a control panel option that lets you exclude specific sites or patterns. I have it excluding experts-exchange. Set it up as a desktop icon -- so it's permanent. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, May 08, 2009 4:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Experts Exchange is pay only Duh! Senior' s moment. The Advanced search we're talking about is Google not IE and not FireFox. You can exclude "experts-exchange" by putting "experts-exchange" or "site:experts-exchange" into Google Advanced search's unwanted words textbox. It's Friday, I'll be OK soon. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: Friday, May 08, 2009 4:32 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Experts Exchange is pay only Yes, I agree with Ed. I used IE Advanced search and added "experts-exchange" (no quotes) on the unwanted words line. Seems to work fine with Advanced search. It stuffs the -experts-exchange into the search terms box. Still looking for something for FireFox. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tesiny, Ed Sent: Friday, May 08, 2009 3:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only I think you could make it permanent in IE, if you add your minus experts, etc. to google advanced search and then make your default on opening IE the current page...I think Ed Tesiny EdTesiny at oasas.state.ny.us -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 08, 2009 2:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only yep it works, wish I could make it permanent. John W. Colby www.ColbyConsulting.com Jack and Pat wrote: > Re: Google--- I think this works, but I don't know how to make it permanent. > > -experts-exchange in the search words > > Jack > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Fred Hooper > Sent: Friday, May 08, 2009 2:21 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Experts Exchange is pay only > > Using google, you can eliminate hits with certain words with a minus > (e.g. -foo) and you can limit to a site with "site:" (e.g. > site:expertsexchange), so maybe combining them would work; you could > try including -site:expertsexchange.com in your search string. > > Fred > > jwcolby wrote: >> Well for the first time I am now presented with a "pay up or get out" > screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange >> links > so I don't even see them. >> They are a ton of the responses that I get from my queries and >> there is > no point in seeing them >> listed. >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Fri May 8 18:25:15 2009 From: dbdoug at gmail.com (Doug Steele) Date: Fri, 8 May 2009 16:25:15 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <180D515E3EF9477EA6218B5837DF5E93@HAL9005> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> <8B95CBC73B28430E845509D3717C49F8@AMDXP> <180D515E3EF9477EA6218B5837DF5E93@HAL9005> Message-ID: <4dd71a0c0905081625g7a7a3f93pc4194e84bf82c9f9@mail.gmail.com> And occasionally, an IBM engineer would turn up with a stack of 80 column cards that, when run, would make the 360 play a tune on the radio that sat on the cpu. On Fri, May 8, 2009 at 4:04 PM, Rocky Smolin wrote: > Between my sophomore and junior years they university got a 360/40. I hung > with the engineers while they installed it and when September rolled around > I was the only one on campus who knew how to run the machine. So I got to > be systems manager - and actually got PAID for playing with that beauty. > Had a couple hundred little bulbs on the front. So I used to turn off the > lights at night, tune the radio to an AM frequency that picked up the > machine's 'song', and watch the light show. > > > From jwcolby at colbyconsulting.com Fri May 8 20:32:49 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 08 May 2009 21:32:49 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <180D515E3EF9477EA6218B5837DF5E93@HAL9005> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> <8B95CBC73B28430E845509D3717C49F8@AMDXP> <180D515E3EF9477EA6218B5837DF5E93@HAL9005> Message-ID: <4A04DD41.10904@colbyconsulting.com> Hmmmm... sounds like you were into illicit substances... ;) John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > Between my sophomore and junior years they university got a 360/40. I hung > with the engineers while they installed it and when September rolled around > I was the only one on campus who knew how to run the machine. So I got to > be systems manager - and actually got PAID for playing with that beauty. > Had a couple hundred little bulbs on the front. So I used to turn off the > lights at night, tune the radio to an AM frequency that picked up the > machine's 'song', and watch the light show. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat > Sent: Friday, May 08, 2009 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: ...end of line for Borland... > > I remember the 1620 and some Fortran at night school in mid 60's. Later > followed with a PDP11/05 and a letter-writer application using Macro11 > including papertape reader. The PDP 11/45, 11/70 for Cobol development and > testing before execution on IBM production (Service Bureau). I almost left > out the brand new 370/155 at university in 70-71? WatFor, WatFive , PL/1, > APL Wow time marches on....... > > jack > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Friday, May 08, 2009 5:31 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: ...end of line for Borland... > > Any AutoSpot programmers? N/C language on the 1620 - I wrote post > processors for it when I was in college. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen > Sent: Friday, May 08, 2009 2:26 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: ...end of line for Borland... > > Doug, IBM 1401 was AutoCoder ... yes?? > > Stephen Bond > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Saturday, 9 May 2009 8:31 a.m. > To: Stephen > Subject: Re: [AccessD] OT: ...end of line for Borland... > > Hi Doug: > > That path sounds very similar... just substitute IBM for PDP/VAX and it all > sounds very familiar. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Friday, May 08, 2009 11:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: ...end of line for Borland... > > My programming path. Constructed of crazy paving: > > IBM 1401 (can't remember the language) > IBM 360 - COBOL > IBM System 36 - RPG > gap of approx 10 years > IBM System 3 - RPG > Commodore 64! > Tandy 1000 PC compatible!! > DBase ll > DBase lll > DBase lV ugh > Borland Paradox > Access version 1.1 > etc. > > > Doug Steele > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Fri May 8 20:34:54 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 08 May 2009 21:34:54 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4dd71a0c0905081625g7a7a3f93pc4194e84bf82c9f9@mail.gmail.com> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> <8B95CBC73B28430E845509D3717C49F8@AMDXP> <180D515E3EF9477EA6218B5837DF5E93@HAL9005> <4dd71a0c0905081625g7a7a3f93pc4194e84bf82c9f9@mail.gmail.com> Message-ID: <4A04DDBE.5090800@colbyconsulting.com> And let's not forget the naked lady picture created out of lines of different letters and characters. John W. Colby www.ColbyConsulting.com Doug Steele wrote: > And occasionally, an IBM engineer would turn up with a stack of 80 column > cards that, when run, would make the 360 play a tune on the radio that sat > on the cpu. > > On Fri, May 8, 2009 at 4:04 PM, Rocky Smolin wrote: > >> Between my sophomore and junior years they university got a 360/40. I hung >> with the engineers while they installed it and when September rolled around >> I was the only one on campus who knew how to run the machine. So I got to >> be systems manager - and actually got PAID for playing with that beauty. >> Had a couple hundred little bulbs on the front. So I used to turn off the >> lights at night, tune the radio to an AM frequency that picked up the >> machine's 'song', and watch the light show. >> >> >> From stuart at lexacorp.com.pg Fri May 8 20:50:47 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 09 May 2009 11:50:47 +1000 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4A04DDBE.5090800@colbyconsulting.com> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local>, <4dd71a0c0905081625g7a7a3f93pc4194e84bf82c9f9@mail.gmail.com>, <4A04DDBE.5090800@colbyconsulting.com> Message-ID: <4A04E177.9991.52323CA2@stuart.lexacorp.com.pg> Youmean like these? http://www.chris.com/ASCII/art/html/nakedladies.html :-) On 8 May 2009 at 21:34, jwcolby wrote: > And let's not forget the naked lady picture created out of lines of different letters and characters. > > John W. Colby > www.ColbyConsulting.com > > > Doug Steele wrote: > > And occasionally, an IBM engineer would turn up with a stack of 80 column > > cards that, when run, would make the 360 play a tune on the radio that sat > > on the cpu. > > > > On Fri, May 8, 2009 at 4:04 PM, Rocky Smolin wrote: > > > >> Between my sophomore and junior years they university got a 360/40. I hung > >> with the engineers while they installed it and when September rolled around > >> I was the only one on campus who knew how to run the machine. So I got to > >> be systems manager - and actually got PAID for playing with that beauty. > >> Had a couple hundred little bulbs on the front. So I used to turn off the > >> lights at night, tune the radio to an AM frequency that picked up the > >> machine's 'song', and watch the light show. > >> > >> > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 8 22:32:49 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 8 May 2009 20:32:49 -0700 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4A04DD41.10904@colbyconsulting.com> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local> <8B95CBC73B28430E845509D3717C49F8@AMDXP><180D515E3EF9477EA6218B5837DF5E93@HAL9005> <4A04DD41.10904@colbyconsulting.com> Message-ID: It was 1968. That's all I'm sayin'... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 08, 2009 6:33 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: ...end of line for Borland... Hmmmm... sounds like you were into illicit substances... ;) John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > Between my sophomore and junior years they university got a 360/40. I > hung with the engineers while they installed it and when September > rolled around I was the only one on campus who knew how to run the > machine. So I got to be systems manager - and actually got PAID for playing with that beauty. > Had a couple hundred little bulbs on the front. So I used to turn off > the lights at night, tune the radio to an AM frequency that picked up > the machine's 'song', and watch the light show. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and > Pat > Sent: Friday, May 08, 2009 3:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: ...end of line for Borland... > > I remember the 1620 and some Fortran at night school in mid 60's. > Later followed with a PDP11/05 and a letter-writer application using > Macro11 including papertape reader. The PDP 11/45, 11/70 for Cobol > development and testing before execution on IBM production (Service > Bureau). I almost left out the brand new 370/155 at university in > 70-71? WatFor, WatFive , PL/1, APL Wow time marches on....... > > jack > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin > Sent: Friday, May 08, 2009 5:31 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: ...end of line for Borland... > > Any AutoSpot programmers? N/C language on the 1620 - I wrote post > processors for it when I was in college. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen > Sent: Friday, May 08, 2009 2:26 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: ...end of line for Borland... > > Doug, IBM 1401 was AutoCoder ... yes?? > > Stephen Bond > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim > Lawrence > Sent: Saturday, 9 May 2009 8:31 a.m. > To: Stephen > Subject: Re: [AccessD] OT: ...end of line for Borland... > > Hi Doug: > > That path sounds very similar... just substitute IBM for PDP/VAX and > it all sounds very familiar. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Friday, May 08, 2009 11:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: ...end of line for Borland... > > My programming path. Constructed of crazy paving: > > IBM 1401 (can't remember the language) IBM 360 - COBOL IBM System 36 - > RPG > gap of approx 10 years > IBM System 3 - RPG > Commodore 64! > Tandy 1000 PC compatible!! > DBase ll > DBase lll > DBase lV ugh > Borland Paradox > Access version 1.1 > etc. > > > Doug Steele > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Sat May 9 03:30:23 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Sat, 9 May 2009 14:00:23 +0530 Subject: [AccessD] (was: Report with 3 column detail section) References: <003f01c9cf99$31d3cd80$957b6880$@net> <00d001c9cffd$d09dfc60$71d9f520$@net> Message-ID: <004401c9d080$aece0b60$1d5ea27a@personald6374f> John, Two of my sample db's, as mentioned below, might be of interest to you: (a) Report_WithColumnHeaders (b) SubReportTwoColBalanced These are available at Rogers Access Library. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Report_WithColumnHeaders, mentioned at (a) above, demonstrates a three column report having group-wise column headers as well as page break after each group. Both styles of column layout, i.e. Across and then Down (A&D) as well as Down and then Across (D&A) are shown. Coming to your first post, if A&D layout is adopted, the columns get automatically balanced in a report as well as subreport. No special treatment is needed. However, if there are compelling reasons to adhere to D&A layout, SubReportTwoColBalanced, mentioned at (b) above, demonstrates balancing of subreport's column heights despite adoption of D&A layout. It takes care of subreports larger than one page and covers both situations as follows: (1) Straight content (no group levels). (2) Grouped content - This calls for balancing of columns within each group. Both samples are in Access 2000 file format. Further details are given in accompanying explanatory notes. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: John Bartow To: 'Access Developers discussion and problem solving' Sent: Friday, May 08, 2009 22:25 Subject: [AccessD] (was: Report with 3 column detail section) A follow up question: I now have my one page report looking just perfect - one customer order with 3 columns in the detail section. I now need to include the functionality to print all orders for a period with each order being on a separate page The customer 1->M order detail relationship uses the natural key of country/ordertype/custnumb. (I have to link to their data source so there is NO possibility of changing this.) Issue I'm having is that with a 3 column report everything other than the report header/footer and page header/footer goes into 3 columns. So I can't use the report's Sorting & Grouping to do this. First thought I had was to create a recordset and loop through it (filtering) the report to print only that natural key but I'd like to know if there is a method to do this in the report itself. PS: The data is supplied by someone else so let's not get into a natural key debate here ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, May 07, 2009 11:55 PM To: _DBA-Access Subject: [AccessD] Report with 3 column detail section I need to create a report that has page wide header info, page wide footer info and a 3 column detail section. I create the order detail report using a page setup of 3 columns -works fine. I placed the detail report into the detail section of the main report but it only displays one column. Can I have a report with a 3 column sub report in the detail section? If so how do I get the sub report to show all 3 columns? A2k3 From kismert at gmail.com Sat May 9 12:00:19 2009 From: kismert at gmail.com (Kenneth Ismert) Date: Sat, 9 May 2009 12:00:19 -0500 Subject: [AccessD] Experts Exchange is pay only Message-ID: <7c7841600905091000t266da157id324206054fbb1b5@mail.gmail.com> expertsexchange.com -- I thought that was a gender-reassignment surgery site. -Ken From jimdettman at verizon.net Sat May 9 12:24:25 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Sat, 09 May 2009 13:24:25 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <7c7841600905091000t266da157id324206054fbb1b5@mail.gmail.com> References: <7c7841600905091000t266da157id324206054fbb1b5@mail.gmail.com> Message-ID: <573531F0B9F944F898F20FCE317ABFBE@XPS> That's why they put the hyphen in it The correct URL is: www.experts-exchange.com Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kenneth Ismert Sent: Saturday, May 09, 2009 1:00 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Experts Exchange is pay only expertsexchange.com -- I thought that was a gender-reassignment surgery site. -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat May 9 21:53:13 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 09 May 2009 22:53:13 -0400 Subject: [AccessD] OT: ...end of line for Borland... In-Reply-To: <4A04E177.9991.52323CA2@stuart.lexacorp.com.pg> References: <569E08FC48047F4F848850B118195FBE038560@server.BondSoftware.local>, <4dd71a0c0905081625g7a7a3f93pc4194e84bf82c9f9@mail.gmail.com>, <4A04DDBE.5090800@colbyconsulting.com> <4A04E177.9991.52323CA2@stuart.lexacorp.com.pg> Message-ID: <4A064199.70509@colbyconsulting.com> yep, them's the ones. John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > Youmean like these? > http://www.chris.com/ASCII/art/html/nakedladies.html > > :-) > > > On 8 May 2009 at 21:34, jwcolby wrote: > >> And let's not forget the naked lady picture created out of lines of different letters and characters. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Doug Steele wrote: >>> And occasionally, an IBM engineer would turn up with a stack of 80 column >>> cards that, when run, would make the 360 play a tune on the radio that sat >>> on the cpu. >>> >>> On Fri, May 8, 2009 at 4:04 PM, Rocky Smolin wrote: >>> >>>> Between my sophomore and junior years they university got a 360/40. I hung >>>> with the engineers while they installed it and when September rolled around >>>> I was the only one on campus who knew how to run the machine. So I got to >>>> be systems manager - and actually got PAID for playing with that beauty. >>>> Had a couple hundred little bulbs on the front. So I used to turn off the >>>> lights at night, tune the radio to an AM frequency that picked up the >>>> machine's 'song', and watch the light show. >>>> >>>> >>>> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From max.wanadoo at gmail.com Sun May 10 03:34:24 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 10 May 2009 09:34:24 +0100 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <49FB3D8B.3050800@colbyconsulting.com> References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> Message-ID: <4a069192.0702d00a.41e6.15aa@mx.google.com> Can anybody recommend any suitable methods of carrying out skills assessment and/or testing for MS Access with regard to employing new staff. Thanks - any pointers would be appreciated. Max From jwcolby at colbyconsulting.com Sun May 10 07:07:48 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 10 May 2009 08:07:48 -0400 Subject: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing In-Reply-To: <4a069192.0702d00a.41e6.15aa@mx.google.com> References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> <4a069192.0702d00a.41e6.15aa@mx.google.com> Message-ID: <4A06C394.8050506@colbyconsulting.com> Well, you could avoid all of that and just hire me! ;) John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Can anybody recommend any suitable methods of carrying out skills assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > From dwaters at usinternet.com Sun May 10 09:50:27 2009 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 10 May 2009 09:50:27 -0500 Subject: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing In-Reply-To: <4A06C394.8050506@colbyconsulting.com> References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com><4a069192.0702d00a.41e6.15aa@mx.google.com> <4A06C394.8050506@colbyconsulting.com> Message-ID: <8D0B2FB72BA945D2939CB6C3B0197777@danwaters> Good skills and a quick salesman! Max - sounds like a good catch - better hurry! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, May 10, 2009 7:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing Well, you could avoid all of that and just hire me! ;) John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Can anybody recommend any suitable methods of carrying out skills assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun May 10 14:06:44 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 May 2009 12:06:44 -0700 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4a069192.0702d00a.41e6.15aa@mx.google.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> <4a069192.0702d00a.41e6.15aa@mx.google.com> Message-ID: <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com> Hi Max: Depending on what level of expertise you need you could use the linked PDF file as a reference point: http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf Jim PS Mr. JC already surpasses that list handily... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Sunday, May 10, 2009 1:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access Skills Assessment and Testing Can anybody recommend any suitable methods of carrying out skills assessment and/or testing for MS Access with regard to employing new staff. Thanks - any pointers would be appreciated. Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun May 10 14:51:10 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 10 May 2009 20:51:10 +0100 Subject: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing In-Reply-To: <8D0B2FB72BA945D2939CB6C3B0197777@danwaters> References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com><4a069192.0702d00a.41e6.15aa@mx.google.com> <4A06C394.8050506@colbyconsulting.com> <8D0B2FB72BA945D2939CB6C3B0197777@danwaters> Message-ID: <4a073032.0aaa660a.0e92.ffff8767@mx.google.com> Ha! John, come over. Your hired - sight unseen but skills well known! Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 10 May 2009 15:50 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing Good skills and a quick salesman! Max - sounds like a good catch - better hurry! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, May 10, 2009 7:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing Well, you could avoid all of that and just hire me! ;) John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Can anybody recommend any suitable methods of carrying out skills assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sun May 10 15:22:35 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sun, 10 May 2009 21:22:35 +0100 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> <4a069192.0702d00a.41e6.15aa@mx.google.com> <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com> Message-ID: <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> That is interesting Jim, but what I am after is some tests (or whatever) that I can ask candidates to do so that I can feel confident that their skills in ms access is at level x, or y, or z etc. Can you help with that please? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 10 May 2009 20:07 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MS Access Skills Assessment and Testing Hi Max: Depending on what level of expertise you need you could use the linked PDF file as a reference point: http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf Jim PS Mr. JC already surpasses that list handily... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Sunday, May 10, 2009 1:34 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] MS Access Skills Assessment and Testing Can anybody recommend any suitable methods of carrying out skills assessment and/or testing for MS Access with regard to employing new staff. Thanks - any pointers would be appreciated. Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun May 10 16:15:30 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 11 May 2009 07:15:30 +1000 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> References: , <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com>, <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> Message-ID: <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> Give them Northwind.msb and quarter of an hour or so to list as many flaws/ examples of bad practice etc as they can find? On 10 May 2009 at 21:22, Max Wanadoo wrote: > That is interesting Jim, but what I am after is some tests (or whatever) > that I can ask candidates to do so that I can feel confident that their > skills in ms access is at level x, or y, or z etc. > > Can you help with that please? > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 10 May 2009 20:07 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max: > > Depending on what level of expertise you need you could use the linked PDF > file as a reference point: > http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf > > Jim > > PS Mr. JC already surpasses that list handily... > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Sunday, May 10, 2009 1:34 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] MS Access Skills Assessment and Testing > > Can anybody recommend any suitable methods of carrying out skills assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at sc.rr.com Sun May 10 17:48:27 2009 From: bheid at sc.rr.com (Bobby Heid) Date: Sun, 10 May 2009 18:48:27 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> References: , <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com>, <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> Message-ID: <003001c9d1c1$6ef345e0$4cd9d1a0$@rr.com> If I was the one applying for this job and I got that, I'd think twice about accepting employment. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, May 10, 2009 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing Give them Northwind.msb and quarter of an hour or so to list as many flaws/ examples of bad practice etc as they can find? On 10 May 2009 at 21:22, Max Wanadoo wrote: > That is interesting Jim, but what I am after is some tests (or whatever) > that I can ask candidates to do so that I can feel confident that their > skills in ms access is at level x, or y, or z etc. > > Can you help with that please? > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 10 May 2009 20:07 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max: > > Depending on what level of expertise you need you could use the linked PDF > file as a reference point: > http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf > > Jim > > PS Mr. JC already surpasses that list handily... > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Sunday, May 10, 2009 1:34 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] MS Access Skills Assessment and Testing > > Can anybody recommend any suitable methods of carrying out skills assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun May 10 20:04:30 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 10 May 2009 21:04:30 -0400 Subject: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing In-Reply-To: <4a073032.0aaa660a.0e92.ffff8767@mx.google.com> References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com><4a069192.0702d00a.41e6.15aa@mx.google.com> <4A06C394.8050506@colbyconsulting.com> <8D0B2FB72BA945D2939CB6C3B0197777@danwaters> <4a073032.0aaa660a.0e92.ffff8767@mx.google.com> Message-ID: <4A07799E.9050006@colbyconsulting.com> OK. I need a move package of course. ;) John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Ha! John, come over. Your hired - sight unseen but skills well known! > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 10 May 2009 15:50 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing > > Good skills and a quick salesman! > > Max - sounds like a good catch - better hurry! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, May 10, 2009 7:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing > > Well, you could avoid all of that and just hire me! > > ;) > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: >> Can anybody recommend any suitable methods of carrying out skills > assessment >> and/or testing for MS Access with regard to employing new staff. >> >> Thanks - any pointers would be appreciated. >> >> Max >> >> From jwcolby at colbyconsulting.com Sun May 10 20:06:48 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 10 May 2009 21:06:48 -0400 Subject: [AccessD] SPAM-LOW: Re: MS Access Skills Assessment and Testing In-Reply-To: <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> References: , <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com>, <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> Message-ID: <4A077A28.4090901@colbyconsulting.com> ROTFL. That is a good test. John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > Give them Northwind.msb and quarter of an hour or so to list as many flaws/ examples of > bad practice etc as they can find? > > > On 10 May 2009 at 21:22, Max Wanadoo wrote: > >> That is interesting Jim, but what I am after is some tests (or whatever) >> that I can ask candidates to do so that I can feel confident that their >> skills in ms access is at level x, or y, or z etc. >> >> Can you help with that please? >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >> Sent: 10 May 2009 20:07 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MS Access Skills Assessment and Testing >> >> Hi Max: >> >> Depending on what level of expertise you need you could use the linked PDF >> file as a reference point: >> http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf >> >> Jim >> >> PS Mr. JC already surpasses that list handily... >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo >> Sent: Sunday, May 10, 2009 1:34 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] MS Access Skills Assessment and Testing >> >> Can anybody recommend any suitable methods of carrying out skills assessment >> and/or testing for MS Access with regard to employing new staff. >> >> Thanks - any pointers would be appreciated. >> >> Max >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From jwcolby at colbyconsulting.com Sun May 10 20:16:06 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 10 May 2009 21:16:06 -0400 Subject: [AccessD] SPAM-LOW: Re: MS Access Skills Assessment and Testing In-Reply-To: <003001c9d1c1$6ef345e0$4cd9d1a0$@rr.com> References: , <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com>, <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> <003001c9d1c1$6ef345e0$4cd9d1a0$@rr.com> Message-ID: <4A077C56.5060109@colbyconsulting.com> LOL. I think that is a pretty good test. Northwind is a wonderful example of how to do things the "power user" way, and an absolutely abysmal example of how to do things the professional way. I am sure many of us have had to come in and rescue (or rewrite) a NorthWind. John W. Colby www.ColbyConsulting.com Bobby Heid wrote: > If I was the one applying for this job and I got that, I'd think twice about > accepting employment. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Sunday, May 10, 2009 5:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Give them Northwind.msb and quarter of an hour or so to list as many flaws/ > examples of > bad practice etc as they can find? > > > On 10 May 2009 at 21:22, Max Wanadoo wrote: > >> That is interesting Jim, but what I am after is some tests (or whatever) >> that I can ask candidates to do so that I can feel confident that their >> skills in ms access is at level x, or y, or z etc. >> >> Can you help with that please? >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >> Sent: 10 May 2009 20:07 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MS Access Skills Assessment and Testing >> >> Hi Max: >> >> Depending on what level of expertise you need you could use the linked PDF >> file as a reference point: >> > http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf >> Jim >> >> PS Mr. JC already surpasses that list handily... >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo >> Sent: Sunday, May 10, 2009 1:34 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] MS Access Skills Assessment and Testing >> >> Can anybody recommend any suitable methods of carrying out skills > assessment >> and/or testing for MS Access with regard to employing new staff. >> >> Thanks - any pointers would be appreciated. >> >> Max >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From accessd at shaw.ca Sun May 10 20:30:02 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 May 2009 18:30:02 -0700 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> References: <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com> <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> Message-ID: <9F19791214E94265A971B7CFF96F8143@creativesystemdesigns.com> Good one... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, May 10, 2009 2:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing Give them Northwind.msb and quarter of an hour or so to list as many flaws/ examples of bad practice etc as they can find? On 10 May 2009 at 21:22, Max Wanadoo wrote: > That is interesting Jim, but what I am after is some tests (or whatever) > that I can ask candidates to do so that I can feel confident that their > skills in ms access is at level x, or y, or z etc. > > Can you help with that please? > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: 10 May 2009 20:07 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max: > > Depending on what level of expertise you need you could use the linked PDF > file as a reference point: > http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf > > Jim > > PS Mr. JC already surpasses that list handily... > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Sunday, May 10, 2009 1:34 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] MS Access Skills Assessment and Testing > > Can anybody recommend any suitable methods of carrying out skills assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun May 10 20:31:24 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 May 2009 18:31:24 -0700 Subject: [AccessD] SPAM-LOW: Re: MS Access Skills Assessment and Testing In-Reply-To: <4A077C56.5060109@colbyconsulting.com> References: <1293ABAC9478477CBBD0CD8A7B7CBF41@creativesystemdesigns.com> <4a07378d.0a1ad00a.1beb.ffffd84c@mx.google.com> <4A0743F2.7110.5B82EFFA@stuart.lexacorp.com.pg> <003001c9d1c1$6ef345e0$4cd9d1a0$@rr.com> <4A077C56.5060109@colbyconsulting.com> Message-ID: <7A51D6942D3B443AA5439233D311E928@creativesystemdesigns.com> Well said... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Sunday, May 10, 2009 6:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SPAM-LOW: Re: MS Access Skills Assessment and Testing LOL. I think that is a pretty good test. Northwind is a wonderful example of how to do things the "power user" way, and an absolutely abysmal example of how to do things the professional way. I am sure many of us have had to come in and rescue (or rewrite) a NorthWind. John W. Colby www.ColbyConsulting.com Bobby Heid wrote: > If I was the one applying for this job and I got that, I'd think twice about > accepting employment. > > Bobby > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Sunday, May 10, 2009 5:16 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Give them Northwind.msb and quarter of an hour or so to list as many flaws/ > examples of > bad practice etc as they can find? > > > On 10 May 2009 at 21:22, Max Wanadoo wrote: > >> That is interesting Jim, but what I am after is some tests (or whatever) >> that I can ask candidates to do so that I can feel confident that their >> skills in ms access is at level x, or y, or z etc. >> >> Can you help with that please? >> >> Max >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence >> Sent: 10 May 2009 20:07 >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] MS Access Skills Assessment and Testing >> >> Hi Max: >> >> Depending on what level of expertise you need you could use the linked PDF >> file as a reference point: >> > http://www.databaseadvisors.com/downloads/danwaters/psiacccessskillzones.pdf >> Jim >> >> PS Mr. JC already surpasses that list handily... >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo >> Sent: Sunday, May 10, 2009 1:34 AM >> To: 'Access Developers discussion and problem solving' >> Subject: [AccessD] MS Access Skills Assessment and Testing >> >> Can anybody recommend any suitable methods of carrying out skills > assessment >> and/or testing for MS Access with regard to employing new staff. >> >> Thanks - any pointers would be appreciated. >> >> Max >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Sun May 10 20:43:05 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Mon, 11 May 2009 11:43:05 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice Message-ID: Hi All, The last year and a half or so I have learnt more and more about SQL Db and working with Access FE against SQL BE. I've started using ADO recordset returned from SQL as record source for combo boxes, list boxes and view forms. Recently I started re-working some Reports on an existing application made to run against SQL db that I've taken over maintenance for. These reports run sort of OK as they are - using existing Access queries against ODBC linked tables. But: For example one report use as record source an SQL string on one table with no criteria filter. The filter is placed on opening of the report, like this example: DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & Me.subfrmChildDetails.Form.ChildID & "'" Is that a good practice - in regards to multi user setup and network traffic? I've read somewhere that Access in retrieving query results not necessarily brings across from the network store all of the columns in the table(s) but only the indexes it requires in order filter out the query result, which is then brought across the network to the FrontEnd. With a docmd statement as the above, does it work as if the filter was part of the report record source SQL Access query string - or does the report open, then pull in all records based on the Access query string, then filters the query result before displaying ??? If it's the latter, wouldn't it be better to build the record source query on the fly - so that only the subset of records are brought across the network and displayed ?? Further, how can we best utilise the SQL Db to provide only subset of data for reports? I've tried to use as record source for a report an ADO record set created by the SQL Db and served to the Frontend - but that doesn't appear to work for reports. Have I missed something here, or can you people confirm that this is the case: as record source for reports with SQL Db as backend we can only use ODBC linked tables and access queries based on ODBC linked tables ??? regards borge From prodevmg at yahoo.com Sun May 10 20:49:18 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sun, 10 May 2009 18:49:18 -0700 (PDT) Subject: [AccessD] Can I open outlook messages from Access? Message-ID: <660841.19826.qm@web110202.mail.gq1.yahoo.com> I am creating an app for a friend. He wants to see his task, emails and appointments in an Access form. I was able to do that. What he wants to do now is double click on one of the emails in a continuous form I build and the email actually opens. Does anyone have code for that?? ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us From anitatiedemann at gmail.com Sun May 10 22:46:29 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Mon, 11 May 2009 13:46:29 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: Borge, I mainly use SQL as back end to Access these days. This is my approach: 1. Use an Access Project - connected to an SQL Server database using "File/Connection" 2. Use Stored Procedures as Form and Report Recordsources 3. Filter the Forms/Reports by using the [Input Parameter] property - this parameter is passed to the stored procedure that the form/report is based on thereby giving you a perfect filter. Example: Form: frmCustomer Stored Procedure: spCustomers is set as the recordsource Procedure spCustomers (@CustomerID int) as Select * FROM Customers WHERE CustomerID = @CustomerID frmCustomer has the Input Parameter property set to =CurrCust() CurrCust is a property I set before just before i open the Customer Form. When frmCustomers open it will pass the input parameter CurrCust() to the stored procedure and the form will be filtered to 1 customer only. Hope this helps a bit. Anita Smith Anita Smith On Mon, May 11, 2009 at 11:43 AM, Borge Hansen wrote: > Hi All, > > The last year and a half or so I have learnt more and more about SQL Db and > working with Access FE against SQL BE. > > I've started using ADO recordset returned from SQL as record source for > combo boxes, list boxes and view forms. > > Recently I started re-working some Reports on an existing application made > to run against SQL db that I've taken over maintenance for. > > These reports run sort of OK as they are - using existing Access queries > against ODBC linked tables. > > But: > For example one report use as record source an SQL string on one table with > no criteria filter. > > The filter is placed on opening of the report, like this example: > > DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & > Me.subfrmChildDetails.Form.ChildID & "'" > > Is that a good practice - in regards to multi user setup and network > traffic? > > I've read somewhere that Access in retrieving query results not necessarily > brings across from the network store all of the columns in the table(s) but > only the indexes it requires in order filter out the query result, which is > then brought across the network to the FrontEnd. > > With a docmd statement as the above, does it work as if the filter was part > of the report record source SQL Access query string - or does the report > open, then pull in all records based on the Access query string, then > filters the query result before displaying ??? > > If it's the latter, wouldn't it be better to build the record source query > on the fly - so that only the subset of records are brought across the > network and displayed ?? > > Further, how can we best utilise the SQL Db to provide only subset of data > for reports? > > I've tried to use as record source for a report an ADO record set created > by > the SQL Db and served to the Frontend - but that doesn't appear to work for > reports. > > Have I missed something here, or can you people confirm that this is the > case: as record source for reports with SQL Db as backend we can only use > ODBC linked tables and access queries based on ODBC linked tables ??? > > regards > borge > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From darren at activebilling.com.au Sun May 10 23:48:42 2009 From: darren at activebilling.com.au (Darren D) Date: Mon, 11 May 2009 14:48:42 +1000 Subject: [AccessD] Can I open outlook messages from Access? In-Reply-To: <660841.19826.qm@web110202.mail.gq1.yahoo.com> References: <660841.19826.qm@web110202.mail.gq1.yahoo.com> Message-ID: <01eb01c9d1f3$c7429f20$131b910a@denzilnote> Hi Lonnie Outlook Calendar items (appointments) have a PK type of thing called the EntryID If you know that you can open the relevant outlook item EG - This is what I use to open Calendar items (Appointments) You should be able to use this to open all sorts of outlook items if you know the relevant EntryID Hope this helps ~~~~~~~~~~~ Function f_FindOutlookAppointment(xstrEntryID As String) On Error GoTo Err_ Dim ol As Outlook.Application Dim olns As NameSpace Dim objFolder As Object Dim StoreID As String Dim AllAppts As Outlook.Items Dim Item As Object Dim strFind As String Set ol = New Outlook.Application Set olns = ol.GetNamespace("MAPI") Set objFolder = olns.GetDefaultFolder(olFolderCalendar) StoreID = objFolder.StoreID Set AllAppts = objFolder.Items strEntryID = xstrEntryID Set Item = olns.GetItemFromID(strEntryID, StoreID) Item.Display Set ol = Nothing Set olns = Nothing Set objFolder = Nothing Set AllAppts = Nothing Exit_: Exit Function Err_: If Err.Number = -1871445753 Then MsgBox "Please ensure Outlook is open", vbInformation, "Cannot retrieve Outlook Item" ElseIf -1629224689 Then 'Can't find item - probably deleted MsgBox "Sorry - I can't find that Outlook item." & vbCrLf & vbCrLf _ & "It appears to have been deleted from the Outlook Calendar", vbQuestion + vbYesNo, "Error Retrieving Outlook Calendar Item Else MsgBox Err.Number & " " & Err.Description, vbCritical, "Error Retrieving Outlook Calendar Item" End If Resume Exit_ End Function ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, 11 May 2009 11:49 AM To: AccessD solving' Subject: [AccessD] Can I open outlook messages from Access? I am creating an app for a friend. He wants to see his task, emails and appointments in an Access form. I was able to do that. What he wants to do now is double click on one of the emails in a continuous form I build and the email actually opens. Does anyone have code for that?? ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon May 11 00:05:15 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 May 2009 22:05:15 -0700 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: <96AFA62106944B65A58C7F1A5911ED40@creativesystemdesigns.com> You can always try the technique of using ADO-OLE to acquire data directly from the SQL BE and dumping the contents into a temporary DB built to feed a report...very fast and no filters or ODBC. Check out link: http://www.databaseadvisors.com/newsletters/newsletter112003/0311UnboundRepo rts.asp The demo is bit dated as it is built around MS Access 2000 and MS SQL 2000 but the basics have not changed. (Could process 50,000 plus records in 1.7 seconds on a 60+ user application.) HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, May 10, 2009 6:43 PM To: Access Developers discussion and problem solving Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice Hi All, The last year and a half or so I have learnt more and more about SQL Db and working with Access FE against SQL BE. I've started using ADO recordset returned from SQL as record source for combo boxes, list boxes and view forms. Recently I started re-working some Reports on an existing application made to run against SQL db that I've taken over maintenance for. These reports run sort of OK as they are - using existing Access queries against ODBC linked tables. But: For example one report use as record source an SQL string on one table with no criteria filter. The filter is placed on opening of the report, like this example: DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & Me.subfrmChildDetails.Form.ChildID & "'" Is that a good practice - in regards to multi user setup and network traffic? I've read somewhere that Access in retrieving query results not necessarily brings across from the network store all of the columns in the table(s) but only the indexes it requires in order filter out the query result, which is then brought across the network to the FrontEnd. With a docmd statement as the above, does it work as if the filter was part of the report record source SQL Access query string - or does the report open, then pull in all records based on the Access query string, then filters the query result before displaying ??? If it's the latter, wouldn't it be better to build the record source query on the fly - so that only the subset of records are brought across the network and displayed ?? Further, how can we best utilise the SQL Db to provide only subset of data for reports? I've tried to use as record source for a report an ADO record set created by the SQL Db and served to the Frontend - but that doesn't appear to work for reports. Have I missed something here, or can you people confirm that this is the case: as record source for reports with SQL Db as backend we can only use ODBC linked tables and access queries based on ODBC linked tables ??? regards borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Mon May 11 00:08:49 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Mon, 11 May 2009 15:08:49 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: Anita, Your comments were helpful, thanks. I understand your approach is based on Access Data Project (.adp ) file .... I have never developed using this file type.. I think the general advice from back in the Access2000 days to stay with .mdb .... I created my first .adp and had a look .... Our approach so far has been using .mdb as we either are converting exsting apps to SQL Db backend or so firmly anchored in the .mdb approach that also a new App would be based on a mix of ODBC linked sql tables and Stored Procedures using ADO..... Has anyone a link to or list of information about what is lost / gained from going from .mdb to .adp approach? Pros and Cons for each approach?? For example we make use of linked temporary tables held in a separate local .mdb stored in each user's application folder for some functionality. I think we lose the ability to link to access tables in an .mdb file from an .adp application.... borge On Mon, May 11, 2009 at 1:46 PM, Anita Smith wrote: > Borge, > I mainly use SQL as back end to Access these days. This is my approach: > 1. Use an Access Project - connected to an SQL Server database using > "File/Connection" > 2. Use Stored Procedures as Form and Report Recordsources > 3. Filter the Forms/Reports by using the [Input Parameter] property - this > parameter is passed to the stored procedure that the form/report is based > on > thereby giving you a perfect filter. > > Example: > Form: frmCustomer > Stored Procedure: spCustomers is set as the recordsource > Procedure spCustomers (@CustomerID int) > as > Select * FROM Customers WHERE CustomerID = > @CustomerID > > frmCustomer has the Input Parameter property set to =CurrCust() > > CurrCust is a property I set before just before i open the Customer Form. > When frmCustomers open it will pass the input parameter CurrCust() to the > stored procedure and the form will be filtered to 1 customer only. > > Hope this helps a bit. > > Anita Smith > > > > > > > > > Anita Smith > On Mon, May 11, 2009 at 11:43 AM, Borge Hansen >wrote: > > > Hi All, > > > > The last year and a half or so I have learnt more and more about SQL Db > and > > working with Access FE against SQL BE. > > > > I've started using ADO recordset returned from SQL as record source for > > combo boxes, list boxes and view forms. > > > > Recently I started re-working some Reports on an existing application > made > > to run against SQL db that I've taken over maintenance for. > > > > These reports run sort of OK as they are - using existing Access queries > > against ODBC linked tables. > > > > But: > > For example one report use as record source an SQL string on one table > with > > no criteria filter. > > > > The filter is placed on opening of the report, like this example: > > > > DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & > > Me.subfrmChildDetails.Form.ChildID & "'" > > > > Is that a good practice - in regards to multi user setup and network > > traffic? > > > > I've read somewhere that Access in retrieving query results not > necessarily > > brings across from the network store all of the columns in the table(s) > but > > only the indexes it requires in order filter out the query result, which > is > > then brought across the network to the FrontEnd. > > > > With a docmd statement as the above, does it work as if the filter was > part > > of the report record source SQL Access query string - or does the report > > open, then pull in all records based on the Access query string, then > > filters the query result before displaying ??? > > > > If it's the latter, wouldn't it be better to build the record source > query > > on the fly - so that only the subset of records are brought across the > > network and displayed ?? > > > > Further, how can we best utilise the SQL Db to provide only subset of > data > > for reports? > > > > I've tried to use as record source for a report an ADO record set created > > by > > the SQL Db and served to the Frontend - but that doesn't appear to work > for > > reports. > > > > Have I missed something here, or can you people confirm that this is the > > case: as record source for reports with SQL Db as backend we can only use > > ODBC linked tables and access queries based on ODBC linked tables ??? > > > > regards > > borge > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Mon May 11 00:37:57 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 May 2009 22:37:57 -0700 Subject: [AccessD] Can I open outlook messages from Access? In-Reply-To: <660841.19826.qm@web110202.mail.gq1.yahoo.com> References: <660841.19826.qm@web110202.mail.gq1.yahoo.com> Message-ID: <8905BB37BDAB433AA74030EAAEBBE9A7@creativesystemdesigns.com> Hi Lonnie: The piece of code is a little complex but will allow you to run a application on the system... from Excel to Outlook Given in Public module: ' Code for handling the shell API code Public Declare Function apiShellExecute Lib "shell32.dll" _ Alias "ShellExecuteA" _ (ByVal hWnd As Long, _ ByVal lpOperation As String, _ ByVal lpFile As String, _ ByVal lpParameters As String, _ ByVal lpDirectory As String, _ ByVal nShowCmd As Long) _ As Long '***App Window Constants*** Public Const WIN_NORMAL = 1 'Open Normal Public Const WIN_MAX = 3 'Open Maximized Public Const WIN_MIN = 2 'Open Minimized '***Error Codes*** Public Const ERROR_SUCCESS = 32& Public Const ERROR_NO_ASSOC = 31& Public Const ERROR_OUT_OF_MEM = 0& Public Const ERROR_FILE_NOT_FOUND = 2& Public Const ERROR_PATH_NOT_FOUND = 3& Public Const ERROR_BAD_FORMAT = 11& '...and a collection as follows: Private Type ProjectDocument DefaultDir As String RawCodeGroup As String ID As Long Placement As String SubCategory As String CodeGroup As String FileName As String FileLocation As String End Type Dim tmpPD As ProjectDocument '----------------------------------------------------------- ' a sample of how tmpPD the collection is filled Private Sub Form_Open(Cancel As Integer) With tmpPD .RawCodeGroup = Forms![frm_Project]![txtFileFlag] If Len(.RawCodeGroup) > 0 Then ' set the default start search directory .DefaultDir = "\\bolt\S8627\S8627_SG_GPE_Share\\SYSTEMS+" ' get/set current record and potential new record ' defining code .CodeGroup = Trim(Forms![frm_Project]![txtFileFlag]) ' Setup up access to database and recordset ' and get the criteria for the listbox If Initialize(.CodeGroup) = False Then Cancel = True ' repopulate list display lstFileNames.Requery setTitle 'Just sets header of form depending on option Else MsgBox "Form Project must currently" & vbCr & _ "active to supply seed information.", vbExclamation, "Error..." Cancel = True End If End With End Sub '---------------------------------------------------------- Private Sub ViewCurrentFile() With tmpPD If Len(Dir(tmpPD.FileLocation)) > 0 Then DoCmd.Hourglass True ' View file and ignore any errors LoadFile tmpPD.FileLocation, WIN_NORMAL DoCmd.Hourglass False Else MsgBox "File " & .FileName & " could not be found in directory" & vbCr & _ .DefaultDir & "." & vbCr & _ "File may have been moved or is otherwise unavailable from this location.", vbInformation, "File not found" End If End With End Sub '------------------------------------------------------ Public Function LoadFile(stFile As String, lngShowHow As Long) As String Dim lRet As Long, varTaskID As Variant Dim stRet As String LoadFile = "" 'First try ShellExecute lRet = apiShellExecute(hWndAccessApp, vbNullString, stFile, vbNullString, vbNullString, lngShowHow) If lRet > ERROR_SUCCESS Then stRet = vbNullString lRet = -1 Else Select Case lRet Case ERROR_NO_ASSOC: 'Try the OpenWith dialog varTaskID = Shell("rundll32.exe shell32.dll,OpenAs_RunDLL " _ & stFile, WIN_NORMAL) lRet = (varTaskID <> 0) Case ERROR_OUT_OF_MEM: stRet = "Error: Out of Memory/Resources. Couldn't Execute!" Case ERROR_FILE_NOT_FOUND: stRet = "Error: File not found. Couldn't Execute!" Case ERROR_PATH_NOT_FOUND: stRet = "Error: Path not found. Couldn't Execute!" Case ERROR_BAD_FORMAT: stRet = "Error: Bad File Format. Couldn't Execute!" Case Else: End Select End If LoadFile = lRet & IIf(stRet = "", vbNullString, ", " & stRet) End Function It might be over kill but it can be used to receive a variety of extensions. This code was used in an accounting project where each account and invoice item was lited in a sub form. By clicking on each entry listed in each row the particular file would open with the associated application. Adobe for PDF, Word for a document or Outlook if an email was selected. I hope there is enough here to help you out. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Sunday, May 10, 2009 6:49 PM To: AccessD solving' Subject: [AccessD] Can I open outlook messages from Access? I am creating an app for a friend. He wants to see his task, emails and appointments in an Access form. I was able to do that. What he wants to do now is double click on one of the emails in a continuous form I build and the email actually opens. Does anyone have code for that?? ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Mon May 11 00:40:20 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 May 2009 22:40:20 -0700 Subject: [AccessD] Can I open outlook messages from Access? In-Reply-To: <01eb01c9d1f3$c7429f20$131b910a@denzilnote> References: <660841.19826.qm@web110202.mail.gq1.yahoo.com> <01eb01c9d1f3$c7429f20$131b910a@denzilnote> Message-ID: Hi Darren: Your approach is a lot more specific than mine and would work just fine in this situation. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Sunday, May 10, 2009 9:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Can I open outlook messages from Access? Hi Lonnie Outlook Calendar items (appointments) have a PK type of thing called the EntryID If you know that you can open the relevant outlook item EG - This is what I use to open Calendar items (Appointments) You should be able to use this to open all sorts of outlook items if you know the relevant EntryID Hope this helps ~~~~~~~~~~~ Function f_FindOutlookAppointment(xstrEntryID As String) On Error GoTo Err_ Dim ol As Outlook.Application Dim olns As NameSpace Dim objFolder As Object Dim StoreID As String Dim AllAppts As Outlook.Items Dim Item As Object Dim strFind As String Set ol = New Outlook.Application Set olns = ol.GetNamespace("MAPI") Set objFolder = olns.GetDefaultFolder(olFolderCalendar) StoreID = objFolder.StoreID Set AllAppts = objFolder.Items strEntryID = xstrEntryID Set Item = olns.GetItemFromID(strEntryID, StoreID) Item.Display Set ol = Nothing Set olns = Nothing Set objFolder = Nothing Set AllAppts = Nothing Exit_: Exit Function Err_: If Err.Number = -1871445753 Then MsgBox "Please ensure Outlook is open", vbInformation, "Cannot retrieve Outlook Item" ElseIf -1629224689 Then 'Can't find item - probably deleted MsgBox "Sorry - I can't find that Outlook item." & vbCrLf & vbCrLf _ & "It appears to have been deleted from the Outlook Calendar", vbQuestion + vbYesNo, "Error Retrieving Outlook Calendar Item Else MsgBox Err.Number & " " & Err.Description, vbCritical, "Error Retrieving Outlook Calendar Item" End If Resume Exit_ End Function ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, 11 May 2009 11:49 AM To: AccessD solving' Subject: [AccessD] Can I open outlook messages from Access? I am creating an app for a friend. He wants to see his task, emails and appointments in an Access form. I was able to do that. What he wants to do now is double click on one of the emails in a continuous form I build and the email actually opens. Does anyone have code for that?? ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From anitatiedemann at gmail.com Mon May 11 00:57:54 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Mon, 11 May 2009 15:57:54 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: Borge, The reason I went with this approach is that the SQL database becomes a complete unit containing all the functionality (Views and Stored Procedures) within itself and can be connected to a .Net project at a later stage if needed. Besides that - I really like stored procedures - they can do all the hard work for you. I also don't like the ODBC approach as I think it will impact on the performance. There is absolutely no difference between working in adp or mdb once the connection to the database has been set. It really is easy to make the switch to a project. If you don't want to bind the forms and reports to stored procedures you can actually work with the form recordsources as if it was an Access back end. You won't even know you are working with an SQL database. Trust me. Try it! Create a new project and select your SQL Database to connect to. Then create a form using the wizard. Anita Smith On Mon, May 11, 2009 at 3:08 PM, Borge Hansen wrote: > Anita, > Your comments were helpful, thanks. > I understand your approach is based on Access Data Project (.adp ) file > .... > I have never developed using this file type.. I think the general advice > from back in the Access2000 days to stay with .mdb .... > I created my first .adp and had a look .... > > Our approach so far has been using .mdb as we either are converting exsting > apps to SQL Db backend or so firmly anchored in the .mdb approach that also > a new App would be based on a mix of ODBC linked sql tables and Stored > Procedures using ADO..... > > Has anyone a link to or list of information about what is lost / gained > from > going from .mdb to .adp approach? > Pros and Cons for each approach?? > > For example we make use of linked temporary tables held in a separate local > .mdb stored in each user's application folder for some functionality. > I think we lose the ability to link to access tables in an .mdb file from > an > .adp application.... > > borge > > On Mon, May 11, 2009 at 1:46 PM, Anita Smith >wrote: > > > Borge, > > I mainly use SQL as back end to Access these days. This is my approach: > > 1. Use an Access Project - connected to an SQL Server database using > > "File/Connection" > > 2. Use Stored Procedures as Form and Report Recordsources > > 3. Filter the Forms/Reports by using the [Input Parameter] property - > this > > parameter is passed to the stored procedure that the form/report is based > > on > > thereby giving you a perfect filter. > > > > Example: > > Form: frmCustomer > > Stored Procedure: spCustomers is set as the recordsource > > Procedure spCustomers (@CustomerID int) > > as > > Select * FROM Customers WHERE CustomerID = > > @CustomerID > > > > frmCustomer has the Input Parameter property set to =CurrCust() > > > > CurrCust is a property I set before just before i open the Customer Form. > > When frmCustomers open it will pass the input parameter CurrCust() to the > > stored procedure and the form will be filtered to 1 customer only. > > > > Hope this helps a bit. > > > > Anita Smith > > > > > > > > > > > > > > > > > > Anita Smith > > On Mon, May 11, 2009 at 11:43 AM, Borge Hansen > >wrote: > > > > > Hi All, > > > > > > The last year and a half or so I have learnt more and more about SQL Db > > and > > > working with Access FE against SQL BE. > > > > > > I've started using ADO recordset returned from SQL as record source for > > > combo boxes, list boxes and view forms. > > > > > > Recently I started re-working some Reports on an existing application > > made > > > to run against SQL db that I've taken over maintenance for. > > > > > > These reports run sort of OK as they are - using existing Access > queries > > > against ODBC linked tables. > > > > > > But: > > > For example one report use as record source an SQL string on one table > > with > > > no criteria filter. > > > > > > The filter is placed on opening of the report, like this example: > > > > > > DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & > > > Me.subfrmChildDetails.Form.ChildID & "'" > > > > > > Is that a good practice - in regards to multi user setup and network > > > traffic? > > > > > > I've read somewhere that Access in retrieving query results not > > necessarily > > > brings across from the network store all of the columns in the table(s) > > but > > > only the indexes it requires in order filter out the query result, > which > > is > > > then brought across the network to the FrontEnd. > > > > > > With a docmd statement as the above, does it work as if the filter was > > part > > > of the report record source SQL Access query string - or does the > report > > > open, then pull in all records based on the Access query string, then > > > filters the query result before displaying ??? > > > > > > If it's the latter, wouldn't it be better to build the record source > > query > > > on the fly - so that only the subset of records are brought across the > > > network and displayed ?? > > > > > > Further, how can we best utilise the SQL Db to provide only subset of > > data > > > for reports? > > > > > > I've tried to use as record source for a report an ADO record set > created > > > by > > > the SQL Db and served to the Frontend - but that doesn't appear to work > > for > > > reports. > > > > > > Have I missed something here, or can you people confirm that this is > the > > > case: as record source for reports with SQL Db as backend we can only > use > > > ODBC linked tables and access queries based on ODBC linked tables ??? > > > > > > regards > > > borge > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From anitatiedemann at gmail.com Mon May 11 01:07:27 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Mon, 11 May 2009 16:07:27 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: Borge, Regarding linked tables for temporary data you can still use SQL Server tables for that. I also use that approach quite a lot. You will then have to add a user field or something so you don't overwrite or delete other users temporary data. I remember that it was my biggest hurdle when switching to a project, but I overcame it after I managed to develop a usable approach. Anita Smith On Mon, May 11, 2009 at 3:08 PM, Borge Hansen wrote: > Anita, > Your comments were helpful, thanks. > I understand your approach is based on Access Data Project (.adp ) file > .... > I have never developed using this file type.. I think the general advice > from back in the Access2000 days to stay with .mdb .... > I created my first .adp and had a look .... > > Our approach so far has been using .mdb as we either are converting exsting > apps to SQL Db backend or so firmly anchored in the .mdb approach that also > a new App would be based on a mix of ODBC linked sql tables and Stored > Procedures using ADO..... > > Has anyone a link to or list of information about what is lost / gained > from > going from .mdb to .adp approach? > Pros and Cons for each approach?? > > For example we make use of linked temporary tables held in a separate local > .mdb stored in each user's application folder for some functionality. > I think we lose the ability to link to access tables in an .mdb file from > an > .adp application.... > > borge > > On Mon, May 11, 2009 at 1:46 PM, Anita Smith >wrote: > > > Borge, > > I mainly use SQL as back end to Access these days. This is my approach: > > 1. Use an Access Project - connected to an SQL Server database using > > "File/Connection" > > 2. Use Stored Procedures as Form and Report Recordsources > > 3. Filter the Forms/Reports by using the [Input Parameter] property - > this > > parameter is passed to the stored procedure that the form/report is based > > on > > thereby giving you a perfect filter. > > > > Example: > > Form: frmCustomer > > Stored Procedure: spCustomers is set as the recordsource > > Procedure spCustomers (@CustomerID int) > > as > > Select * FROM Customers WHERE CustomerID = > > @CustomerID > > > > frmCustomer has the Input Parameter property set to =CurrCust() > > > > CurrCust is a property I set before just before i open the Customer Form. > > When frmCustomers open it will pass the input parameter CurrCust() to the > > stored procedure and the form will be filtered to 1 customer only. > > > > Hope this helps a bit. > > > > Anita Smith > > > > > > > > > > > > > > > > > > Anita Smith > > On Mon, May 11, 2009 at 11:43 AM, Borge Hansen > >wrote: > > > > > Hi All, > > > > > > The last year and a half or so I have learnt more and more about SQL Db > > and > > > working with Access FE against SQL BE. > > > > > > I've started using ADO recordset returned from SQL as record source for > > > combo boxes, list boxes and view forms. > > > > > > Recently I started re-working some Reports on an existing application > > made > > > to run against SQL db that I've taken over maintenance for. > > > > > > These reports run sort of OK as they are - using existing Access > queries > > > against ODBC linked tables. > > > > > > But: > > > For example one report use as record source an SQL string on one table > > with > > > no criteria filter. > > > > > > The filter is placed on opening of the report, like this example: > > > > > > DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & > > > Me.subfrmChildDetails.Form.ChildID & "'" > > > > > > Is that a good practice - in regards to multi user setup and network > > > traffic? > > > > > > I've read somewhere that Access in retrieving query results not > > necessarily > > > brings across from the network store all of the columns in the table(s) > > but > > > only the indexes it requires in order filter out the query result, > which > > is > > > then brought across the network to the FrontEnd. > > > > > > With a docmd statement as the above, does it work as if the filter was > > part > > > of the report record source SQL Access query string - or does the > report > > > open, then pull in all records based on the Access query string, then > > > filters the query result before displaying ??? > > > > > > If it's the latter, wouldn't it be better to build the record source > > query > > > on the fly - so that only the subset of records are brought across the > > > network and displayed ?? > > > > > > Further, how can we best utilise the SQL Db to provide only subset of > > data > > > for reports? > > > > > > I've tried to use as record source for a report an ADO record set > created > > > by > > > the SQL Db and served to the Frontend - but that doesn't appear to work > > for > > > reports. > > > > > > Have I missed something here, or can you people confirm that this is > the > > > case: as record source for reports with SQL Db as backend we can only > use > > > ODBC linked tables and access queries based on ODBC linked tables ??? > > > > > > regards > > > borge > > > -- > > > AccessD mailing list > > > AccessD at databaseadvisors.com > > > http://databaseadvisors.com/mailman/listinfo/accessd > > > Website: http://www.databaseadvisors.com > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Mon May 11 02:48:52 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 11 May 2009 08:48:52 +0100 Subject: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing In-Reply-To: <4A07799E.9050006@colbyconsulting.com> References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com><4a069192.0702d00a.41e6.15aa@mx.google.com> <4A06C394.8050506@colbyconsulting.com> <8D0B2FB72BA945D2939CB6C3B0197777@danwaters> <4a073032.0aaa660a.0e92.ffff8767@mx.google.com> <4A07799E.9050006@colbyconsulting.com> Message-ID: <4a07d868.1c07d00a.7d06.6d9d@mx.google.com> Commute only, I'm afraid. Employee pays cost of travel to & from work. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 11 May 2009 02:05 To: Access Developers discussion and problem solving Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing OK. I need a move package of course. ;) John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Ha! John, come over. Your hired - sight unseen but skills well known! > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: 10 May 2009 15:50 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing > > Good skills and a quick salesman! > > Max - sounds like a good catch - better hurry! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Sunday, May 10, 2009 7:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: MS Access Skills Assessment and Testing > > Well, you could avoid all of that and just hire me! > > ;) > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: >> Can anybody recommend any suitable methods of carrying out skills > assessment >> and/or testing for MS Access with regard to employing new staff. >> >> Thanks - any pointers would be appreciated. >> >> Max >> >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon May 11 06:25:20 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 11 May 2009 07:25:20 -0400 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: <4A080B20.40702@colbyconsulting.com> How long did Microsoft support projects? Through 2003? And what happens to a project when you hit the version where it is no longer supported? Does Access refuse to open it or does the SQL Server management stuff built in to the project just go away but the rest of the application continues to function? John W. Colby www.ColbyConsulting.com Anita Smith wrote: > Borge, > I mainly use SQL as back end to Access these days. This is my approach: > 1. Use an Access Project - connected to an SQL Server database using > "File/Connection" > 2. Use Stored Procedures as Form and Report Recordsources > 3. Filter the Forms/Reports by using the [Input Parameter] property - this > parameter is passed to the stored procedure that the form/report is based on > thereby giving you a perfect filter. > > Example: > Form: frmCustomer > Stored Procedure: spCustomers is set as the recordsource > Procedure spCustomers (@CustomerID int) > as > Select * FROM Customers WHERE CustomerID = > @CustomerID > > frmCustomer has the Input Parameter property set to =CurrCust() > > CurrCust is a property I set before just before i open the Customer Form. > When frmCustomers open it will pass the input parameter CurrCust() to the > stored procedure and the form will be filtered to 1 customer only. > > Hope this helps a bit. > > Anita Smith > > > > > > > > > Anita Smith > On Mon, May 11, 2009 at 11:43 AM, Borge Hansen wrote: > >> Hi All, >> >> The last year and a half or so I have learnt more and more about SQL Db and >> working with Access FE against SQL BE. >> >> I've started using ADO recordset returned from SQL as record source for >> combo boxes, list boxes and view forms. >> >> Recently I started re-working some Reports on an existing application made >> to run against SQL db that I've taken over maintenance for. >> >> These reports run sort of OK as they are - using existing Access queries >> against ODBC linked tables. >> >> But: >> For example one report use as record source an SQL string on one table with >> no criteria filter. >> >> The filter is placed on opening of the report, like this example: >> >> DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & >> Me.subfrmChildDetails.Form.ChildID & "'" >> >> Is that a good practice - in regards to multi user setup and network >> traffic? >> >> I've read somewhere that Access in retrieving query results not necessarily >> brings across from the network store all of the columns in the table(s) but >> only the indexes it requires in order filter out the query result, which is >> then brought across the network to the FrontEnd. >> >> With a docmd statement as the above, does it work as if the filter was part >> of the report record source SQL Access query string - or does the report >> open, then pull in all records based on the Access query string, then >> filters the query result before displaying ??? >> >> If it's the latter, wouldn't it be better to build the record source query >> on the fly - so that only the subset of records are brought across the >> network and displayed ?? >> >> Further, how can we best utilise the SQL Db to provide only subset of data >> for reports? >> >> I've tried to use as record source for a report an ADO record set created >> by >> the SQL Db and served to the Frontend - but that doesn't appear to work for >> reports. >> >> Have I missed something here, or can you people confirm that this is the >> case: as record source for reports with SQL Db as backend we can only use >> ODBC linked tables and access queries based on ODBC linked tables ??? >> >> regards >> borge >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From prodevmg at yahoo.com Mon May 11 08:51:41 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 11 May 2009 06:51:41 -0700 (PDT) Subject: [AccessD] Can I open outlook messages from Access? In-Reply-To: <01eb01c9d1f3$c7429f20$131b910a@denzilnote> References: <660841.19826.qm@web110202.mail.gq1.yahoo.com> <01eb01c9d1f3$c7429f20$131b910a@denzilnote> Message-ID: <141788.27129.qm@web110205.mail.gq1.yahoo.com> Thanks Darren, This was very helpful.?It does exactly what I wanted to. ? ________________________________ From: Darren D To: Access Developers discussion and problem solving Sent: Sunday, May 10, 2009 11:48:42 PM Subject: Re: [AccessD] Can I open outlook messages from Access? Hi Lonnie Outlook Calendar items (appointments) have a PK type of thing called the EntryID If you know that you can open the relevant outlook item EG - This is what I use to open Calendar items (Appointments) You should be able to use this to open all sorts of outlook items if you know the relevant EntryID Hope this helps ~~~~~~~~~~~ Function f_FindOutlookAppointment(xstrEntryID As String) ? ? On Error GoTo Err_ ? ? Dim ol As Outlook.Application ? Dim olns As NameSpace ? Dim objFolder As Object ? Dim StoreID As String ? Dim AllAppts As Outlook.Items ? Dim Item As Object ? Dim strFind As String ? ? ? Set ol = New Outlook.Application ? Set olns = ol.GetNamespace("MAPI") ? Set objFolder = olns.GetDefaultFolder(olFolderCalendar) ? StoreID = objFolder.StoreID ? Set AllAppts = objFolder.Items ? strEntryID = xstrEntryID ? Set Item = olns.GetItemFromID(strEntryID, StoreID) ? ? Item.Display ? ? Set ol = Nothing ? Set olns = Nothing ? Set objFolder = Nothing ? Set AllAppts = Nothing Exit_: Exit Function Err_: If Err.Number = -1871445753 Then ? ? MsgBox "Please ensure Outlook is open", vbInformation, "Cannot retrieve Outlook Item" ElseIf -1629224689 Then 'Can't find item - probably deleted ? ? MsgBox "Sorry - I can't find that Outlook item." & vbCrLf & vbCrLf _ ? ? ? ? & "It appears to have been deleted from the Outlook Calendar", vbQuestion + vbYesNo, "Error Retrieving Outlook Calendar Item ? ? Else ? ? MsgBox Err.Number & " " & Err.Description, vbCritical, "Error Retrieving Outlook Calendar Item" End If Resume Exit_ ? End Function ~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Monday, 11 May 2009 11:49 AM To: AccessD solving' Subject: [AccessD] Can I open outlook messages from Access? I am creating an app for a friend. He wants to see his task, emails and appointments in an Access form. I was able to do that. What he wants to do now is double click on one of the emails in a continuous form I build and the email actually opens. Does anyone have code for that?? ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us ? ? ? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon May 11 08:58:09 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 11 May 2009 23:58:09 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: <4A080B20.40702@colbyconsulting.com> References: , , <4A080B20.40702@colbyconsulting.com> Message-ID: <4A082EF1.17727.5F18E42A@stuart.lexacorp.com.pg> They are still supported in 2007. See http://office.microsoft.com/en-us/access/HA101679531033.aspx?pid=CH102098441033 I can't find a reference at present, but I have seen somewhere that they are being "depreciated" so I wouldn't rely on them being supported in the next version. On 11 May 2009 at 7:25, jwcolby wrote: > How long did Microsoft support projects? Through 2003? And what happens to a project when you hit > the version where it is no longer supported? Does Access refuse to open it or does the SQL Server > management stuff built in to the project just go away but the rest of the application continues to > function? > > John W. Colby > www.ColbyConsulting.com > > > Anita Smith wrote: > > Borge, > > I mainly use SQL as back end to Access these days. This is my approach: > > 1. Use an Access Project - connected to an SQL Server database using > > "File/Connection" > > 2. Use Stored Procedures as Form and Report Recordsources > > 3. Filter the Forms/Reports by using the [Input Parameter] property - this > > parameter is passed to the stored procedure that the form/report is based on > > thereby giving you a perfect filter. > > > > Example: > > Form: frmCustomer > > Stored Procedure: spCustomers is set as the recordsource > > Procedure spCustomers (@CustomerID int) > > as > > Select * FROM Customers WHERE CustomerID = > > @CustomerID > > > > frmCustomer has the Input Parameter property set to =CurrCust() > > > > CurrCust is a property I set before just before i open the Customer Form. > > When frmCustomers open it will pass the input parameter CurrCust() to the > > stored procedure and the form will be filtered to 1 customer only. > > > > Hope this helps a bit. > > > > Anita Smith > > > > > > > > > > > > > > > > > > Anita Smith > > On Mon, May 11, 2009 at 11:43 AM, Borge Hansen wrote: > > > >> Hi All, > >> > >> The last year and a half or so I have learnt more and more about SQL Db and > >> working with Access FE against SQL BE. > >> > >> I've started using ADO recordset returned from SQL as record source for > >> combo boxes, list boxes and view forms. > >> > >> Recently I started re-working some Reports on an existing application made > >> to run against SQL db that I've taken over maintenance for. > >> > >> These reports run sort of OK as they are - using existing Access queries > >> against ODBC linked tables. > >> > >> But: > >> For example one report use as record source an SQL string on one table with > >> no criteria filter. > >> > >> The filter is placed on opening of the report, like this example: > >> > >> DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & > >> Me.subfrmChildDetails.Form.ChildID & "'" > >> > >> Is that a good practice - in regards to multi user setup and network > >> traffic? > >> > >> I've read somewhere that Access in retrieving query results not necessarily > >> brings across from the network store all of the columns in the table(s) but > >> only the indexes it requires in order filter out the query result, which is > >> then brought across the network to the FrontEnd. > >> > >> With a docmd statement as the above, does it work as if the filter was part > >> of the report record source SQL Access query string - or does the report > >> open, then pull in all records based on the Access query string, then > >> filters the query result before displaying ??? > >> > >> If it's the latter, wouldn't it be better to build the record source query > >> on the fly - so that only the subset of records are brought across the > >> network and displayed ?? > >> > >> Further, how can we best utilise the SQL Db to provide only subset of data > >> for reports? > >> > >> I've tried to use as record source for a report an ADO record set created > >> by > >> the SQL Db and served to the Frontend - but that doesn't appear to work for > >> reports. > >> > >> Have I missed something here, or can you people confirm that this is the > >> case: as record source for reports with SQL Db as backend we can only use > >> ODBC linked tables and access queries based on ODBC linked tables ??? > >> > >> regards > >> borge > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dbdoug at gmail.com Mon May 11 09:18:56 2009 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 11 May 2009 07:18:56 -0700 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4a069192.0702d00a.41e6.15aa@mx.google.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> <4a069192.0702d00a.41e6.15aa@mx.google.com> Message-ID: <4dd71a0c0905110718p7da1353er2e3bc71be9516ccb@mail.gmail.com> I would start with a simple database with one form. Set the form up with some code that does a calculation but set the underlying data so that it causes an 'Invalid use of Null' or a divide by zero in the calculation code. Let the candidate debug it while you watch. You should be able to tell pretty quickly how familiar they are with Access. Doug Steele On Sun, May 10, 2009 at 1:34 AM, Max Wanadoo wrote: > Can anybody recommend any suitable methods of carrying out skills > assessment > and/or testing for MS Access with regard to employing new staff. > > Thanks - any pointers would be appreciated. > > Max > > From ssharkins at gmail.com Mon May 11 09:37:07 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 11 May 2009 10:37:07 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne><252A883906724260BD4398A8A98DAED1@HAL9005><49FB3D8B.3050800@colbyconsulting.com><4a069192.0702d00a.41e6.15aa@mx.google.com> <4dd71a0c0905110718p7da1353er2e3bc71be9516ccb@mail.gmail.com> Message-ID: I think it depends on how this person's going to use Access -- are they going to be a user or a developer? Susan H. >I would start with a simple database with one form. Set the form up with > some code that does a calculation but set the underlying data so that it > causes an 'Invalid use of Null' or a divide by zero in the calculation > code. Let the candidate debug it while you watch. You should be able to > tell pretty quickly how familiar they are with Access. > > Doug Steele From fuller.artful at gmail.com Mon May 11 09:53:30 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 11 May 2009 10:53:30 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4dd71a0c0905110718p7da1353er2e3bc71be9516ccb@mail.gmail.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> <4a069192.0702d00a.41e6.15aa@mx.google.com> <4dd71a0c0905110718p7da1353er2e3bc71be9516ccb@mail.gmail.com> Message-ID: <29f585dd0905110753l3f931142mb59dc013878c5131@mail.gmail.com> I would ask the prospect to bring a recently developed application in to demo it for me. The kind of test you are hoping for is perhaps possible but IMO unlikely. A real app will give you a pretty good idea of the candidate. You will see her or his UI skills, you can peek in the relationships window for a quick look at normalization, foreign keys and so on, and you can listen to the description of the app and its walkthrough. Penultimately, I would want a look at the code. If I didn't see evidence of MZ-Tools or some equivalent, error-handlers, static functions, classes and so on, that would affect my evaluation of the candidate significantly. And ultimately, if I didn't see any messages from the candidate on this our beloved list, I would seriously question the level of the candidate's commitment, and also the candidate's ability to Google. Databaseadvisors.com is not hard to find, nor is Roger's Access Library. Beyond these basics, another question (which may or may not be relevant to the specific situation) is, What do you know about SQL Server or any ODBC connection to Oracle or DB2, etc.? The answers to that question will let you appraise the advanced candidates. My $0.02. Arthur > On Sun, May 10, 2009 at 1:34 AM, Max Wanadoo > wrote: > > > Can anybody recommend any suitable methods of carrying out skills > > assessment > > and/or testing for MS Access with regard to employing new staff. > > > > Thanks - any pointers would be appreciated. > > > > Max > From mwp.reid at qub.ac.uk Mon May 11 10:03:57 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 May 2009 16:03:57 +0100 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: <4A080B20.40702@colbyconsulting.com> References: , <4A080B20.40702@colbyconsulting.com> Message-ID: 2007 supports then and I would say its a safe bet but not 100% that another version should. Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby [jwcolby at colbyconsulting.com] Sent: 11 May 2009 12:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice How long did Microsoft support projects? Through 2003? And what happens to a project when you hit the version where it is no longer supported? Does Access refuse to open it or does the SQL Server management stuff built in to the project just go away but the rest of the application continues to function? John W. Colby www.ColbyConsulting.com Anita Smith wrote: > Borge, > I mainly use SQL as back end to Access these days. This is my approach: > 1. Use an Access Project - connected to an SQL Server database using > "File/Connection" > 2. Use Stored Procedures as Form and Report Recordsources > 3. Filter the Forms/Reports by using the [Input Parameter] property - this > parameter is passed to the stored procedure that the form/report is based on > thereby giving you a perfect filter. > > Example: > Form: frmCustomer > Stored Procedure: spCustomers is set as the recordsource > Procedure spCustomers (@CustomerID int) > as > Select * FROM Customers WHERE CustomerID = > @CustomerID > > frmCustomer has the Input Parameter property set to =CurrCust() > > CurrCust is a property I set before just before i open the Customer Form. > When frmCustomers open it will pass the input parameter CurrCust() to the > stored procedure and the form will be filtered to 1 customer only. > > Hope this helps a bit. > > Anita Smith > > > > > > > > > Anita Smith > On Mon, May 11, 2009 at 11:43 AM, Borge Hansen wrote: > >> Hi All, >> >> The last year and a half or so I have learnt more and more about SQL Db and >> working with Access FE against SQL BE. >> >> I've started using ADO recordset returned from SQL as record source for >> combo boxes, list boxes and view forms. >> >> Recently I started re-working some Reports on an existing application made >> to run against SQL db that I've taken over maintenance for. >> >> These reports run sort of OK as they are - using existing Access queries >> against ODBC linked tables. >> >> But: >> For example one report use as record source an SQL string on one table with >> no criteria filter. >> >> The filter is placed on opening of the report, like this example: >> >> DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & >> Me.subfrmChildDetails.Form.ChildID & "'" >> >> Is that a good practice - in regards to multi user setup and network >> traffic? >> >> I've read somewhere that Access in retrieving query results not necessarily >> brings across from the network store all of the columns in the table(s) but >> only the indexes it requires in order filter out the query result, which is >> then brought across the network to the FrontEnd. >> >> With a docmd statement as the above, does it work as if the filter was part >> of the report record source SQL Access query string - or does the report >> open, then pull in all records based on the Access query string, then >> filters the query result before displaying ??? >> >> If it's the latter, wouldn't it be better to build the record source query >> on the fly - so that only the subset of records are brought across the >> network and displayed ?? >> >> Further, how can we best utilise the SQL Db to provide only subset of data >> for reports? >> >> I've tried to use as record source for a report an ADO record set created >> by >> the SQL Db and served to the Frontend - but that doesn't appear to work for >> reports. >> >> Have I missed something here, or can you people confirm that this is the >> case: as record source for reports with SQL Db as backend we can only use >> ODBC linked tables and access queries based on ODBC linked tables ??? >> >> regards >> borge >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon May 11 10:08:52 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 11 May 2009 11:08:52 -0400 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: , <4A080B20.40702@colbyconsulting.com> Message-ID: <4A083F84.3000607@colbyconsulting.com> This is full support including the ability to create and edit stored procedures etc? John W. Colby www.ColbyConsulting.com Martin Reid wrote: > 2007 supports then and I would say its a safe bet but not 100% that another version should. > > Martin > > > Martin WP Reid > Information Services > Queen's University > Riddel Hall > 185 Stranmillis Road > Belfast > BT9 5EE > Tel : 02890974465 > Email : mwp.reid at qub.ac.uk > ________________________________________ > From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby [jwcolby at colbyconsulting.com] > Sent: 11 May 2009 12:25 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice > > How long did Microsoft support projects? Through 2003? And what happens to a project when you hit > the version where it is no longer supported? Does Access refuse to open it or does the SQL Server > management stuff built in to the project just go away but the rest of the application continues to > function? > > John W. Colby > www.ColbyConsulting.com > > > Anita Smith wrote: >> Borge, >> I mainly use SQL as back end to Access these days. This is my approach: >> 1. Use an Access Project - connected to an SQL Server database using >> "File/Connection" >> 2. Use Stored Procedures as Form and Report Recordsources >> 3. Filter the Forms/Reports by using the [Input Parameter] property - this >> parameter is passed to the stored procedure that the form/report is based on >> thereby giving you a perfect filter. >> >> Example: >> Form: frmCustomer >> Stored Procedure: spCustomers is set as the recordsource >> Procedure spCustomers (@CustomerID int) >> as >> Select * FROM Customers WHERE CustomerID = >> @CustomerID >> >> frmCustomer has the Input Parameter property set to =CurrCust() >> >> CurrCust is a property I set before just before i open the Customer Form. >> When frmCustomers open it will pass the input parameter CurrCust() to the >> stored procedure and the form will be filtered to 1 customer only. >> >> Hope this helps a bit. >> >> Anita Smith >> >> >> >> >> >> >> >> >> Anita Smith >> On Mon, May 11, 2009 at 11:43 AM, Borge Hansen wrote: >> >>> Hi All, >>> >>> The last year and a half or so I have learnt more and more about SQL Db and >>> working with Access FE against SQL BE. >>> >>> I've started using ADO recordset returned from SQL as record source for >>> combo boxes, list boxes and view forms. >>> >>> Recently I started re-working some Reports on an existing application made >>> to run against SQL db that I've taken over maintenance for. >>> >>> These reports run sort of OK as they are - using existing Access queries >>> against ODBC linked tables. >>> >>> But: >>> For example one report use as record source an SQL string on one table with >>> no criteria filter. >>> >>> The filter is placed on opening of the report, like this example: >>> >>> DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & >>> Me.subfrmChildDetails.Form.ChildID & "'" >>> >>> Is that a good practice - in regards to multi user setup and network >>> traffic? >>> >>> I've read somewhere that Access in retrieving query results not necessarily >>> brings across from the network store all of the columns in the table(s) but >>> only the indexes it requires in order filter out the query result, which is >>> then brought across the network to the FrontEnd. >>> >>> With a docmd statement as the above, does it work as if the filter was part >>> of the report record source SQL Access query string - or does the report >>> open, then pull in all records based on the Access query string, then >>> filters the query result before displaying ??? >>> >>> If it's the latter, wouldn't it be better to build the record source query >>> on the fly - so that only the subset of records are brought across the >>> network and displayed ?? >>> >>> Further, how can we best utilise the SQL Db to provide only subset of data >>> for reports? >>> >>> I've tried to use as record source for a report an ADO record set created >>> by >>> the SQL Db and served to the Frontend - but that doesn't appear to work for >>> reports. >>> >>> Have I missed something here, or can you people confirm that this is the >>> case: as record source for reports with SQL Db as backend we can only use >>> ODBC linked tables and access queries based on ODBC linked tables ??? >>> >>> regards >>> borge >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon May 11 10:09:29 2009 From: max.wanadoo at gmail.com (Denis Sherman) Date: Mon, 11 May 2009 16:09:29 +0100 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <29f585dd0905110753l3f931142mb59dc013878c5131@mail.gmail.com> References: <49F4F782.40004@colbyconsulting.com> <2F978FE44F1644DC8C4B4537157CB3A6@SusanOne> <252A883906724260BD4398A8A98DAED1@HAL9005> <49FB3D8B.3050800@colbyconsulting.com> <4a069192.0702d00a.41e6.15aa@mx.google.com> <4dd71a0c0905110718p7da1353er2e3bc71be9516ccb@mail.gmail.com> <29f585dd0905110753l3f931142mb59dc013878c5131@mail.gmail.com> Message-ID: <4a083fad.0a04d00a.0c0d.093e@mx.google.com> Thanks very much for that excellent suggestion. I will do that and see what they come up with. Appreciate you taking the time Arthur. Regards Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 11 May 2009 15:54 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing I would ask the prospect to bring a recently developed application in to demo it for me. The kind of test you are hoping for is perhaps possible but IMO unlikely. A real app will give you a pretty good idea of the candidate. You will see her or his UI skills, you can peek in the relationships window for a quick look at normalization, foreign keys and so on, and you can listen to the description of the app and its walkthrough. Penultimately, I would want a look at the code. If I didn't see evidence of MZ-Tools or some equivalent, error-handlers, static functions, classes and so on, that would affect my evaluation of the candidate significantly. And ultimately, if I didn't see any messages from the candidate on this our beloved list, I would seriously question the level of the candidate's commitment, and also the candidate's ability to Google. Databaseadvisors.com is not hard to find, nor is Roger's Access Library. Beyond these basics, another question (which may or may not be relevant to the specific situation) is, What do you know about SQL Server or any ODBC connection to Oracle or DB2, etc.? The answers to that question will let you appraise the advanced candidates. My $0.02. Arthur > On Sun, May 10, 2009 at 1:34 AM, Max Wanadoo > wrote: > > > Can anybody recommend any suitable methods of carrying out skills > > assessment > > and/or testing for MS Access with regard to employing new staff. > > > > Thanks - any pointers would be appreciated. > > > > Max > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon May 11 10:11:30 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 11 May 2009 16:11:30 +0100 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: References: <49F4F782.40004@colbyconsulting.com><2F978FE44F1644DC8C4B4537157CB3A6@SusanOne><252A883906724260BD4398A8A98DAED1@HAL9005><49FB3D8B.3050800@colbyconsulting.com><4a069192.0702d00a.41e6.15aa@mx.google.com> <4dd71a0c0905110718p7da1353er2e3bc71be9516ccb@mail.gmail.com> Message-ID: <4a084026.0a1ad00a.2da0.2013@mx.google.com> Developer - definitely. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 11 May 2009 15:37 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing I think it depends on how this person's going to use Access -- are they going to be a user or a developer? Susan H. >I would start with a simple database with one form. Set the form up with > some code that does a calculation but set the underlying data so that it > causes an 'Invalid use of Null' or a divide by zero in the calculation > code. Let the candidate debug it while you watch. You should be able to > tell pretty quickly how familiar they are with Access. > > Doug Steele -- 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 May 11 10:15:59 2009 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Mon, 11 May 2009 16:15:59 +0100 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: <4A083F84.3000607@colbyconsulting.com> References: , <4A080B20.40702@colbyconsulting.com> , <4A083F84.3000607@colbyconsulting.com> Message-ID: John I would guess it will be the same as for the current version. Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk ________________________________________ From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby [jwcolby at colbyconsulting.com] Sent: 11 May 2009 16:08 To: Access Developers discussion and problem solving Subject: Re: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice This is full support including the ability to create and edit stored procedures etc? John W. Colby www.ColbyConsulting.com Martin Reid wrote: > 2007 supports then and I would say its a safe bet but not 100% that another version should. > > Martin > > > Martin WP Reid > Information Services > Queen's University > Riddel Hall > 185 Stranmillis Road > Belfast > BT9 5EE > Tel : 02890974465 > Email : mwp.reid at qub.ac.uk > ________________________________________ > From: accessd-bounces at databaseadvisors.com [accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby [jwcolby at colbyconsulting.com] > Sent: 11 May 2009 12:25 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice > > How long did Microsoft support projects? Through 2003? And what happens to a project when you hit > the version where it is no longer supported? Does Access refuse to open it or does the SQL Server > management stuff built in to the project just go away but the rest of the application continues to > function? > > John W. Colby > www.ColbyConsulting.com > > > Anita Smith wrote: >> Borge, >> I mainly use SQL as back end to Access these days. This is my approach: >> 1. Use an Access Project - connected to an SQL Server database using >> "File/Connection" >> 2. Use Stored Procedures as Form and Report Recordsources >> 3. Filter the Forms/Reports by using the [Input Parameter] property - this >> parameter is passed to the stored procedure that the form/report is based on >> thereby giving you a perfect filter. >> >> Example: >> Form: frmCustomer >> Stored Procedure: spCustomers is set as the recordsource >> Procedure spCustomers (@CustomerID int) >> as >> Select * FROM Customers WHERE CustomerID = >> @CustomerID >> >> frmCustomer has the Input Parameter property set to =CurrCust() >> >> CurrCust is a property I set before just before i open the Customer Form. >> When frmCustomers open it will pass the input parameter CurrCust() to the >> stored procedure and the form will be filtered to 1 customer only. >> >> Hope this helps a bit. >> >> Anita Smith >> >> >> >> >> >> >> >> >> Anita Smith >> On Mon, May 11, 2009 at 11:43 AM, Borge Hansen wrote: >> >>> Hi All, >>> >>> The last year and a half or so I have learnt more and more about SQL Db and >>> working with Access FE against SQL BE. >>> >>> I've started using ADO recordset returned from SQL as record source for >>> combo boxes, list boxes and view forms. >>> >>> Recently I started re-working some Reports on an existing application made >>> to run against SQL db that I've taken over maintenance for. >>> >>> These reports run sort of OK as they are - using existing Access queries >>> against ODBC linked tables. >>> >>> But: >>> For example one report use as record source an SQL string on one table with >>> no criteria filter. >>> >>> The filter is placed on opening of the report, like this example: >>> >>> DoCmd.OpenReport "rptAuditRollBook", acViewPreview, , "[ChildID]='" & >>> Me.subfrmChildDetails.Form.ChildID & "'" >>> >>> Is that a good practice - in regards to multi user setup and network >>> traffic? >>> >>> I've read somewhere that Access in retrieving query results not necessarily >>> brings across from the network store all of the columns in the table(s) but >>> only the indexes it requires in order filter out the query result, which is >>> then brought across the network to the FrontEnd. >>> >>> With a docmd statement as the above, does it work as if the filter was part >>> of the report record source SQL Access query string - or does the report >>> open, then pull in all records based on the Access query string, then >>> filters the query result before displaying ??? >>> >>> If it's the latter, wouldn't it be better to build the record source query >>> on the fly - so that only the subset of records are brought across the >>> network and displayed ?? >>> >>> Further, how can we best utilise the SQL Db to provide only subset of data >>> for reports? >>> >>> I've tried to use as record source for a report an ADO record set created >>> by >>> the SQL Db and served to the Frontend - but that doesn't appear to work for >>> reports. >>> >>> Have I missed something here, or can you people confirm that this is the >>> case: as record source for reports with SQL Db as backend we can only use >>> ODBC linked tables and access queries based on ODBC linked tables ??? >>> >>> regards >>> borge >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Mon May 11 12:03:30 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 May 2009 17:03:30 +0000 Subject: [AccessD] MS Access Skills Assessment and Testing Message-ID: <200905111603.n4BG3VNP028000@databaseadvisors.com> Hi Max, how're you doing? I used to set a couple of practical tests. The first was to give them some Access code with faults in it and leave them for a while asking them to critique it. You can throw in what you want, from not Dim'ing vars or not closing recordsets to logic or calculation errors. Whatever fits your bill. The second was to give them an app which crashed when you ran it and tell them to fix it. Nothing too trivial but it should show problem solving capabilities and experience with debug. You could deliberately remove error handlers and see if they put them in. The tests didn't distinguish the good from the great, but they did get rid of the blaggers. Had one guy who took exception to being asked to do such menial tests when he had blah-blah years experience, but we insisted, put him in a quiet room and when I went in half an hour later to see how he was doing he'd legged it. Didn't hear from him again. -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] MS Access Skills Assessment and Testing Date: 11/05/09 15:15 Developer - definitely. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 11 May 2009 15:37 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing I think it depends on how this person's going to use Access -- are they going to be a user or a developer? Susan H. >I would start with a simple database with one form. Set the form up with > some code that does a calculation but set the underlying data so that it > causes an 'Invalid use of Null' or a divide by zero in the calculation > code. Let the candidate debug it while you watch. You should be able to > tell pretty quickly how familiar they are with Access. > > Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 lizd1 at charter.net Mon May 11 11:34:00 2009 From: lizd1 at charter.net (lizd1 at charter.net) Date: Mon, 11 May 2009 12:34:00 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: Message-ID: <20090511123400.3TH82.2469332.root@mp17> Ask a normalization question. If you get one who will try to talk you into denormalized tables, you will be sorry. I used to use a spreadsheet that showed first name, last name, organization name and address for several people at a variety of organizations, including some with no organization and some organization with multiple people. If you ask how they would structure the data into tables, and they give you a blank look or worse, suggest something that you couldn't live with, then you know you have trouble. Good luck! Liz From jwcolby at colbyconsulting.com Mon May 11 12:01:07 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 11 May 2009 13:01:07 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <200905111603.n4BG3VNP028000@databaseadvisors.com> References: <200905111603.n4BG3VNP028000@databaseadvisors.com> Message-ID: <4A0859D3.4060903@colbyconsulting.com> >Had one guy who took exception to being asked to do such menial tests when he had blah-blah years experience, but we insisted, put him in a quiet room and when I went in half an hour later to see how he was doing he'd legged it. Didn't hear from him again. I'd plumb forgot about that interview. So that was you guys eh? ;) John W. Colby www.ColbyConsulting.com Andy Lacey wrote: > Hi Max, how're you doing? > > I used to set a couple of practical tests. > > The first was to give them some Access code with faults in it and leave them > for a while asking them to critique it. You can throw in what you want, from > not Dim'ing vars or not closing recordsets to logic or calculation errors. > Whatever fits your bill. > > The second was to give them an app which crashed when you ran it and tell > them to fix it. Nothing too trivial but it should show problem solving > capabilities and experience with debug. You could deliberately remove error > handlers and see if they put them in. > > The tests didn't distinguish the good from the great, but they did get rid > of the blaggers. Had one guy who took exception to being asked to do such > menial tests when he had blah-blah years experience, but we insisted, put > him in a quiet room and when I went in half an hour later to see how he was > doing he'd legged it. Didn't hear from him again. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > Date: 11/05/09 15:15 > > > Developer - definitely. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 11 May 2009 15:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > I think it depends on how this person's going to use Access -- are they > going to be a user or a developer? > > Susan H. > > >> I would start with a simple database with one form. Set the form up with >> some code that does a calculation but set the underlying data so that it >> causes an 'Invalid use of Null' or a divide by zero in the calculation >> code. Let the candidate debug it while you watch. You should be able to >> tell pretty quickly how familiar they are with Access. >> >> Doug Steele > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ________________________________________________ > Message sent using UebiMiau 2.7.2 > From andy at minstersystems.co.uk Mon May 11 13:13:09 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 11 May 2009 19:13:09 +0100 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4A0859D3.4060903@colbyconsulting.com> Message-ID: <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> ROTFL You'd have eaten it and come back for more JC. Anyway in my book anyone who's arrogant enough to think he's above being tested can go jump. I should have shown him the door when he muttered about being asked to do it. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 11 May 2009 18:01 To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing >Had one guy who took exception to being asked to do such menial tests when he had blah-blah years experience, but we insisted, put him in a quiet room and when I went in half an hour later to see how he was doing he'd legged it. Didn't hear from him again. I'd plumb forgot about that interview. So that was you guys eh? ;) John W. Colby www.ColbyConsulting.com Andy Lacey wrote: > Hi Max, how're you doing? > > I used to set a couple of practical tests. > > The first was to give them some Access code with faults in it and leave them > for a while asking them to critique it. You can throw in what you want, from > not Dim'ing vars or not closing recordsets to logic or calculation errors. > Whatever fits your bill. > > The second was to give them an app which crashed when you ran it and tell > them to fix it. Nothing too trivial but it should show problem solving > capabilities and experience with debug. You could deliberately remove error > handlers and see if they put them in. > > The tests didn't distinguish the good from the great, but they did get rid > of the blaggers. Had one guy who took exception to being asked to do such > menial tests when he had blah-blah years experience, but we insisted, put > him in a quiet room and when I went in half an hour later to see how he was > doing he'd legged it. Didn't hear from him again. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > Date: 11/05/09 15:15 > > > Developer - definitely. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 11 May 2009 15:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > I think it depends on how this person's going to use Access -- are they > going to be a user or a developer? > > Susan H. > > >> I would start with a simple database with one form. Set the form up with >> some code that does a calculation but set the underlying data so that it >> causes an 'Invalid use of Null' or a divide by zero in the calculation >> code. Let the candidate debug it while you watch. You should be able to >> tell pretty quickly how familiar they are with Access. >> >> Doug Steele > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Mon May 11 13:26:11 2009 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 11 May 2009 11:26:11 -0700 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <7c7841600905091000t266da157id324206054fbb1b5@mail.gmail.com> References: <7c7841600905091000t266da157id324206054fbb1b5@mail.gmail.com> Message-ID: <8786a4c00905111126q3c25099at3b626b79f4e90d07@mail.gmail.com> And they are so good at it that they get to call themselves experts! ;) This was a great thread. I hate those stupid links, "join now to see the answer" On Sat, May 9, 2009 at 10:00 AM, Kenneth Ismert wrote: > expertsexchange.com -- I thought that was a gender-reassignment surgery > site. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Mon May 11 13:37:12 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 11 May 2009 11:37:12 -0700 (PDT) Subject: [AccessD] Open Email with "Reply To All" Message-ID: <312820.30199.qm@web110211.mail.gq1.yahoo.com> I?got such a good answer here on my last outlook question I thought I'd give it another shot. I?am working on an app that list emails on my inbox. I was?able to get?code from Darren on?simply clicking a row?in my?Access?form's list and opening the mail. Now I would like to open as though I clicked Reply To All. Any direction would be appreciated. ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us From jerbach at gmail.com Mon May 11 13:40:01 2009 From: jerbach at gmail.com (Janet Erbach) Date: Mon, 11 May 2009 13:40:01 -0500 Subject: [AccessD] Form Corruption, Part II Message-ID: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> Hello, all - I have more questions about dad-blasted form corruption. EAT BLOAT ============================= I tried using this on my back end database. I ran the export function, created a new database, linked all the appropriate tables, imported the ones that were not linked, and then imported my forms. At this point my database was 110 MB (after a compact and repair) ...just as big as it was before I tried to de-bloat it, and I hadn't even brought in queries, modules, or reports yet. I stopped the process, and re-installed my app using the installer that comes with it. (54 MB). After running some custom code I created to import my customizations, my backend was still only 62 MB. Was I doing something wrong with EatBloat? It did end up being a worthwhile exercise for me, because I learned that I can shrink my backend down by re-installing things from scratch. But I'd like to know if I was going about it wrong for future reference. Exporting to Txt ============================= One of my complex forms went dead on me again today after I made a minor change to the query source. I couldn't open it, couldn't run it. So I deleted it, imported a back up from a few days ago, and copied all my code from the 'good' form into a text file. I deleted the code and saved the form; since this was an embedded form, I did the same thing with the parent form. Next I did a compact and repair, then re-opened my detail form to try once again to make the change to my query source. Did that, saved it, copied back my code from the txt files I created and...Kaboom. It went dead on me again. What's the proper procedure for using txt files to try and salvage code from a corrupt form? Sorry for being verbose about it. I really would like to get the demons out of my form if I can without having to re-build it from scratch... Janet Erbach Natural Healthy Concepts From davidmcafee at gmail.com Mon May 11 14:30:28 2009 From: davidmcafee at gmail.com (David McAfee) Date: Mon, 11 May 2009 12:30:28 -0700 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> References: <4A0859D3.4060903@colbyconsulting.com> <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> Message-ID: <8786a4c00905111230l3b606687q3907f1fb8485fa35@mail.gmail.com> I was given a test in one interview once and they gave me a paper and pencil. I didn't like it as I don't usually write my code down on paper. I tend to type and copy paste stuff around a lot. Stuff like connection strings I still don't know by heart, I simply make up a udl and copy it over. I also had an interviewer ask me to orally explain how I would select customers from a displayed table into a combo box. We were talking about ADPs right before this, so I confirm "Is this in an ADP?". He said yes. so I tell him set the combobox rowsource to "EXEC stpYourProcedureNameHere". He tells me that I am wrong that I need to write VBA code to call a pass through query. I kindly explain to him that pass throughs do not exist in ADPs/ADEs, only in MDBs/MDEs. He didn't like that. :/ D On Mon, May 11, 2009 at 11:13 AM, Andy Lacey wrote: > ROTFL > > You'd have eaten it and come back for more JC. > > Anyway in my book anyone who's arrogant enough to think he's above being > tested can go jump. I should have shown him the door when he muttered about > being asked to do it. > > Andy > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 11 May 2009 18:01 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > > >Had one guy who took exception to being asked to do such menial tests > when > he had blah-blah years > experience, but we insisted, put him in a quiet room and when I went in > half > an hour later to see > how he was doing he'd legged it. Didn't hear from him again. > > I'd plumb forgot about that interview. So that was you guys eh? > > ;) > > John W. Colby > www.ColbyConsulting.com > > > Andy Lacey wrote: > > Hi Max, how're you doing? > > > > I used to set a couple of practical tests. > > > > The first was to give them some Access code with faults in it and leave > them > > for a while asking them to critique it. You can throw in what you want, > from > > not Dim'ing vars or not closing recordsets to logic or calculation > errors. > > Whatever fits your bill. > > > > The second was to give them an app which crashed when you ran it and tell > > them to fix it. Nothing too trivial but it should show problem solving > > capabilities and experience with debug. You could deliberately remove > error > > handlers and see if they put them in. > > > > The tests didn't distinguish the good from the great, but they did get > rid > > of the blaggers. Had one guy who took exception to being asked to do such > > menial tests when he had blah-blah years experience, but we insisted, put > > him in a quiet room and when I went in half an hour later to see how he > was > > doing he'd legged it. Didn't hear from him again. > > > > -- > > Andy > > > > > > --------- Original Message -------- > > From: "Access Developers discussion and problem solving" > > > > To: "'Access Developers discussion and problem solving'" > > > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Date: 11/05/09 15:15 > > > > > > Developer - definitely. > > > > Max > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > > Sent: 11 May 2009 15:37 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > > > I think it depends on how this person's going to use Access -- are they > > going to be a user or a developer? > > > > Susan H. > > > > > >> I would start with a simple database with one form. Set the form up with > >> some code that does a calculation but set the underlying data so that it > >> causes an 'Invalid use of Null' or a divide by zero in the calculation > >> code. Let the candidate debug it while you watch. You should be able to > >> tell pretty quickly how familiar they are with Access. > >> > >> Doug Steele > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Mon May 11 14:32:42 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 11 May 2009 20:32:42 +0100 Subject: [AccessD] Form Corruption, Part II In-Reply-To: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> Message-ID: <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> Hello Janet, The latest version is here http://www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.zip as the name implies, it is written for Access 2003. If you have used it on an MDB which is already corrupted it may not work as expected. It does not run any code to correct errors or deficiencies in the database. All it does is export objects in text format and re-import them again. That is all it does. Exporting objects as text strips away any superfluous characters. If you open them after export using NotePad or similar you should just see basic text that makes up that object. The process of importing objects from the text format means that Access runs code to re-create the object which should be in the correct format for that type of object. It is not a wonder-program. Purely a utility to export as text (EAT) which drops any bloat, particularly that found in modules. If your bloat is caused by, say a memo field then it will have no affect on that table whatsoever. That is an issue for tables and the only way I have found to get rid of memo field bloat is to import the table into another table and then rename it. If you export a table as a csv or xls then, again, it should drop any bloat. You can then rebuild the table using an import routine. If you want to use it on a BE then you have to install it on the BE MDB. It only imports/exports the objects in the MDB that it is sitting in. It is correct to link the tables before importing as Queries etc look to find the tables that they are coded for. Here is the sequence: BACKUP FIRST Download and unzip the EatBloat. Open your FE. Import the frmEatBloat and run it. Export your objects. Close the FE Make a copy of EatBloat.mdb Open it. Run the frmEatBloat and import your objects that you exported from the FE (after linking in the tables). Close and rename the MDB to whatever you want it to be. Open the FE and do a compact and repair. Close FE. The size is now the best you can get from the above. Now do the same on the BE. That is all it can do. Good luck, Janet. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: 11 May 2009 19:40 To: Access Developers discussion and problem solving Subject: [AccessD] Form Corruption, Part II Hello, all - I have more questions about dad-blasted form corruption. EAT BLOAT ============================= I tried using this on my back end database. I ran the export function, created a new database, linked all the appropriate tables, imported the ones that were not linked, and then imported my forms. At this point my database was 110 MB (after a compact and repair) ...just as big as it was before I tried to de-bloat it, and I hadn't even brought in queries, modules, or reports yet. I stopped the process, and re-installed my app using the installer that comes with it. (54 MB). After running some custom code I created to import my customizations, my backend was still only 62 MB. Was I doing something wrong with EatBloat? It did end up being a worthwhile exercise for me, because I learned that I can shrink my backend down by re-installing things from scratch. But I'd like to know if I was going about it wrong for future reference. Exporting to Txt ============================= One of my complex forms went dead on me again today after I made a minor change to the query source. I couldn't open it, couldn't run it. So I deleted it, imported a back up from a few days ago, and copied all my code from the 'good' form into a text file. I deleted the code and saved the form; since this was an embedded form, I did the same thing with the parent form. Next I did a compact and repair, then re-opened my detail form to try once again to make the change to my query source. Did that, saved it, copied back my code from the txt files I created and...Kaboom. It went dead on me again. What's the proper procedure for using txt files to try and salvage code from a corrupt form? Sorry for being verbose about it. I really would like to get the demons out of my form if I can without having to re-build it from scratch... Janet Erbach Natural Healthy Concepts -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon May 11 14:33:42 2009 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 11 May 2009 14:33:42 -0500 Subject: [AccessD] With Events? Detect When a Printer Has Completed? Message-ID: I need to be able to detect when a printer has completed a print job from the current PC. Does anyone have a reference where I can look this up? This sounds suspiciously like a WithEvents solution! ;-) Thanks! Dan From max.wanadoo at gmail.com Mon May 11 14:47:31 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 11 May 2009 20:47:31 +0100 Subject: [AccessD] With Events? Detect When a Printer Has Completed? In-Reply-To: References: Message-ID: <4a0880d6.1701d00a.4627.56d4@mx.google.com> Dan, I have just pulled this bit of code out which shows how I was using it. It is referring to a word object If lngQueuePID > 0 Then .ActiveDocument.SaveAs strSaveNamePath .Options.PrintBackground = True '.ActiveDocument.PrintOut ActiveDocument.PrintOut Background:=False ' keep here until document is printed Do While .BackgroundPrintingStatus > 0 StatusBar = .BackgroundPrintingStatus & " print jobs are queued up" MsgBox .BackgroundPrintingStatus & " print jobs have been sent to your default printer" DoEvents Loop .ActiveDocument.Close .Quit Else .ActiveDocument.SaveAs strSaveNamePath '.PrintOut Background .Visible = True .Activate End If End With You may be able to pick the bones out of this. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 11 May 2009 20:34 To: 'Access Developers discussion and problem solving' Subject: [AccessD] With Events? Detect When a Printer Has Completed? I need to be able to detect when a printer has completed a print job from the current PC. Does anyone have a reference where I can look this up? This sounds suspiciously like a WithEvents solution! ;-) Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jerbach at gmail.com Mon May 11 14:49:51 2009 From: jerbach at gmail.com (Janet Erbach) Date: Mon, 11 May 2009 14:49:51 -0500 Subject: [AccessD] Form Corruption, Part II In-Reply-To: <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> Message-ID: <6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> Max - 'Deficiencies in the database'. I'm grinning from ear to ear on THAT one. The guys who built this app are not, in my view, the most stellar of access developers...it comes out of the box already-junked-up. And since I'm not the most stellar of developers either...well, you know. Thanks for clarifying how EatBloat works. I THINK that's what I did...but I will try it again in the next week or so using your instructions to see if I get different results. And it is TOO a wonder program...from all I've heard! When I've tried again I'll let you know what happens. Janet On Mon, May 11, 2009 at 2:32 PM, Max Wanadoo wrote: > Hello Janet, > > > > The latest version is here > > > > > http://www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.zip > > > > as the name implies, it is written for Access 2003. > > > > If you have used it on an MDB which is already corrupted it may not work as > expected. It does not run any code to correct errors or deficiencies in > the > database. All it does is export objects in text format and re-import them > again. That is all it does. > > > > Exporting objects as text strips away any superfluous characters. If you > open them after export using NotePad or similar you should just see basic > text that makes up that object. > > > > The process of importing objects from the text format means that Access > runs > code to re-create the object which should be in the correct format for that > type of object. > > > > It is not a wonder-program. Purely a utility to export as text (EAT) which > drops any bloat, particularly that found in modules. > > > > If your bloat is caused by, say a memo field then it will have no affect on > that table whatsoever. That is an issue for tables and the only way I have > found to get rid of memo field bloat is to import the table into another > table and then rename it. If you export a table as a csv or xls then, > again, it should drop any bloat. You can then rebuild the table using an > import routine. > > > > If you want to use it on a BE then you have to install it on the BE MDB. > It > only imports/exports the objects in the MDB that it is sitting in. > > It is correct to link the tables before importing as Queries etc look to > find the tables that they are coded for. > > > > Here is the sequence: > > BACKUP FIRST > > Download and unzip the EatBloat. > > Open your FE. Import the frmEatBloat and run it. Export your objects. > Close the FE > > Make a copy of EatBloat.mdb Open it. Run the frmEatBloat and import your > objects that you exported from the FE (after linking in the tables). Close > and rename the MDB to whatever you want it to be. > > Open the FE and do a compact and repair. Close FE. > > The size is now the best you can get from the above. > > > > Now do the same on the BE. > > > > That is all it can do. > > > > Good luck, Janet. > > > > Max > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: 11 May 2009 19:40 > To: Access Developers discussion and problem solving > Subject: [AccessD] Form Corruption, Part II > > > > Hello, all - > > > > I have more questions about dad-blasted form corruption. > > > > EAT BLOAT > > ============================= > > I tried using this on my back end database. I ran the export function, > > created a new database, linked all the appropriate tables, imported the > ones > > that were not linked, and then imported my forms. At this point my > database > > was 110 MB (after a compact and repair) ...just as big as it was before I > > tried to de-bloat it, and I hadn't even brought in queries, modules, or > > reports yet. I stopped the process, and re-installed my app using the > > installer that comes with it. (54 MB). After running some custom code I > > created to import my customizations, my backend was still only 62 MB. > > > > Was I doing something wrong with EatBloat? It did end up being a > worthwhile > > exercise for me, because I learned that I can shrink my backend down by > > re-installing things from scratch. But I'd like to know if I was going > > about it wrong for future reference. > > > > Exporting to Txt > > ============================= > > One of my complex forms went dead on me again today after I made a minor > > change to the query source. I couldn't open it, couldn't run it. So I > > deleted it, imported a back up from a few days ago, and copied all my code > > from the 'good' form into a text file. I deleted the code and saved the > > form; since this was an embedded form, I did the same thing with the > parent > > form. Next I did a compact and repair, then re-opened my detail form to > try > > once again to make the change to my query source. Did that, saved it, > > copied back my code from the txt files I created and...Kaboom. It went > dead > > on me again. > > > > What's the proper procedure for using txt files to try and salvage code > from > > a corrupt form? > > > > > > Sorry for being verbose about it. I really would like to get the demons > out > > of my form if I can without having to re-build it from scratch... > > > > Janet Erbach > > Natural Healthy Concepts > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From max.wanadoo at gmail.com Mon May 11 14:57:37 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 11 May 2009 20:57:37 +0100 Subject: [AccessD] Form Corruption, Part II In-Reply-To: <6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> <6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> Message-ID: <4a088335.0a1ad00a.543d.7577@mx.google.com> Janet, don't be too hard on them. If you could see the junk I have written over the last 10 years because I have never had time to start over. It is and has always been a case of "keep what you have and build on it". I would love to start over but we are just soooo far down the road that I would need a 6 month sabbatical to do it all in, but hardly a day goes by without somebody wanting something new. Hope the new "guy" can get up to speed quickly. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: 11 May 2009 20:50 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Corruption, Part II Max - 'Deficiencies in the database'. I'm grinning from ear to ear on THAT one. The guys who built this app are not, in my view, the most stellar of access developers...it comes out of the box already-junked-up. And since I'm not the most stellar of developers either...well, you know. Thanks for clarifying how EatBloat works. I THINK that's what I did...but I will try it again in the next week or so using your instructions to see if I get different results. And it is TOO a wonder program...from all I've heard! When I've tried again I'll let you know what happens. Janet On Mon, May 11, 2009 at 2:32 PM, Max Wanadoo wrote: > Hello Janet, > > > > The latest version is here > > > > > http://www.peoplelinks.co.uk/msaccess/downloads/EatBloatV4-A2003.zip > > > > as the name implies, it is written for Access 2003. > > > > If you have used it on an MDB which is already corrupted it may not work as > expected. It does not run any code to correct errors or deficiencies in > the > database. All it does is export objects in text format and re-import them > again. That is all it does. > > > > Exporting objects as text strips away any superfluous characters. If you > open them after export using NotePad or similar you should just see basic > text that makes up that object. > > > > The process of importing objects from the text format means that Access > runs > code to re-create the object which should be in the correct format for that > type of object. > > > > It is not a wonder-program. Purely a utility to export as text (EAT) which > drops any bloat, particularly that found in modules. > > > > If your bloat is caused by, say a memo field then it will have no affect on > that table whatsoever. That is an issue for tables and the only way I have > found to get rid of memo field bloat is to import the table into another > table and then rename it. If you export a table as a csv or xls then, > again, it should drop any bloat. You can then rebuild the table using an > import routine. > > > > If you want to use it on a BE then you have to install it on the BE MDB. > It > only imports/exports the objects in the MDB that it is sitting in. > > It is correct to link the tables before importing as Queries etc look to > find the tables that they are coded for. > > > > Here is the sequence: > > BACKUP FIRST > > Download and unzip the EatBloat. > > Open your FE. Import the frmEatBloat and run it. Export your objects. > Close the FE > > Make a copy of EatBloat.mdb Open it. Run the frmEatBloat and import your > objects that you exported from the FE (after linking in the tables). Close > and rename the MDB to whatever you want it to be. > > Open the FE and do a compact and repair. Close FE. > > The size is now the best you can get from the above. > > > > Now do the same on the BE. > > > > That is all it can do. > > > > Good luck, Janet. > > > > Max > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach > Sent: 11 May 2009 19:40 > To: Access Developers discussion and problem solving > Subject: [AccessD] Form Corruption, Part II > > > > Hello, all - > > > > I have more questions about dad-blasted form corruption. > > > > EAT BLOAT > > ============================= > > I tried using this on my back end database. I ran the export function, > > created a new database, linked all the appropriate tables, imported the > ones > > that were not linked, and then imported my forms. At this point my > database > > was 110 MB (after a compact and repair) ...just as big as it was before I > > tried to de-bloat it, and I hadn't even brought in queries, modules, or > > reports yet. I stopped the process, and re-installed my app using the > > installer that comes with it. (54 MB). After running some custom code I > > created to import my customizations, my backend was still only 62 MB. > > > > Was I doing something wrong with EatBloat? It did end up being a > worthwhile > > exercise for me, because I learned that I can shrink my backend down by > > re-installing things from scratch. But I'd like to know if I was going > > about it wrong for future reference. > > > > Exporting to Txt > > ============================= > > One of my complex forms went dead on me again today after I made a minor > > change to the query source. I couldn't open it, couldn't run it. So I > > deleted it, imported a back up from a few days ago, and copied all my code > > from the 'good' form into a text file. I deleted the code and saved the > > form; since this was an embedded form, I did the same thing with the > parent > > form. Next I did a compact and repair, then re-opened my detail form to > try > > once again to make the change to my query source. Did that, saved it, > > copied back my code from the txt files I created and...Kaboom. It went > dead > > on me again. > > > > What's the proper procedure for using txt files to try and salvage code > from > > a corrupt form? > > > > > > Sorry for being verbose about it. I really would like to get the demons > out > > of my form if I can without having to re-build it from scratch... > > > > Janet Erbach > > Natural Healthy Concepts > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon May 11 15:23:04 2009 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 11 May 2009 15:23:04 -0500 Subject: [AccessD] With Events? Detect When a Printer Has Completed? In-Reply-To: <4a0880d6.1701d00a.4627.56d4@mx.google.com> References: <4a0880d6.1701d00a.4627.56d4@mx.google.com> Message-ID: Hi Max, Well - this is specific to Word when that doc has been printed. My App might print any file using ShellExecute. I did find this: http://www.merrioncomputing.com/Programming/WatchPrinter.htm Unfortunately, there's a LOT of bones here. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Monday, May 11, 2009 2:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] With Events? Detect When a Printer Has Completed? Dan, I have just pulled this bit of code out which shows how I was using it. It is referring to a word object If lngQueuePID > 0 Then .ActiveDocument.SaveAs strSaveNamePath .Options.PrintBackground = True '.ActiveDocument.PrintOut ActiveDocument.PrintOut Background:=False ' keep here until document is printed Do While .BackgroundPrintingStatus > 0 StatusBar = .BackgroundPrintingStatus & " print jobs are queued up" MsgBox .BackgroundPrintingStatus & " print jobs have been sent to your default printer" DoEvents Loop .ActiveDocument.Close .Quit Else .ActiveDocument.SaveAs strSaveNamePath '.PrintOut Background .Visible = True .Activate End If End With You may be able to pick the bones out of this. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 11 May 2009 20:34 To: 'Access Developers discussion and problem solving' Subject: [AccessD] With Events? Detect When a Printer Has Completed? I need to be able to detect when a printer has completed a print job from the current PC. Does anyone have a reference where I can look this up? This sounds suspiciously like a WithEvents solution! ;-) Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon May 11 15:30:37 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 11 May 2009 21:30:37 +0100 Subject: [AccessD] With Events? Detect When a Printer Has Completed? In-Reply-To: References: <4a0880d6.1701d00a.4627.56d4@mx.google.com> Message-ID: <4a088af0.1c05d00a.7cef.ffffab47@mx.google.com> Dan, it actually doesn't look too bad - the puff is because of the need to explain. Give it a try, get it working, post it back here. Good luck Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 11 May 2009 21:23 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] With Events? Detect When a Printer Has Completed? Hi Max, Well - this is specific to Word when that doc has been printed. My App might print any file using ShellExecute. I did find this: http://www.merrioncomputing.com/Programming/WatchPrinter.htm Unfortunately, there's a LOT of bones here. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Monday, May 11, 2009 2:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] With Events? Detect When a Printer Has Completed? Dan, I have just pulled this bit of code out which shows how I was using it. It is referring to a word object If lngQueuePID > 0 Then .ActiveDocument.SaveAs strSaveNamePath .Options.PrintBackground = True '.ActiveDocument.PrintOut ActiveDocument.PrintOut Background:=False ' keep here until document is printed Do While .BackgroundPrintingStatus > 0 StatusBar = .BackgroundPrintingStatus & " print jobs are queued up" MsgBox .BackgroundPrintingStatus & " print jobs have been sent to your default printer" DoEvents Loop .ActiveDocument.Close .Quit Else .ActiveDocument.SaveAs strSaveNamePath '.PrintOut Background .Visible = True .Activate End If End With You may be able to pick the bones out of this. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: 11 May 2009 20:34 To: 'Access Developers discussion and problem solving' Subject: [AccessD] With Events? Detect When a Printer Has Completed? I need to be able to detect when a printer has completed a print job from the current PC. Does anyone have a reference where I can look this up? This sounds suspiciously like a WithEvents solution! ;-) Thanks! Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Mon May 11 16:30:43 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 12 May 2009 07:30:43 +1000 Subject: [AccessD] With Events? Detect When a Printer Has Completed? In-Reply-To: References: , <4a0880d6.1701d00a.4627.56d4@mx.google.com>, Message-ID: <4A089903.25439.60B738F6@stuart.lexacorp.com.pg> The worst part of that is this bit: This will wait forever, unless a printer event occurs. Note that because Visual Basic is a single threaded application no user interface updates can take place while the wait is active - if you are putting this code in an application that has a user interface you might do well to put that in a totally seperate application and use registered windows messages to communicate between them. On 11 May 2009 at 15:23, Dan Waters wrote: > My App might print any file using ShellExecute. I did find this: > > http://www.merrioncomputing.com/Programming/WatchPrinter.htm > > Unfortunately, there's a LOT of bones here. > > Thanks! > Dan > From fuller.artful at gmail.com Mon May 11 20:25:18 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 11 May 2009 21:25:18 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <8786a4c00905111230l3b606687q3907f1fb8485fa35@mail.gmail.com> References: <4A0859D3.4060903@colbyconsulting.com> <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> <8786a4c00905111230l3b606687q3907f1fb8485fa35@mail.gmail.com> Message-ID: <29f585dd0905111825p4c57d1f2rebeb15dc2bb14415@mail.gmail.com> Good for you! Once in a while people don't like to be corrected, but occasionally some do. This is reaching way back, to Grade Seven, when my teacher was Ms. Mosquin, and she magnificently gorgeous and I suppose the first love of my life (I was 12 and she was 20+ but that didn't matter to my young heart)... And one day in class she said "spasdomically" and I raised my hand and said "Miss Mosquin, it's 'spasmodically' not 'spasdomically'". To her credit, she looked it up and discovered that I was correct, and publicly admitted same to the class. And she went further. She told our class that if anyone has any questions on how to spell any word, consult Arthur! And that year I won the provincial spelling bee. I still posess the medal that proves that at that time and place I was the best speller in the province of Manitoba, Canada. Among other useless skills, I can also recite the alphabet backwards (which I learned from a magnificent Brit band called The Soft Machine, which was in turn named after a William Burroughs novel). A. From jwcolby at colbyconsulting.com Mon May 11 21:49:21 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 11 May 2009 22:49:21 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <29f585dd0905111825p4c57d1f2rebeb15dc2bb14415@mail.gmail.com> References: <4A0859D3.4060903@colbyconsulting.com> <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> <8786a4c00905111230l3b606687q3907f1fb8485fa35@mail.gmail.com> <29f585dd0905111825p4c57d1f2rebeb15dc2bb14415@mail.gmail.com> Message-ID: <4A08E3B1.80604@colbyconsulting.com> Arthur, In fact "spasdomically" is a real word, and is the result when a Dom is working on a Sub and gets a little overzealous. The Sub goes into spasms otherwise known as "spasdoms". I'm thinking you don't know everything there is to know about "Miss Mosquin". In fact I'm guessing "Mistress" would be perhaps closer to the truth. ;) John W. Colby www.ColbyConsulting.com Arthur Fuller wrote: > Good for you! Once in a while people don't like to be corrected, but > occasionally some do. This is reaching way back, to Grade Seven, when my > teacher was Ms. Mosquin, and she magnificently gorgeous and I suppose the > first love of my life (I was 12 and she was 20+ but that didn't matter to my > young heart)... And one day in class she said "spasdomically" and I raised > my hand and said "Miss Mosquin, it's 'spasmodically' not 'spasdomically'". > To her credit, she looked it up and discovered that I was correct, and > publicly admitted same to the class. And she went further. She told our > class that if anyone has any questions on how to spell any word, consult > Arthur! And that year I won the provincial spelling bee. I still posess the > medal that proves that at that time and place I was the best speller in the > province of Manitoba, Canada. Among other useless skills, I can also recite > the alphabet backwards (which I learned from a magnificent Brit band called > The Soft Machine, which was in turn named after a William Burroughs novel). > > A. From Darryl.Collins at coles.com.au Mon May 11 22:09:45 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Tue, 12 May 2009 13:09:45 +1000 Subject: [AccessD] MS Access Skills Assessment and Testing - OT In-Reply-To: <4A08E3B1.80604@colbyconsulting.com> References: <4A0859D3.4060903@colbyconsulting.com> <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> <8786a4c00905111230l3b606687q3907f1fb8485fa35@mail.gmail.com> <29f585dd0905111825p4c57d1f2rebeb15dc2bb14415@mail.gmail.com> <4A08E3B1.80604@colbyconsulting.com> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13AA0@WPEXCH22.retail.ad.cmltd.net.au> heh... this list get more interesting everyday :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, 12 May 2009 12:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access Skills Assessment and Testing Arthur, In fact "spasdomically" is a real word, and is the result when a Dom is working on a Sub and gets a little overzealous. The Sub goes into spasms otherwise known as "spasdoms". I'm thinking you don't know everything there is to know about "Miss Mosquin". In fact I'm guessing "Mistress" would be perhaps closer to the truth. ;) John W. Colby www.ColbyConsulting.com Arthur Fuller wrote: > Good for you! Once in a while people don't like to be corrected, but > occasionally some do. This is reaching way back, to Grade Seven, when my > teacher was Ms. Mosquin, and she magnificently gorgeous and I suppose the > first love of my life (I was 12 and she was 20+ but that didn't matter to my > young heart)... And one day in class she said "spasdomically" and I raised > my hand and said "Miss Mosquin, it's 'spasmodically' not 'spasdomically'". > To her credit, she looked it up and discovered that I was correct, and > publicly admitted same to the class. And she went further. She told our > class that if anyone has any questions on how to spell any word, consult > Arthur! And that year I won the provincial spelling bee. I still posess the > medal that proves that at that time and place I was the best speller in the > province of Manitoba, Canada. Among other useless skills, I can also recite > the alphabet backwards (which I learned from a magnificent Brit band called > The Soft Machine, which was in turn named after a William Burroughs novel). > > A. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From fuller.artful at gmail.com Mon May 11 23:26:55 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 12 May 2009 00:26:55 -0400 Subject: [AccessD] MS Access Skills Assessment and Testing In-Reply-To: <4A08E3B1.80604@colbyconsulting.com> References: <4A0859D3.4060903@colbyconsulting.com> <9A0AAE29EF4448268FFEFC214EE363BA@MINSTER> <8786a4c00905111230l3b606687q3907f1fb8485fa35@mail.gmail.com> <29f585dd0905111825p4c57d1f2rebeb15dc2bb14415@mail.gmail.com> <4A08E3B1.80604@colbyconsulting.com> Message-ID: <29f585dd0905112126m3f95fa9fj930a2f44cba42add@mail.gmail.com> I wish! LOL. On Mon, May 11, 2009 at 10:49 PM, jwcolby wrote: > Arthur, > > In fact "spasdomically" is a real word, and is the result when a Dom is > working on a Sub and gets a > little overzealous. The Sub goes into spasms otherwise known as > "spasdoms". > > I'm thinking you don't know everything there is to know about "Miss > Mosquin". In fact I'm guessing > "Mistress" would be perhaps closer to the truth. > > ;) > From max.wanadoo at gmail.com Tue May 12 02:40:20 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 12 May 2009 08:40:20 +0100 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> Message-ID: Hi Andy, I am well, thank y ou. Thanks for the suggestions. The problem is I don't have any code with faults in it and I don't have any apps that crash. I have no experience whatsoever of creating these. What do I do now? Max -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Monday, May 11, 2009 6:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max, how're you doing? > > I used to set a couple of practical tests. > > The first was to give them some Access code with faults in it and leave > them > for a while asking them to critique it. You can throw in what you want, > from > not Dim'ing vars or not closing recordsets to logic or calculation errors. > Whatever fits your bill. > > The second was to give them an app which crashed when you ran it and tell > them to fix it. Nothing too trivial but it should show problem solving > capabilities and experience with debug. You could deliberately remove error > handlers and see if they put them in. > > The tests didn't distinguish the good from the great, but they did get rid > of the blaggers. Had one guy who took exception to being asked to do such > menial tests when he had blah-blah years experience, but we insisted, put > him in a quiet room and when I went in half an hour later to see how he was > doing he'd legged it. Didn't hear from him again. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > Date: 11/05/09 15:15 > > > Developer - definitely. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 11 May 2009 15:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > I think it depends on how this person's going to use Access -- are they > going to be a user or a developer? > > Susan H. > > > >I would start with a simple database with one form. Set the form up > >with some code that does a calculation but set the underlying data so > >that it causes an 'Invalid use of Null' or a divide by zero in the > >calculation code. Let the candidate debug it while you watch. You > >should be able to tell pretty quickly how familiar they are with Access. > > > > Doug Steele > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > > > -- > 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 May 12 04:24:46 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 12 May 2009 9:24:46 +0000 Subject: [AccessD] FW: MS Access Skills Assessment and Testing Message-ID: <200905120824.n4C8Ob6I023026@databaseadvisors.com> I realise that's a major stumbling block. I too had this problem and had to contact a leading London software house to supply me with what I needed. It was ok though, they only charged ??200 per hour and said they had lots of this kind of material for me to choose from. -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] FW: MS Access Skills Assessment and Testing Date: 12/05/09 07:44 Hi Andy, I am well, thank y ou. Thanks for the suggestions. The problem is I don't have any code with faults in it and I don't have any apps that crash. I have no experience whatsoever of creating these. What do I do now? Max -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Monday, May 11, 2009 6:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max, how're you doing? > > I used to set a couple of practical tests. > > The first was to give them some Access code with faults in it and leave > them > for a while asking them to critique it. You can throw in what you want, > from > not Dim'ing vars or not closing recordsets to logic or calculation errors. > Whatever fits your bill. > > The second was to give them an app which crashed when you ran it and tell > them to fix it. Nothing too trivial but it should show problem solving > capabilities and experience with debug. You could deliberately remove error > handlers and see if they put them in. > > The tests didn't distinguish the good from the great, but they did get rid > of the blaggers. Had one guy who took exception to being asked to do such > menial tests when he had blah-blah years experience, but we insisted, put > him in a quiet room and when I went in half an hour later to see how he was > doing he'd legged it. Didn't hear from him again. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > Date: 11/05/09 15:15 > > > Developer - definitely. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 11 May 2009 15:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > I think it depends on how this person's going to use Access -- are they > going to be a user or a developer? > > Susan H. > > > >I would start with a simple database with one form. Set the form up > >with some code that does a calculation but set the underlying data so > >that it causes an 'Invalid use of Null' or a divide by zero in the > >calculation code. Let the candidate debug it while you watch. You > >should be able to tell pretty quickly how familiar they are with Access. > > > > Doug Steele > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 stephen at bondsoftware.co.nz Tue May 12 03:36:51 2009 From: stephen at bondsoftware.co.nz (Stephen) Date: Tue, 12 May 2009 20:36:51 +1200 Subject: [AccessD] FW: MS Access Skills Assessment and Testing Message-ID: <569E08FC48047F4F848850B118195FBE038570@server.BondSoftware.local> ?200 an hour! Of course you said 'no problem ... I'll take six'. Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Tuesday, 12 May 2009 8:31 p.m. To: Stephen Subject: Re: [AccessD] FW: MS Access Skills Assessment and Testing I realise that's a major stumbling block. I too had this problem and had to contact a leading London software house to supply me with what I needed. It was ok though, they only charged ??200 per hour and said they had lots of this kind of material for me to choose from. -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] FW: MS Access Skills Assessment and Testing Date: 12/05/09 07:44 Hi Andy, I am well, thank y ou. Thanks for the suggestions. The problem is I don't have any code with faults in it and I don't have any apps that crash. I have no experience whatsoever of creating these. What do I do now? Max -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Monday, May 11, 2009 6:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max, how're you doing? > > I used to set a couple of practical tests. > > The first was to give them some Access code with faults in it and > leave them for a while asking them to critique it. You can throw in > what you want, from not Dim'ing vars or not closing recordsets to > logic or calculation errors. > Whatever fits your bill. > > The second was to give them an app which crashed when you ran it and > tell them to fix it. Nothing too trivial but it should show problem > solving capabilities and experience with debug. You could deliberately > remove error > handlers and see if they put them in. > > The tests didn't distinguish the good from the great, but they did get > rid of the blaggers. Had one guy who took exception to being asked to > do such menial tests when he had blah-blah years experience, but we > insisted, put him in a quiet room and when I went in half an hour > later to see how he was > doing he'd legged it. Didn't hear from him again. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > Date: 11/05/09 15:15 > > > Developer - definitely. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: 11 May 2009 15:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > I think it depends on how this person's going to use Access -- are > they going to be a user or a developer? > > Susan H. > > > >I would start with a simple database with one form. Set the form up > >with some code that does a calculation but set the underlying data so > >that it causes an 'Invalid use of Null' or a divide by zero in the > >calculation code. Let the candidate debug it while you watch. You > >should be able to tell pretty quickly how familiar they are with Access. > > > > Doug Steele > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue May 12 09:19:15 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 12 May 2009 09:19:15 -0500 Subject: [AccessD] Test Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0649283D69@houex1.kindermorgan.com> Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From ssharkins at gmail.com Tue May 12 09:25:52 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 12 May 2009 10:25:52 -0400 Subject: [AccessD] FW: MS Access Skills Assessment and Testing References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> Message-ID: <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> I'm available.... for a small fee, I'd be glad to write you a fault app! ;) AHAHAHAHAHAHAHAHAAHAHAH Seriously, here's my best advice. Pay attention to how you use and develop in Access for a while. Take note of the things you do, the decisions you make, and why -- and turn those into a series of questions, realizing of course that the candidate's answer might not mirror yours exactly, but that's not really the point -- if the candidate gives you a reaonable response, that's all that matters. Susan H. > Hi Andy, > I am well, thank y ou. > Thanks for the suggestions. The problem is I don't have any code with > faults in it and I don't have any apps that crash. I have no experience > whatsoever of creating these. What do I do now? From fuller.artful at gmail.com Tue May 12 09:46:46 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 12 May 2009 10:46:46 -0400 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> Message-ID: <29f585dd0905120746t62ad933an84101bbda6535076@mail.gmail.com> Way back in the days of DOS and Clipper, I used to write a column called Seek And Destroy, whose purpose was to present a buggy routine in each column, and to challenge the readers to correct the problem. Typically I would receive lots of answers, and then based on the quality of the email and the quality of the code, make a decision on who would win the prize (a tee shirt). You might be surprised at how difficult it is to create a new bug once a month. We all can do it when trying to write good code, but when you're trying to write subtly buggy code you suddenly realize how difficult it is. The emphasis being on "sublly" -- it's easy enough to write a routine with undeclared variables or trying to add an int and a string, or create a boundary error when referring to an error, etc. It's much more difficult to write a routine that a seasoned programmer can read through and not immediately see the problem, and to puzzle through it for a while until finally noticing the problem. And if you don't think I am correct, try it. Since this is the Access group, let's confine the discussion to Access. See if you can write a buggy procedure or function whose problem is not immediately obvious. Arthur From dbdoug at gmail.com Tue May 12 10:01:43 2009 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 12 May 2009 08:01:43 -0700 Subject: [AccessD] Form Corruption, Part II In-Reply-To: <4a088335.0a1ad00a.543d.7577@mx.google.com> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> <6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> <4a088335.0a1ad00a.543d.7577@mx.google.com> Message-ID: <4dd71a0c0905120801l6b0ae742jcce3d980a8280a6d@mail.gmail.com> I don't know if this will be any help for you, but I once had a form which started crashing the db every time it was opened. I did a decompile and rebuilt the database by starting from scratch and re-importing everything, to no avail. It eventually discovered that I had modified the form's underlying recordsource sql, and it was this that was causing the problem. When I built a standalone query to test, it was immediately obvious that it wasn't working. Once I fixed the recordsource, the form started working again. Doug Steele From max.wanadoo at gmail.com Tue May 12 11:39:52 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 12 May 2009 17:39:52 +0100 Subject: [AccessD] Test In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C0649283D69@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C0649283D69@houex1.kindermorgan.com> Message-ID: <4a09a65b.0a1ad00a.7dd9.ffff94ca@mx.google.com> >> No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. Chester, sorry to disappoint but your test failed insofar as 200 trees died upon receipt and as far as I can tell every electron had a field day. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: 12 May 2009 15:19 To: accessd at databaseadvisors.com Subject: [AccessD] Test Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Tue May 12 11:45:16 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 12 May 2009 17:45:16 +0100 Subject: [AccessD] Form Corruption, Part II In-Reply-To: <4dd71a0c0905120801l6b0ae742jcce3d980a8280a6d@mail.gmail.com> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> <6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> <4a088335.0a1ad00a.543d.7577@mx.google.com> <4dd71a0c0905120801l6b0ae742jcce3d980a8280a6d@mail.gmail.com> Message-ID: <4a09a79e.0a04d00a.60ce.ffffa16a@mx.google.com> Thanks Doug, but I am ok for crashing. Andy sent me a ton of stuff (only kidding) Thanks for the thought - appreciated. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: 12 May 2009 16:02 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Form Corruption, Part II I don't know if this will be any help for you, but I once had a form which started crashing the db every time it was opened. I did a decompile and rebuilt the database by starting from scratch and re-importing everything, to no avail. It eventually discovered that I had modified the form's underlying recordsource sql, and it was this that was causing the problem. When I built a standalone query to test, it was immediately obvious that it wasn't working. Once I fixed the recordsource, the form started working again. Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Tue May 12 11:49:48 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 12 May 2009 17:49:48 +0100 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: <29f585dd0905120746t62ad933an84101bbda6535076@mail.gmail.com> References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> <29f585dd0905120746t62ad933an84101bbda6535076@mail.gmail.com> Message-ID: <4a09a8ae.1c07d00a.653e.ffffa26e@mx.google.com> Arthur, Could I just send you my whole mdb. Should cover my entries for a few years. Max Ps. I remember your column well. As you say, hard to do. Especially one that compiles ok and no cheating. By cheating I mean, for example, having a routine which is located in an attached mde and is there when compiling but then the mde is removed and nothing goes wrong until the code is accessed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 12 May 2009 15:47 To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: MS Access Skills Assessment and Testing Way back in the days of DOS and Clipper, I used to write a column called Seek And Destroy, whose purpose was to present a buggy routine in each column, and to challenge the readers to correct the problem. Typically I would receive lots of answers, and then based on the quality of the email and the quality of the code, make a decision on who would win the prize (a tee shirt). You might be surprised at how difficult it is to create a new bug once a month. We all can do it when trying to write good code, but when you're trying to write subtly buggy code you suddenly realize how difficult it is. The emphasis being on "sublly" -- it's easy enough to write a routine with undeclared variables or trying to add an int and a string, or create a boundary error when referring to an error, etc. It's much more difficult to write a routine that a seasoned programmer can read through and not immediately see the problem, and to puzzle through it for a while until finally noticing the problem. And if you don't think I am correct, try it. Since this is the Access group, let's confine the discussion to Access. See if you can write a buggy procedure or function whose problem is not immediately obvious. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Tue May 12 11:51:51 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 12 May 2009 17:51:51 +0100 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> Message-ID: <4a09a92a.1818d00a.146e.ffff9cea@mx.google.com> Thanks Susan but I don't pay small fees. I am a big-hearted sort of guy and only pay big fees. That being the case, I only ever pay myself. Ta much Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 12 May 2009 15:26 To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: MS Access Skills Assessment and Testing I'm available.... for a small fee, I'd be glad to write you a fault app! ;) AHAHAHAHAHAHAHAHAAHAHAH Seriously, here's my best advice. Pay attention to how you use and develop in Access for a while. Take note of the things you do, the decisions you make, and why -- and turn those into a series of questions, realizing of course that the candidate's answer might not mirror yours exactly, but that's not really the point -- if the candidate gives you a reaonable response, that's all that matters. Susan H. > Hi Andy, > I am well, thank y ou. > Thanks for the suggestions. The problem is I don't have any code with > faults in it and I don't have any apps that crash. I have no experience > whatsoever of creating these. What do I do now? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue May 12 12:28:51 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 12 May 2009 12:28:51 -0500 Subject: [AccessD] Test In-Reply-To: <4a09a65b.0a1ad00a.7dd9.ffff94ca@mx.google.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C0649283D69@houex1.kindermorgan.com> <4a09a65b.0a1ad00a.7dd9.ffff94ca@mx.google.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C0649283DCE@houex1.kindermorgan.com> Just wanted to see if I could post since I have not been able to the last few weeks. Have a good day. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Tuesday, May 12, 2009 11:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test >> No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. Chester, sorry to disappoint but your test failed insofar as 200 trees died upon receipt and as far as I can tell every electron had a field day. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: 12 May 2009 15:19 To: accessd at databaseadvisors.com Subject: [AccessD] Test Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Tue May 12 13:00:30 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 12 May 2009 14:00:30 -0400 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: <4a09a8ae.1c07d00a.653e.ffffa26e@mx.google.com> References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> <456B586ABB5D46DF9B8E4F7F535C8E4A@SusanOne> <29f585dd0905120746t62ad933an84101bbda6535076@mail.gmail.com> <4a09a8ae.1c07d00a.653e.ffffa26e@mx.google.com> Message-ID: <29f585dd0905121100h3b4521ccnf167f77d062ba8d8@mail.gmail.com> Please send. I shall inspect. On Tue, May 12, 2009 at 12:49 PM, Max Wanadoo wrote: > Arthur, > > Could I just send you my whole mdb. Should cover my entries for a few > years. > From wdhindman at dejpolsystems.com Tue May 12 16:05:26 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Tue, 12 May 2009 17:05:26 -0400 Subject: [AccessD] Experts Exchange is pay only References: <4A0470E0.8040503@colbyconsulting.com><4dd71a0c0905081108v6e8c090bu24e9013f1e24f75b@mail.gmail.com> <722E9660B3744AD7A101F58F69ED49C0@creativesystemdesigns.com> Message-ID: <10B936234D914EDEA188EDCC63AA7DA3@jislaptopdev> ...seems like a good new source ...tks William -------------------------------------------------- From: "Jim Lawrence" Sent: Friday, May 08, 2009 4:25 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Experts Exchange is pay only > Hi Doug: > > Thanks for the tip. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Friday, May 08, 2009 11:09 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Experts Exchange is pay only > > Can I put in a recommendation for stackoverflow.com instead of experts > exchange? You're a lot more likely to get a correct answer to any coding > question there, and in minutes not hours. > > Doug Steele > > On Fri, May 8, 2009 at 10:50 AM, jwcolby > wrote: > >> Well for the first time I am now presented with a "pay up or get out" >> screen when I click on an >> Experts Exchange link. Not happening. >> >> Is there any way to cause Google to filter out all Experts Exchange links >> so I don't even see them. >> They are a ton of the responses that I get from my queries and there is > no >> point in seeing them >> listed. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Darryl.Collins at coles.com.au Tue May 12 23:29:14 2009 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 13 May 2009 14:29:14 +1000 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> Message-ID: <57E6E6CA42105A48B977303A2CDC27200815F13AA8@WPEXCH22.retail.ad.cmltd.net.au> hah! I can alwaysvsend you some of my work, especially the early stuff. A lesson in "pitfalls to avoid". :) although I have always been excellent with data, relationships and normalisation - there are plenty of design issues ended up biting me! :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Tuesday, 12 May 2009 5:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: MS Access Skills Assessment and Testing Hi Andy, I am well, thank y ou. Thanks for the suggestions. The problem is I don't have any code with faults in it and I don't have any apps that crash. I have no experience whatsoever of creating these. What do I do now? Max -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Monday, May 11, 2009 6:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > Hi Max, how're you doing? > > I used to set a couple of practical tests. > > The first was to give them some Access code with faults in it and leave > them > for a while asking them to critique it. You can throw in what you want, > from > not Dim'ing vars or not closing recordsets to logic or calculation errors. > Whatever fits your bill. > > The second was to give them an app which crashed when you ran it and tell > them to fix it. Nothing too trivial but it should show problem solving > capabilities and experience with debug. You could deliberately remove error > handlers and see if they put them in. > > The tests didn't distinguish the good from the great, but they did get rid > of the blaggers. Had one guy who took exception to being asked to do such > menial tests when he had blah-blah years experience, but we insisted, put > him in a quiet room and when I went in half an hour later to see how he was > doing he'd legged it. Didn't hear from him again. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > Date: 11/05/09 15:15 > > > Developer - definitely. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: 11 May 2009 15:37 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MS Access Skills Assessment and Testing > > I think it depends on how this person's going to use Access -- are they > going to be a user or a developer? > > Susan H. > > > >I would start with a simple database with one form. Set the form up > >with some code that does a calculation but set the underlying data so > >that it causes an 'Invalid use of Null' or a divide by zero in the > >calculation code. Let the candidate debug it while you watch. You > >should be able to tell pretty quickly how familiar they are with Access. > > > > Doug Steele > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From shait at stephenhait.com Wed May 13 08:05:10 2009 From: shait at stephenhait.com (Stephen Hait) Date: Wed, 13 May 2009 09:05:10 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0470E0.8040503@colbyconsulting.com> References: <4A0470E0.8040503@colbyconsulting.com> Message-ID: On Fri, May 8, 2009 at 1:50 PM, jwcolby wrote: > Well for the first time I am now presented with a "pay up or get out" > screen when I click on an > Experts Exchange link. Not happening. > Can't you just scroll down the page past all the pitches attempting to get you to join Experts Exchange until you find the actual answers? This still works for me, at least today, when arriving there after clicking a Google search result link such as: http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms/Q_23716034.html I had done a Google search on: access filter combo Regards, Stephen From jwcolby at colbyconsulting.com Wed May 13 08:26:24 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 May 2009 09:26:24 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: References: <4A0470E0.8040503@colbyconsulting.com> Message-ID: <4A0ACA80.50301@colbyconsulting.com> Nope. I am presented with a "fill in your payment info to buy a membership" screen when I click on your link. John W. Colby www.ColbyConsulting.com Stephen Hait wrote: > On Fri, May 8, 2009 at 1:50 PM, jwcolby wrote: > >> Well for the first time I am now presented with a "pay up or get out" >> screen when I click on an >> Experts Exchange link. Not happening. >> > > Can't you just scroll down the page past all the pitches attempting to get > you to join Experts Exchange until you find the actual answers? This still > works for me, at least today, when arriving there after clicking a Google > search result link such as: > > http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms/Q_23716034.html > > I had done a Google search on: access filter combo > > Regards, > Stephen From garykjos at gmail.com Wed May 13 09:06:19 2009 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 13 May 2009 09:06:19 -0500 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0ACA80.50301@colbyconsulting.com> References: <4A0470E0.8040503@colbyconsulting.com> <4A0ACA80.50301@colbyconsulting.com> Message-ID: Did you do the "14 day free trial" maybe? GK On Wed, May 13, 2009 at 8:26 AM, jwcolby wrote: > Nope. ?I am presented with a "fill in your payment info to buy a membership" screen when I click on > your link. > > John W. Colby > www.ColbyConsulting.com > > > Stephen Hait wrote: >> On Fri, May 8, 2009 at 1:50 PM, jwcolby wrote: >> >>> Well for the first time I am now presented with a "pay up or get out" >>> screen when I click on an >>> Experts Exchange link. ?Not happening. >>> >> >> Can't you just scroll down the page past all the pitches attempting to get >> you to join Experts Exchange until you find the actual answers? This still >> works for me, at least today, when arriving there after clicking a Google >> search result link such as: >> >> http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms/Q_23716034.html >> >> I had done a Google search on: access filter combo >> >> Regards, >> Stephen > -- > 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 drawbridgej at sympatico.ca Wed May 13 09:20:54 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Wed, 13 May 2009 10:20:54 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: References: <4A0470E0.8040503@colbyconsulting.com> Message-ID: <62FACFF397AD4C369D34B84FD25EB39A@AMDXP> Yes, I saw the responses below the 7 day trial and other ads. But I have seen other experts-exchange where there were no responses, just the ads. Just my $.02. jack -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stephen Hait Sent: Wednesday, May 13, 2009 9:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Experts Exchange is pay only On Fri, May 8, 2009 at 1:50 PM, jwcolby wrote: > Well for the first time I am now presented with a "pay up or get out" > screen when I click on an > Experts Exchange link. Not happening. > Can't you just scroll down the page past all the pitches attempting to get you to join Experts Exchange until you find the actual answers? This still works for me, at least today, when arriving there after clicking a Google search result link such as: http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms /Q_23716034.html I had done a Google search on: access filter combo Regards, Stephen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shait at stephenhait.com Wed May 13 09:28:22 2009 From: shait at stephenhait.com (Stephen Hait) Date: Wed, 13 May 2009 10:28:22 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <4A0ACA80.50301@colbyconsulting.com> References: <4A0470E0.8040503@colbyconsulting.com> <4A0ACA80.50301@colbyconsulting.com> Message-ID: I think you need to click the actual link from the Google result page. Try going here: http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=n2Y&q=access+filter+combo&btnG=Search Then click the link (on my first result page, it's the last link and it titled: MS Access Form Filter using Combo Box This is the same link but, because you're now coming directly from google.com rather than just clicking a link in your e-mail, experts-exchange deals with things differently. Let us know if that works. On Wed, May 13, 2009 at 9:26 AM, jwcolby wrote: > Nope. I am presented with a "fill in your payment info to buy a > membership" screen when I click on > your link. > > John W. Colby > www.ColbyConsulting.com > > > Stephen Hait wrote: > > On Fri, May 8, 2009 at 1:50 PM, jwcolby > wrote: > > > >> Well for the first time I am now presented with a "pay up or get out" > >> screen when I click on an > >> Experts Exchange link. Not happening. > >> > > > > Can't you just scroll down the page past all the pitches attempting to > get > > you to join Experts Exchange until you find the actual answers? This > still > > works for me, at least today, when arriving there after clicking a Google > > search result link such as: > > > > > http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms/Q_23716034.html > > > > I had done a Google search on: access filter combo > > > > Regards, > > Stephen > -- > 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 May 13 10:43:00 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 13 May 2009 15:43:00 +0000 Subject: [AccessD] Experts Exchange is pay only Message-ID: <200905131443.n4DEhCd3010271@databaseadvisors.com> I think they're picking on JC cos only today I did a search and got to Experts-Exchange ok. I've got half a feeling that way back when I joined EE when it was free. Maybe that's still in a cookie on this pc - just guessing really. -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Experts Exchange is pay only Date: 13/05/09 14:31 I think you need to click the actual link from the Google result page. Try going here: http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=n2Y&q=access+filter+combo&btnG=Search Then click the link (on my first result page, it's the last link and it titled: MS Access Form Filter using Combo Box This is the same link but, because you're now coming directly from google.com rather than just clicking a link in your e-mail, experts-exchange deals with things differently. Let us know if that works. On Wed, May 13, 2009 at 9:26 AM, jwcolby wrote: > Nope. I am presented with a "fill in your payment info to buy a > membership" screen when I click on > your link. > > John W. Colby > www.ColbyConsulting.com > > > Stephen Hait wrote: > > On Fri, May 8, 2009 at 1:50 PM, jwcolby > wrote: > > > >> Well for the first time I am now presented with a "pay up or get out" > >> screen when I click on an > >> Experts Exchange link. Not happening. > >> > > > > Can't you just scroll down the page past all the pitches attempting to > get > > you to join Experts Exchange until you find the actual answers? This > still > > works for me, at least today, when arriving there after clicking a Google > > search result link such as: > > > > > http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms/Q_23716034.html > > > > I had done a Google search on: access filter combo > > > > Regards, > > Stephen > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 accessd at gfconsultants.com Wed May 13 10:22:32 2009 From: accessd at gfconsultants.com (Reuben Cummings) Date: Wed, 13 May 2009 11:22:32 -0400 Subject: [AccessD] Printer Selection Message-ID: <444C3D546F9547B28DF4E00679A7B895@reubennx9500> In Access 2000... I have an app with about 20 reports in and until recently have not had a problem. Now one report, and I mean only one, wants to use my pdf creator as its printer rather than my computers default printer. Why is one report trying to use the pdf? How can I get it to change back to the default printer? I don't do anything anywhere in any of my software with printers - it always uses the default. The only time I use the pdf writer is if I need to create a sample to email someone. Thanks. Reuben Cummings GFC, LLC 812.523.1017 From dwaters at usinternet.com Wed May 13 11:04:45 2009 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 13 May 2009 11:04:45 -0500 Subject: [AccessD] Printer Selection In-Reply-To: <444C3D546F9547B28DF4E00679A7B895@reubennx9500> References: <444C3D546F9547B28DF4E00679A7B895@reubennx9500> Message-ID: <771093C7C6794B8B9047DAD78D91697E@danwaters> Hi Reuben, I would guess that this report's printer option has been selected to your pdf creator app. Open the report in design view. Select File|Page Setup. Select the 'Page' tab. Click 'Default Printer'. HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Wednesday, May 13, 2009 10:23 AM To: AccessD Subject: [AccessD] Printer Selection In Access 2000... I have an app with about 20 reports in and until recently have not had a problem. Now one report, and I mean only one, wants to use my pdf creator as its printer rather than my computers default printer. Why is one report trying to use the pdf? How can I get it to change back to the default printer? I don't do anything anywhere in any of my software with printers - it always uses the default. The only time I use the pdf writer is if I need to create a sample to email someone. Thanks. Reuben Cummings GFC, LLC 812.523.1017 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Wed May 13 11:54:16 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 13 May 2009 12:54:16 -0400 Subject: [AccessD] FW: MS Access Skills Assessment and Testing In-Reply-To: <57E6E6CA42105A48B977303A2CDC27200815F13AA8@WPEXCH22.retail.ad.cmltd.net.au> References: <2D992C46A7384B19BEC405A75FD0E3F1@Manager> <57E6E6CA42105A48B977303A2CDC27200815F13AA8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <29f585dd0905130954u29a79e59x1339451689f62272@mail.gmail.com> Since I have recently declared myself to be semi-retired, I would have time to inspect buggy code, and to see if I can solve it, and perhaps to publish the smallest portion thereof. Seek and Destroy reborn! LOL. On Wed, May 13, 2009 at 12:29 AM, Darryl Collins < Darryl.Collins at coles.com.au> wrote: > hah! I can alwaysvsend you some of my work, especially the early stuff. A > lesson in "pitfalls to avoid". :) although I have always been excellent > with data, relationships and normalisation - there are plenty of design > issues ended up biting me! > :) > > From john at winhaven.net Wed May 13 12:16:07 2009 From: john at winhaven.net (John Bartow) Date: Wed, 13 May 2009 12:16:07 -0500 Subject: [AccessD] MODERATOR (was: Experts Exchange is pay only) In-Reply-To: References: <4A0470E0.8040503@colbyconsulting.com> <4A0ACA80.50301@colbyconsulting.com> Message-ID: <01c701c9d3ee$82740ad0$875c2070$@net> This is quite off-topic, let's end this thread please. From jwcolby at colbyconsulting.com Wed May 13 12:16:29 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 May 2009 13:16:29 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: References: <4A0470E0.8040503@colbyconsulting.com> <4A0ACA80.50301@colbyconsulting.com> Message-ID: <4A0B006D.6010402@colbyconsulting.com> Nope. I go to the Google page, and when I click the link in Google I end up at the "pay up or get out" page. I am pretty much not interested in Expert-Exchange at this point. They were never particularly efficient, a lot of the responses were folks who knew less than I did. Why would I pay for that? There seems to be nothing "Expert" about it, any yahoo can post their response AFAICT. And now they want me to pay for some yahoo's opinion? I don't think so. John W. Colby www.ColbyConsulting.com Stephen Hait wrote: > I think you need to click the actual link from the Google result page. Try > going here: > > http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=n2Y&q=access+filter+combo&btnG=Search > > Then click the link (on my first result page, it's the last link and it > titled: > MS Access Form Filter using Combo Box > > This is the same link but, because you're now coming directly from > google.com rather than just clicking a link in your e-mail, experts-exchange > deals with things differently. > > Let us know if that works. From jwcolby at colbyconsulting.com Wed May 13 12:18:21 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 13 May 2009 13:18:21 -0400 Subject: [AccessD] Experts Exchange is pay only In-Reply-To: <200905131443.n4DEhCd3010271@databaseadvisors.com> References: <200905131443.n4DEhCd3010271@databaseadvisors.com> Message-ID: <4A0B00DD.8060301@colbyconsulting.com> Up until the other day I was able to page down past the crap and see the answers. Now I can't. I am not even given the ability to log on (I used to be a member). As I said, they have never been a top "Go To" in my opinion and now I just want them to go away. John W. Colby www.ColbyConsulting.com Andy Lacey wrote: > I think they're picking on JC cos only today I did a search and got to > Experts-Exchange ok. I've got half a feeling that way back when I joined EE > when it was free. Maybe that's still in a cookie on this pc - just guessing > really. > > -- > Andy > > > --------- Original Message -------- > From: "Access Developers discussion and problem solving" > > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Experts Exchange is pay only > Date: 13/05/09 14:31 > > > I think you need to click the actual link from the Google result page. Try > going here: > > http://www.google.com/search?hl=en&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial&hs=n2Y&q=access+filter+combo&btnG=Search > > Then click the link (on my first result page, it's the last link and it > titled: > MS Access Form Filter using Combo Box > > This is the same link but, because you're now coming directly from > google.com rather than just clicking a link in your e-mail, experts-exchange > deals with things differently. > > Let us know if that works. > > On Wed, May 13, 2009 at 9:26 AM, jwcolby wrote: > >> Nope. I am presented with a "fill in your payment info to buy a >> membership" screen when I click on >> your link. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> Stephen Hait wrote: >>> On Fri, May 8, 2009 at 1:50 PM, jwcolby >> wrote: >>>> Well for the first time I am now presented with a "pay up or get out" >>>> screen when I click on an >>>> Experts Exchange link. Not happening. >>>> >>> Can't you just scroll down the page past all the pitches attempting to >> get >>> you to join Experts Exchange until you find the actual answers? This >> still >>> works for me, at least today, when arriving there after clicking a > Google >>> search result link such as: >>> >>> > http://www.experts-exchange.com/Microsoft/Development/MS_Access/Access_Forms/Q_23716034.html >>> I had done a Google search on: access filter combo >>> >>> Regards, >>> Stephen >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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 accessd at gfconsultants.com Wed May 13 13:12:37 2009 From: accessd at gfconsultants.com (Reuben Cummings) Date: Wed, 13 May 2009 14:12:37 -0400 Subject: [AccessD] Printer Selection-fixed In-Reply-To: <771093C7C6794B8B9047DAD78D91697E@danwaters> Message-ID: <29DDE0078B7841709806E866BD90A8FA@reubennx9500> Thanks, Dan. It's amazing how many time one can look at the same dialog and miss something so simple. I had looked that dang dialog over and over. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Wednesday, May 13, 2009 12:05 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Printer Selection > > > Hi Reuben, > > I would guess that this report's printer option has been > selected to your > pdf creator app. > > Open the report in design view. > Select File|Page Setup. > Select the 'Page' tab. > Click 'Default Printer'. > > HTH! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Reuben Cummings > Sent: Wednesday, May 13, 2009 10:23 AM > To: AccessD > Subject: [AccessD] Printer Selection > > In Access 2000... > > I have an app with about 20 reports in and until recently > have not had a > problem. > > Now one report, and I mean only one, wants to use my pdf > creator as its > printer rather than my computers default printer. > Why is one report trying to use the pdf? How can I get it to > change back to > the default printer? > > I don't do anything anywhere in any of my software with > printers - it always > uses the default. The only time I use the pdf writer is if I > need to create > a sample to email someone. > > Thanks. > > Reuben Cummings > GFC, LLC > 812.523.1017 > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Thu May 14 04:26:58 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 14 May 2009 11:26:58 +0200 Subject: [AccessD] Enable ActiveX controls which Access 2003/2007 doesn't "support" (update) Message-ID: Hi all This is an update to the old thread from 2005: Kodak Imaging and Access 2003 (was: Looking for TWAINocx) It was about how Internet Explorer blocks many ActiveX (OCX) controls in Access 2003+. The error message in Access is that "Access doesn't support this control" or that "object cannot be found" or a similar useless message. So how to deal with this if the client upgrades and a long running application refuses to run? On your machine 500+ controls may be listed but only by their GUID. This excellent tool, ActiveXHelper, comes to rescue: http://www.nirsoft.net/utils/axhelper.html On Vista you, of course, have to run it as administrator. In 20 seconds I had my old app using MS WinSock running in A2007 on Vista! /gustav >>> Gustav at cactus.dk 21-02-2005 12:22 >>> Hi all Found out why Access 2003 denies to load the Kodak Imaging controls and how to remove that blocking. It is - believe it or not - because Access 2003 refuses to use ActiveX controls which for some reason are listed as insecure in Internet Explorer ... as explained here: http://mail.localplanet.co.uk/Blogs/stuart/archive/2005/02/19/AccessActiveX.aspx What it tells is to reset the Compatibility Flag for these entries to 0: Kodak Image Admin Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {009541A0-3B81-101C-92F3-040224009C02} Kodak Image Edit Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {6D940280-9F11-11CE-83FD-02608C3EC08A} Kodak Image Scan Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {84926CA0-2941-101C-816F-0E6013114B7F} Rich Text Control HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ {3B7C8860-D78F-101B-B9B5-04021C009402} /gustav >>> Gustav at cactus.dk 20-02-2005 17:32:10 >>> Hi all I have done some testing with a sample app Neal kindly provided which uses the Kodak Imaging ocx controls. It works fine with my old Agfa Snapscan test scanner - as long as I don't run it in Access 2003. Whatever I do (references, late binding etc. etc.), when moved to A2003 it refuses to talk with the twain driver - it is as if A2003 expects a higher version or similar of the twain driver. Neither will the edit control activate in A2003. From jwcolby at colbyconsulting.com Thu May 14 08:11:39 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 May 2009 09:11:39 -0400 Subject: [AccessD] OT: I just couldn't resist Message-ID: <4A0C188B.5000008@colbyconsulting.com> These are from a book called Disorder in the American courts, and are things people actually said in court, word for word, taken down and now published by court reporters who had the torment of staying calm while these exchanges were actually taking place. __________________________________________________________ ATTORNEY: What gear were you in at the moment of the impact? WITNESS: Gucci sweats and Reebok's. ______________ ____________________________________________ ATTORNEY: This myasthenia gravis, does it affect your memory at all? WITNESS: Yes. ATTORNEY: And in what ways does it affect your memory? WITNESS: I forget. ATTORNEY: You forget? Can you give us an example of something you forgot? __________________________________________________________ ATTORNEY: What was the first thing your husband said to you that morning? WITNESS: He said, 'Where am I, Cathy?' ATTORNEY: And why did that upset you? WITNESS: My name is Susan! __________________________________________________________ ATTORNEY: Do you know if your daughter has ever been involved in voodoo? WITNESS: We both do. ATTORNEY: Voodoo? WITNESS: We do. ATTORNEY: You do? WITNESS: Yes, voodoo. __________________________________________________________ ATTORNEY: Now doctor, isn't it true that when a person dies in his sleep, he doesn't know about it until the next morning? WITNESS: Did you actually pass the bar exam? __________________________________________________________ ATTORNEY: The youngest son, the twenty-year-old, how old is he? WITNESS: Uh, he's twenty. __________________________________________________________ ATTORNEY: Were you present when your picture was taken? WITNESS: Are you shittin' me? __________________________________________________________ ATTORNEY: So the date of conception (of the baby) was August 8th? WITNESS: Yes. ATTORNEY: And what were you doing at that time? WITNESS: Uh.... I was gettin' laid. __________________________________________________________ ATTORNEY: She had three children, right? WITNESS: Yes. ATTORNEY: How many were boys? WITNESS: None. ATTORNEY: Were there any girls? WITNESS: Are you for real? Your Honour, I think I need a different attorney. Can I get a new attorney? __________________________________________________________ ATTORNEY: How was your first marriage terminated? WITNESS: By death. ATTORNEY: And by whose death was it terminated? WITNESS: Now whose death do you suppose terminated it? __________________________________________________________ ATTORNEY: Can you describe the individual? WITNESS: He was about medium height and had a beard. ATTORNEY: Was this a male or a female? WITNESS: Guess. __________________________________________________________ ATTORNEY: Is your appearance here this morning pursuant to a deposition notice which I sent to your attorney? WITNESS: No, this is how I dress when I go to work. __________________________________________________________ ATTORNEY: Doctor, how many of your autopsies have you performed on dead people? WITNESS: All my autopsies are performed on dead people. Would you like to rephrase that? _________________________________________________________ ATTORNEY: ALL your responses MUST be oral, OK? What school did you go to? WITNESS: Oral. _________________________________________________________ ATTORNEY: Do you recall the time that you examined the body? WITNESS: The autopsy started around 8:30 p.m. ATTORNEY: And Mr. Denton was dead at the time? WITNESS: No, he was sitting on the table wondering why I was doing an autopsy on him! _________________________________________________________ ATTORNEY: Are you qualified to give a urine sample? WITNESS: Huh.....are you qualified to ask that question? _________________________________________________________ And the best for last: ATTORNEY: Doctor, before you performed the autopsy, did you check for a pulse? WITNESS: No. ATTORNEY: Did you check for blood pressure? WITNESS: No. ATTORNEY: Did you check for breathing? WITNESS: No. ATTORNEY: So, then it is possible that the patient was alive when you began the autopsy? WITNESS: No. ATTORNEY: How can you be so sure, Doctor? WITNESS: Because his brain was sitting on my desk in a jar. ATTORNEY: I see, but could the patient have still been alive, nevertheless? WITNESS: Yes, it is possible that he could have been alive and practicing law. -- John W. Colby www.ColbyConsulting.com From max.wanadoo at gmail.com Thu May 14 08:53:16 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 14 May 2009 14:53:16 +0100 Subject: [AccessD] Report ForceNewPage Property Message-ID: Can anybody tell me how to code the ForceNewPage Property on a Report? It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it by itself. I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to see the effects on my report for each one. The help does not give an example. Thanks Max From Lambert.Heenan at aiuholdings.com Thu May 14 09:41:38 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 14 May 2009 10:41:38 -0400 Subject: [AccessD] Report ForceNewPage Property In-Reply-To: References: Message-ID: Max, ForceNewPage is a method of a report *Section*, not of the report itself. The OL-Help gives this example of how to use it... Dim intGetVal As Integer intGetVal = Reports![Sales By Year].Section(acDetail).ForceNewPage HTH Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Thursday, May 14, 2009 9:53 AM To: Access Developers discussion and problem solving Subject: [AccessD] Report ForceNewPage Property Can anybody tell me how to code the ForceNewPage Property on a Report? It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it by itself. I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to see the effects on my report for each one. The help does not give an example. Thanks Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu May 14 10:03:15 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 May 2009 11:03:15 -0400 Subject: [AccessD] adodb returning error code from stored procedures Message-ID: <4A0C32B3.9060000@colbyconsulting.com> I have designed a system that uses stored procedures on SQL Server to do a rather complex (to me) task. I am building a table with a specific base set of fields, then I dynamically add a new set of fields to that table based on selection criteria fields in a view, I append data to the table, then I add indexes to this table, export the table to CSV, run the CSV file through an external program, import a resulting CSV file back into SQL Server, dynamically build views in SQL Server, and finally export the resulting data back out to a flat file. This process requires about 20-30 stored procedures. I have been using a stored procedure that calls the other stored procedures but this has become unwieldy. Plus the external program runs in one or several virtual machines and I need to be able to monitor the output directories on these VMs for the resulting output, and then execute the next set of SPs to get the data back in to SQL Server and finish the process. I have been using Access to execute a subset of these stored procedures. I run the SP that runs other SPs, then I switch to an Access app (I wrote) to do the export / import process, then another Access App (I wrote) to do the final flat file export. Now I need to string all this stuff together and use Access VBA to make decisions on which stored procedures to call, how often etc., iow do it all from one place. I understand how to do all of that but I am flying blind in that I do not yet know how to return a value from a stored procedure to Access, particularly an error if any, but also perhaps things like number of records effected and so forth. In general the SPs just work, but when they do not the result is an empty file at the end and no clue about what specifically went wrong. Not a good way to be working. I am using some code provided by Charlotte (I believe) Basically it just uses the ADODB.Command object to build up everything including a variable list of parameters to pass in to the SP. My understanding is that there are two ways to get data back from a stored procedure, one is to declare any of the input parameters as an OUTPUT and then place values in that parameter inside of the stored procedure. Another is that the SP can return a single value, kinda like a function in VBA. I have fiddled and screwed around but I do not know enough about either of these things to actually make it happen. I have reached the point in my control of SQL Server from Access that I need to take this next step and I am not finding what I need on the web to explain it. As I said, ATM I am using a single "Generic" VBA function that allows me to pass in the name of the server, the database, the SP, and then a variable list of parameters. I am reluctant to hard code a function for each of these stored procedures since there are so many of them and they can change as I discover bugs or add functionality. OTOH I get the feeling that declaring a variable output might take some special syntax that will not play well with a generic "list of parameters" passed in to the VBA function. Does anyone have any code, both the VBA side as well as the SP side that does this stuff? Can anyone write a short but actually usable description of how to do this stuff. I will post the generic VBA function I use in a follow up email since the code is not short. TIA for your assistance. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Thu May 14 10:08:21 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 May 2009 11:08:21 -0400 Subject: [AccessD] adodb returning error code from stored procedures - CODE Message-ID: <4A0C33E5.4040500@colbyconsulting.com> The following is the code I currently use for executing stored procedures. As I mentioned in the previous email, it works, but it does not return any value from the SP. I have played around trying to make it do so but I think this is one of those cases where I could play for months and never get results without help. Any assistance is greatly appreciated. '--------------------------------------------------------------------------------------- ' Procedure : CallADOStoredProc ' Author : jwcolby ' Date : 1/29/2009 ' Purpose : Calls a stored procedure passing in only "INPUT" parameters to the SP ' SPs can have INPUT parameters and OUTPUT parameters. Passing OUTPUT ' parameters requires a different syntax when creating the parameter. ' This function can only pass INPUT parameters. ' ' I am leaving this function as is because much of the time that is all ' that is required. I will build another function to handle calls to ' stored procedures that can handle both. '--------------------------------------------------------------------------------------- ' Public Function CallADOStoredProcIn(strServerName As String, strDatabase As String, _ ByVal SPName As String, _ ParamArray Params() As Variant) As Boolean 'Created by Charlotte Foust 9/30/2000 'last modified 1/12/2001 'Calls a saved query or stored procedure On Error GoTo Proc_err Dim varValue As Variant Dim strSQL As String Dim intLoop As Integer Dim varPrmType As Variant Dim lngRecords As Long Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Dim errCurr As ADODB.Error Dim colErrs As ADODB.Errors Dim lTimeoutSeconds As Long Const ERR_OPER_ON_INVALID_CONNECTION = 3709 Const ERR_RECORD_IS_DELETED = -2147467259 Const ERR_Timeout = -2147217871 Set cnn = New ADODB.Connection cnn.ConnectionString = mTrustedConnection(strServerName, strDatabase) cnn.CursorLocation = adUseClient 'this simplifies accessing the errors 'collection, which belongs to the 'connection Set colErrs = cnn.Errors cnn.Open Set cmd = New ADODB.Command lTimeoutSeconds = 55000 With cmd .ActiveConnection = cnn 'this could also be written as 'colErrs.Clear .ActiveConnection.Errors.Clear .CommandType = adCmdStoredProc .CommandText = SPName .CommandTimeout = lTimeoutSeconds For intLoop = LBound(Params) To UBound(Params) Select Case VarType(Params(intLoop)) Case vbString varPrmType = adVarWChar Case vbLong varPrmType = adBigInt Case vbDate varPrmType = adDate 'if SQL Server, use adDBTimeStamp Case vbInteger varPrmType = adSmallInt Case vbDouble varPrmType = adDouble Case vbSingle varPrmType = adSingle Case vbBoolean varPrmType = adBoolean Case vbCurrency varPrmType = adCurrency Case vbByte varPrmType = adUnsignedTinyInt Case vbNull varPrmType = Null Case Else 'WARNING! Not supported in ADO 2.5 varPrmType = adVariant End Select If varPrmType = adVarWChar Then .Parameters.Append .CreateParameter( _ "prm" & intLoop, varPrmType, adParamInput, Len(Params(intLoop)) + 2, Params(intLoop)) Else 'you have to create ALL the parameters .Parameters.Append .CreateParameter( _ "prm" & intLoop, varPrmType, adParamInput, , Params(intLoop)) End If 'varPrmType = adVarWChar Next intLoop .Execute RecordsAffected:=lngRecords, Options:=adCmdStoredProc CallADOStoredProcIn = True End With Proc_exit: On Error Resume Next CallADOStoredProcIn = lngRecords Set cmd = Nothing Exit Function Proc_err: 'ADO errors and Jet errors aren't the same 'collection, so this handles them differently If colErrs.Count > 0 Then 'There are ADO errors For Each errCurr In colErrs Select Case errCurr Case ERR_OPER_ON_INVALID_CONNECTION Stop Resume Proc_exit Case "Timeout expired" 'Timeout Debug.Print "Command timeout in CallAdoStoredProcIn: " & lTimeoutSeconds & " Seconds" If lTimeoutSeconds > 60000 Then MsgBox errCurr.Number & "--" _ & errCurr.Description & " (" _ & errCurr.Source & ")" Resume Proc_exit Else lTimeoutSeconds = lTimeoutSeconds * 2 Resume 0 End If Case Else MsgBox errCurr.Number & "--" _ & errCurr.Description & " (" _ & errCurr.Source & ")" Resume Proc_exit End Select Next errCurr colErrs.Clear Else 'there is an other error MsgBox Err.Number & "--" & Err.Description Resume Proc_exit End If Resume 0 End Function -- John W. Colby www.ColbyConsulting.com From fahooper at gmail.com Thu May 14 11:09:10 2009 From: fahooper at gmail.com (Fred Hooper) Date: Thu, 14 May 2009 12:09:10 -0400 Subject: [AccessD] adodb returning error code from stored procedures In-Reply-To: <4A0C32B3.9060000@colbyconsulting.com> References: <4A0C32B3.9060000@colbyconsulting.com> Message-ID: Not a solution but a workaround: When I've had a similar problem I create a Messages table in the db and have the procedure append a message to that table. My app just looks at that table periodically and responds accordingly. Fred On Thu, May 14, 2009 at 11:03 AM, jwcolby wrote: > I have designed a system that uses stored procedures on SQL Server to do a > rather complex (to me) > task. I am building a table with a specific base set of fields, then I > dynamically add a new set of > fields to that table based on selection criteria fields in a view, I append > data to the table, then > I add indexes to this table, export the table to CSV, run the CSV file > through an external program, > import a resulting CSV file back into SQL Server, dynamically build views > in SQL Server, and finally > export the resulting data back out to a flat file. > > This process requires about 20-30 stored procedures. I have been using a > stored procedure that > calls the other stored procedures but this has become unwieldy. Plus the > external program runs in > one or several virtual machines and I need to be able to monitor the output > directories on these VMs > for the resulting output, and then execute the next set of SPs to get the > data back in to SQL Server > and finish the process. > > I have been using Access to execute a subset of these stored procedures. I > run the SP that runs > other SPs, then I switch to an Access app (I wrote) to do the export / > import process, then another > Access App (I wrote) to do the final flat file export. > > Now I need to string all this stuff together and use Access VBA to make > decisions on which stored > procedures to call, how often etc., iow do it all from one place. I > understand how to do all of > that but I am flying blind in that I do not yet know how to return a value > from a stored procedure > to Access, particularly an error if any, but also perhaps things like > number of records effected and > so forth. In general the SPs just work, but when they do not the result is > an empty file at the end > and no clue about what specifically went wrong. Not a good way to be > working. > > I am using some code provided by Charlotte (I believe) Basically it just > uses the ADODB.Command > object to build up everything including a variable list of parameters to > pass in to the SP. > > My understanding is that there are two ways to get data back from a stored > procedure, one is to > declare any of the input parameters as an OUTPUT and then place values in > that parameter inside of > the stored procedure. Another is that the SP can return a single value, > kinda like a function in > VBA. I have fiddled and screwed around but I do not know enough about > either of these things to > actually make it happen. > > I have reached the point in my control of SQL Server from Access that I > need to take this next step > and I am not finding what I need on the web to explain it. > > As I said, ATM I am using a single "Generic" VBA function that allows me to > pass in the name of the > server, the database, the SP, and then a variable list of parameters. I am > reluctant to hard code a > function for each of these stored procedures since there are so many of > them and they can change as > I discover bugs or add functionality. OTOH I get the feeling that > declaring a variable output might > take some special syntax that will not play well with a generic "list of > parameters" passed in to > the VBA function. > > Does anyone have any code, both the VBA side as well as the SP side that > does this stuff? Can > anyone write a short but actually usable description of how to do this > stuff. > > I will post the generic VBA function I use in a follow up email since the > code is not short. > > TIA for your assistance. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fahooper at gmail.com Thu May 14 10:51:10 2009 From: fahooper at gmail.com (Fred Hooper) Date: Thu, 14 May 2009 11:51:10 -0400 Subject: [AccessD] adodb returning error code from stored procedures In-Reply-To: <4A0C32B3.9060000@colbyconsulting.com> References: <4A0C32B3.9060000@colbyconsulting.com> Message-ID: Not a solution but a workaround: When I've had a similar problem I create a Messages table in the db and have the procedure append a message to that table. My app just looks at that table periodically and responds accordingly. Fred On Thu, May 14, 2009 at 11:03 AM, jwcolby wrote: > I have designed a system that uses stored procedures on SQL Server to do a > rather complex (to me) > task. I am building a table with a specific base set of fields, then I > dynamically add a new set of > fields to that table based on selection criteria fields in a view, I append > data to the table, then > I add indexes to this table, export the table to CSV, run the CSV file > through an external program, > import a resulting CSV file back into SQL Server, dynamically build views > in SQL Server, and finally > export the resulting data back out to a flat file. > > This process requires about 20-30 stored procedures. I have been using a > stored procedure that > calls the other stored procedures but this has become unwieldy. Plus the > external program runs in > one or several virtual machines and I need to be able to monitor the output > directories on these VMs > for the resulting output, and then execute the next set of SPs to get the > data back in to SQL Server > and finish the process. > > I have been using Access to execute a subset of these stored procedures. I > run the SP that runs > other SPs, then I switch to an Access app (I wrote) to do the export / > import process, then another > Access App (I wrote) to do the final flat file export. > > Now I need to string all this stuff together and use Access VBA to make > decisions on which stored > procedures to call, how often etc., iow do it all from one place. I > understand how to do all of > that but I am flying blind in that I do not yet know how to return a value > from a stored procedure > to Access, particularly an error if any, but also perhaps things like > number of records effected and > so forth. In general the SPs just work, but when they do not the result is > an empty file at the end > and no clue about what specifically went wrong. Not a good way to be > working. > > I am using some code provided by Charlotte (I believe) Basically it just > uses the ADODB.Command > object to build up everything including a variable list of parameters to > pass in to the SP. > > My understanding is that there are two ways to get data back from a stored > procedure, one is to > declare any of the input parameters as an OUTPUT and then place values in > that parameter inside of > the stored procedure. Another is that the SP can return a single value, > kinda like a function in > VBA. I have fiddled and screwed around but I do not know enough about > either of these things to > actually make it happen. > > I have reached the point in my control of SQL Server from Access that I > need to take this next step > and I am not finding what I need on the web to explain it. > > As I said, ATM I am using a single "Generic" VBA function that allows me to > pass in the name of the > server, the database, the SP, and then a variable list of parameters. I am > reluctant to hard code a > function for each of these stored procedures since there are so many of > them and they can change as > I discover bugs or add functionality. OTOH I get the feeling that > declaring a variable output might > take some special syntax that will not play well with a generic "list of > parameters" passed in to > the VBA function. > > Does anyone have any code, both the VBA side as well as the SP side that > does this stuff? Can > anyone write a short but actually usable description of how to do this > stuff. > > I will post the generic VBA function I use in a follow up email since the > code is not short. > > TIA for your assistance. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From fuller.artful at gmail.com Thu May 14 12:09:37 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 14 May 2009 13:09:37 -0400 Subject: [AccessD] "Yesterday" - DBA version :-) In-Reply-To: <0003255755625e16290469e2563f@google.com> References: <0003255755625e16290469e2563f@google.com> Message-ID: <29f585dd0905141009h2d9a4d3ck81fa4edd0fb3a8ad@mail.gmail.com> I know this is a day early but this is too good to let go. Yesterday, All those backups seemed a waste of pay, Now my database has gone away, Oh I believe in yesterday. Suddenly, There?s not half the files there used to be, And there?s a millstone hanging over me The system crashed so suddenly. I pushed something wrong What it was I could not say. Now all my data?s gone And I long for yesterday-ay-ay-ay. Yesterday, The need for backups seemed so far away, I knew my data was all here to stay, Now I believe in yesterday." From max.wanadoo at gmail.com Thu May 14 09:49:24 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 14 May 2009 15:49:24 +0100 Subject: [AccessD] Report ForceNewPage Property In-Reply-To: References: Message-ID: Hi Lambert, I dont want to retrieve the current value, I want to set it. The OLH only give what you have quoted, it doesn't give an example of how to use it to change the value. I have tried it in all the sections but to no avail. Max On 5/14/09, Heenan, Lambert wrote: > > Max, > > ForceNewPage is a method of a report *Section*, not of the report itself. > The OL-Help gives this example of how to use it... > > > Dim intGetVal As Integer > intGetVal = Reports![Sales By Year].Section(acDetail).ForceNewPage > > > HTH > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Thursday, May 14, 2009 9:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report ForceNewPage Property > > Can anybody tell me how to code the > > ForceNewPage Property on a Report? > > It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it > by itself. > > I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to > see the effects on my report for each one. > > The help does not give an example. > > Thanks > > Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cjlabs at worldnet.att.net Thu May 14 12:39:25 2009 From: cjlabs at worldnet.att.net (Carolyn Johnson) Date: Thu, 14 May 2009 12:39:25 -0500 Subject: [AccessD] Report ForceNewPage Property References: Message-ID: I set the ForceNewPage property in the report open sub. If blnSeparatePageByCategory = True Then GroupFooter1.ForceNewPage = 2 GroupFooter0.ForceNewPage = 0 Else GroupFooter1.ForceNewPage = 0 GroupFooter0.ForceNewPage = 2 End If HTH, Carolyn Johnson ----- Original Message ----- From: Max Wanadoo To: Access Developers discussion and problem solving Sent: Thursday, May 14, 2009 9:49 AM Subject: Re: [AccessD] Report ForceNewPage Property Hi Lambert, I dont want to retrieve the current value, I want to set it. The OLH only give what you have quoted, it doesn't give an example of how to use it to change the value. I have tried it in all the sections but to no avail. Max On 5/14/09, Heenan, Lambert wrote: > > Max, > > ForceNewPage is a method of a report *Section*, not of the report itself. > The OL-Help gives this example of how to use it... > > > Dim intGetVal As Integer > intGetVal = Reports![Sales By Year].Section(acDetail).ForceNewPage > > > HTH > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Thursday, May 14, 2009 9:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report ForceNewPage Property > > Can anybody tell me how to code the > > ForceNewPage Property on a Report? > > It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it > by itself. > > I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to > see the effects on my report for each one. > > The help does not give an example. > > Thanks > > Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu May 14 12:39:51 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 May 2009 13:39:51 -0400 Subject: [AccessD] adodb returning error code from stored procedures In-Reply-To: References: <4A0C32B3.9060000@colbyconsulting.com> Message-ID: <4A0C5767.7090504@colbyconsulting.com> Fred, That certainly seems like a good thing to do in any case, to log the "progress" of the application in a common place. I am hesitent though to replace a true error handler with a log table. John W. Colby www.ColbyConsulting.com Fred Hooper wrote: > Not a solution but a workaround: When I've had a similar problem I create a > Messages table in the db and have the procedure append a message to that > table. My app just looks at that table periodically and responds > accordingly. > > Fred > > On Thu, May 14, 2009 at 11:03 AM, jwcolby wrote: > >> I have designed a system that uses stored procedures on SQL Server to do a >> rather complex (to me) >> task. I am building a table with a specific base set of fields, then I >> dynamically add a new set of >> fields to that table based on selection criteria fields in a view, I append >> data to the table, then >> I add indexes to this table, export the table to CSV, run the CSV file >> through an external program, >> import a resulting CSV file back into SQL Server, dynamically build views >> in SQL Server, and finally >> export the resulting data back out to a flat file. >> >> This process requires about 20-30 stored procedures. I have been using a >> stored procedure that >> calls the other stored procedures but this has become unwieldy. Plus the >> external program runs in >> one or several virtual machines and I need to be able to monitor the output >> directories on these VMs >> for the resulting output, and then execute the next set of SPs to get the >> data back in to SQL Server >> and finish the process. >> >> I have been using Access to execute a subset of these stored procedures. I >> run the SP that runs >> other SPs, then I switch to an Access app (I wrote) to do the export / >> import process, then another >> Access App (I wrote) to do the final flat file export. >> >> Now I need to string all this stuff together and use Access VBA to make >> decisions on which stored >> procedures to call, how often etc., iow do it all from one place. I >> understand how to do all of >> that but I am flying blind in that I do not yet know how to return a value >> from a stored procedure >> to Access, particularly an error if any, but also perhaps things like >> number of records effected and >> so forth. In general the SPs just work, but when they do not the result is >> an empty file at the end >> and no clue about what specifically went wrong. Not a good way to be >> working. >> >> I am using some code provided by Charlotte (I believe) Basically it just >> uses the ADODB.Command >> object to build up everything including a variable list of parameters to >> pass in to the SP. >> >> My understanding is that there are two ways to get data back from a stored >> procedure, one is to >> declare any of the input parameters as an OUTPUT and then place values in >> that parameter inside of >> the stored procedure. Another is that the SP can return a single value, >> kinda like a function in >> VBA. I have fiddled and screwed around but I do not know enough about >> either of these things to >> actually make it happen. >> >> I have reached the point in my control of SQL Server from Access that I >> need to take this next step >> and I am not finding what I need on the web to explain it. >> >> As I said, ATM I am using a single "Generic" VBA function that allows me to >> pass in the name of the >> server, the database, the SP, and then a variable list of parameters. I am >> reluctant to hard code a >> function for each of these stored procedures since there are so many of >> them and they can change as >> I discover bugs or add functionality. OTOH I get the feeling that >> declaring a variable output might >> take some special syntax that will not play well with a generic "list of >> parameters" passed in to >> the VBA function. >> >> Does anyone have any code, both the VBA side as well as the SP side that >> does this stuff? Can >> anyone write a short but actually usable description of how to do this >> stuff. >> >> I will post the generic VBA function I use in a follow up email since the >> code is not short. >> >> TIA for your assistance. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From Lambert.Heenan at aiuholdings.com Thu May 14 12:47:43 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 14 May 2009 13:47:43 -0400 Subject: [AccessD] Report ForceNewPage Property In-Reply-To: References: Message-ID: Or you can do it in the format event of the section where you want to force a new page so that is changes dynamically as the report is formatted (you never know, someone might want that)... Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me.Resolution = "Whatever" Then Me.Section(acDetail).ForceNewPage = 1 Else Me.Section(acDetail).ForceNewPage = 0 End If End Sub -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: Thursday, May 14, 2009 1:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report ForceNewPage Property I set the ForceNewPage property in the report open sub. If blnSeparatePageByCategory = True Then GroupFooter1.ForceNewPage = 2 GroupFooter0.ForceNewPage = 0 Else GroupFooter1.ForceNewPage = 0 GroupFooter0.ForceNewPage = 2 End If HTH, Carolyn Johnson ----- Original Message ----- From: Max Wanadoo To: Access Developers discussion and problem solving Sent: Thursday, May 14, 2009 9:49 AM Subject: Re: [AccessD] Report ForceNewPage Property Hi Lambert, I dont want to retrieve the current value, I want to set it. The OLH only give what you have quoted, it doesn't give an example of how to use it to change the value. I have tried it in all the sections but to no avail. Max On 5/14/09, Heenan, Lambert wrote: > > Max, > > ForceNewPage is a method of a report *Section*, not of the report itself. > The OL-Help gives this example of how to use it... > > > Dim intGetVal As Integer > intGetVal = Reports![Sales By Year].Section(acDetail).ForceNewPage > > > HTH > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Thursday, May 14, 2009 9:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report ForceNewPage Property > > Can anybody tell me how to code the > > ForceNewPage Property on a Report? > > It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it > by itself. > > I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to > see the effects on my report for each one. > > The help does not give an example. > > Thanks > > Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu May 14 12:47:54 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 14 May 2009 18:47:54 +0100 Subject: [AccessD] Report ForceNewPage Property In-Reply-To: References: Message-ID: <4a0c594e.1c07d00a.192b.ffffa580@mx.google.com> Thanks Carolyn, That is useful Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Carolyn Johnson Sent: 14 May 2009 18:39 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report ForceNewPage Property I set the ForceNewPage property in the report open sub. If blnSeparatePageByCategory = True Then GroupFooter1.ForceNewPage = 2 GroupFooter0.ForceNewPage = 0 Else GroupFooter1.ForceNewPage = 0 GroupFooter0.ForceNewPage = 2 End If HTH, Carolyn Johnson ----- Original Message ----- From: Max Wanadoo To: Access Developers discussion and problem solving Sent: Thursday, May 14, 2009 9:49 AM Subject: Re: [AccessD] Report ForceNewPage Property Hi Lambert, I dont want to retrieve the current value, I want to set it. The OLH only give what you have quoted, it doesn't give an example of how to use it to change the value. I have tried it in all the sections but to no avail. Max On 5/14/09, Heenan, Lambert wrote: > > Max, > > ForceNewPage is a method of a report *Section*, not of the report itself. > The OL-Help gives this example of how to use it... > > > Dim intGetVal As Integer > intGetVal = Reports![Sales By Year].Section(acDetail).ForceNewPage > > > HTH > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Thursday, May 14, 2009 9:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report ForceNewPage Property > > Can anybody tell me how to code the > > ForceNewPage Property on a Report? > > It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it > by itself. > > I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to > see the effects on my report for each one. > > The help does not give an example. > > Thanks > > Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From James at fcidms.com Thu May 14 13:01:18 2009 From: James at fcidms.com (James Barash) Date: Thu, 14 May 2009 14:01:18 -0400 Subject: [AccessD] adodb returning error code from stored procedures - CODE In-Reply-To: <4A0C33E5.4040500@colbyconsulting.com> Message-ID: <014101c9d4bd$fc61dff0$710101c0@fci.local> John: If you just want to get a Return value, you need to add a ReturnParameter to your command object: cmd.Parameters.Append cmd.CreateParameter("Return", adInteger, adParamReturnValue) As I recall, it must be declared as the first parameter and must be an integer. To retrieve the value, after the Execute method use: cmd.Parameters("Return") In your Stored Procedure, just add a value to the Return statement: return 0 Or return 1 Or declare @ret int set @ret = 1 return @ret Output parameters work similarly but adding that to a generic procedure would be more complicated. You'd probably have to pass 2 param arrays, one for input and one for output. The output parameters are declared: cmd.Parameters.Append cmd.CreateParameter("Total", adDouble, adParamOutput) After the Execute method, the parameter value is available with cmd.Parameters("Total") In your stored procedure, add OUTPUT to the parameter declaration: Create Procedure [dbo].[sp_GetTotal] ( @id int, @Total float OUTPUT ) That should do it. Hope that helps. James Barash -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, May 14, 2009 11:08 AM To: Access Developers discussion and problem solving Subject: [AccessD] adodb returning error code from stored procedures - CODE The following is the code I currently use for executing stored procedures. As I mentioned in the previous email, it works, but it does not return any value from the SP. I have played around trying to make it do so but I think this is one of those cases where I could play for months and never get results without help. Any assistance is greatly appreciated. '--------------------------------------------------------------------------- ------------ ' Procedure : CallADOStoredProc ' Author : jwcolby ' Date : 1/29/2009 ' Purpose : Calls a stored procedure passing in only "INPUT" parameters to the SP ' SPs can have INPUT parameters and OUTPUT parameters. Passing OUTPUT ' parameters requires a different syntax when creating the parameter. ' This function can only pass INPUT parameters. ' ' I am leaving this function as is because much of the time that is all ' that is required. I will build another function to handle calls to ' stored procedures that can handle both. '--------------------------------------------------------------------------- ------------ ' Public Function CallADOStoredProcIn(strServerName As String, strDatabase As String, _ ByVal SPName As String, _ ParamArray Params() As Variant) As Boolean 'Created by Charlotte Foust 9/30/2000 'last modified 1/12/2001 'Calls a saved query or stored procedure On Error GoTo Proc_err Dim varValue As Variant Dim strSQL As String Dim intLoop As Integer Dim varPrmType As Variant Dim lngRecords As Long Dim cnn As ADODB.Connection Dim cmd As ADODB.Command Dim errCurr As ADODB.Error Dim colErrs As ADODB.Errors Dim lTimeoutSeconds As Long Const ERR_OPER_ON_INVALID_CONNECTION = 3709 Const ERR_RECORD_IS_DELETED = -2147467259 Const ERR_Timeout = -2147217871 Set cnn = New ADODB.Connection cnn.ConnectionString = mTrustedConnection(strServerName, strDatabase) cnn.CursorLocation = adUseClient 'this simplifies accessing the errors 'collection, which belongs to the 'connection Set colErrs = cnn.Errors cnn.Open Set cmd = New ADODB.Command lTimeoutSeconds = 55000 With cmd .ActiveConnection = cnn 'this could also be written as 'colErrs.Clear .ActiveConnection.Errors.Clear .CommandType = adCmdStoredProc .CommandText = SPName .CommandTimeout = lTimeoutSeconds For intLoop = LBound(Params) To UBound(Params) Select Case VarType(Params(intLoop)) Case vbString varPrmType = adVarWChar Case vbLong varPrmType = adBigInt Case vbDate varPrmType = adDate 'if SQL Server, use adDBTimeStamp Case vbInteger varPrmType = adSmallInt Case vbDouble varPrmType = adDouble Case vbSingle varPrmType = adSingle Case vbBoolean varPrmType = adBoolean Case vbCurrency varPrmType = adCurrency Case vbByte varPrmType = adUnsignedTinyInt Case vbNull varPrmType = Null Case Else 'WARNING! Not supported in ADO 2.5 varPrmType = adVariant End Select If varPrmType = adVarWChar Then .Parameters.Append .CreateParameter( _ "prm" & intLoop, varPrmType, adParamInput, Len(Params(intLoop)) + 2, Params(intLoop)) Else 'you have to create ALL the parameters .Parameters.Append .CreateParameter( _ "prm" & intLoop, varPrmType, adParamInput, , Params(intLoop)) End If 'varPrmType = adVarWChar Next intLoop .Execute RecordsAffected:=lngRecords, Options:=adCmdStoredProc CallADOStoredProcIn = True End With Proc_exit: On Error Resume Next CallADOStoredProcIn = lngRecords Set cmd = Nothing Exit Function Proc_err: 'ADO errors and Jet errors aren't the same 'collection, so this handles them differently If colErrs.Count > 0 Then 'There are ADO errors For Each errCurr In colErrs Select Case errCurr Case ERR_OPER_ON_INVALID_CONNECTION Stop Resume Proc_exit Case "Timeout expired" 'Timeout Debug.Print "Command timeout in CallAdoStoredProcIn: " & lTimeoutSeconds & " Seconds" If lTimeoutSeconds > 60000 Then MsgBox errCurr.Number & "--" _ & errCurr.Description & " (" _ & errCurr.Source & ")" Resume Proc_exit Else lTimeoutSeconds = lTimeoutSeconds * 2 Resume 0 End If Case Else MsgBox errCurr.Number & "--" _ & errCurr.Description & " (" _ & errCurr.Source & ")" Resume Proc_exit End Select Next errCurr colErrs.Clear Else 'there is an other error MsgBox Err.Number & "--" & Err.Description Resume Proc_exit End If Resume 0 End Function -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu May 14 13:31:39 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 14 May 2009 14:31:39 -0400 Subject: [AccessD] SPAM-LOW: Re: adodb returning error code from stored procedures - CODE In-Reply-To: <014101c9d4bd$fc61dff0$710101c0@fci.local> References: <014101c9d4bd$fc61dff0$710101c0@fci.local> Message-ID: <4A0C638B.7010001@colbyconsulting.com> James, Thanks for this response. I can definitely live with a simple return at least for the moment. If I can get a simple error code being returned then I will be miles ahead of where I am now. I'll be trying that today and will get back with my success. 8) John W. Colby www.ColbyConsulting.com James Barash wrote: > John: > > If you just want to get a Return value, you need to add a ReturnParameter to > your command object: > > cmd.Parameters.Append cmd.CreateParameter("Return", adInteger, > adParamReturnValue) > > As I recall, it must be declared as the first parameter and must be an > integer. To retrieve the value, after the Execute method use: > > cmd.Parameters("Return") > > In your Stored Procedure, just add a value to the Return statement: > > return 0 > > Or > > return 1 > > Or > > declare @ret int > set @ret = 1 > > return @ret > > Output parameters work similarly but adding that to a generic procedure > would be more complicated. You'd probably have to pass 2 param arrays, one > for input and one for output. > > The output parameters are declared: > > cmd.Parameters.Append cmd.CreateParameter("Total", adDouble, adParamOutput) > > After the Execute method, the parameter value is available with > > cmd.Parameters("Total") > > > In your stored procedure, add OUTPUT to the parameter declaration: > > Create Procedure [dbo].[sp_GetTotal] > ( > @id int, > @Total float OUTPUT > ) > > That should do it. > > Hope that helps. > > James Barash > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Thursday, May 14, 2009 11:08 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] adodb returning error code from stored procedures - CODE > > The following is the code I currently use for executing stored procedures. > As I mentioned in the > previous email, it works, but it does not return any value from the SP. I > have played around trying > to make it do so but I think this is one of those cases where I could play > for months and never get > results without help. > > Any assistance is greatly appreciated. > > '--------------------------------------------------------------------------- > ------------ > ' Procedure : CallADOStoredProc > ' Author : jwcolby > ' Date : 1/29/2009 > ' Purpose : Calls a stored procedure passing in only "INPUT" parameters to > the SP > ' SPs can have INPUT parameters and OUTPUT parameters. > Passing OUTPUT > ' parameters requires a different syntax when creating the > parameter. > ' This function can only pass INPUT parameters. > ' > ' I am leaving this function as is because much of the time > that is all > ' that is required. I will build another function to handle > calls to > ' stored procedures that can handle both. > '--------------------------------------------------------------------------- > ------------ > ' > Public Function CallADOStoredProcIn(strServerName As String, strDatabase As > String, _ > ByVal SPName As String, _ > ParamArray Params() As Variant) As > Boolean > 'Created by Charlotte Foust 9/30/2000 > 'last modified 1/12/2001 > 'Calls a saved query or stored procedure > On Error GoTo Proc_err > Dim varValue As Variant > Dim strSQL As String > Dim intLoop As Integer > Dim varPrmType As Variant > Dim lngRecords As Long > > > Dim cnn As ADODB.Connection > Dim cmd As ADODB.Command > Dim errCurr As ADODB.Error > Dim colErrs As ADODB.Errors > Dim lTimeoutSeconds As Long > > Const ERR_OPER_ON_INVALID_CONNECTION = 3709 > Const ERR_RECORD_IS_DELETED = -2147467259 > Const ERR_Timeout = -2147217871 > > Set cnn = New ADODB.Connection > cnn.ConnectionString = mTrustedConnection(strServerName, strDatabase) > cnn.CursorLocation = adUseClient > > 'this simplifies accessing the errors > 'collection, which belongs to the > 'connection > Set colErrs = cnn.Errors > > cnn.Open > > Set cmd = New ADODB.Command > lTimeoutSeconds = 55000 > With cmd > .ActiveConnection = cnn > 'this could also be written as > 'colErrs.Clear > .ActiveConnection.Errors.Clear > .CommandType = adCmdStoredProc > .CommandText = SPName > .CommandTimeout = lTimeoutSeconds > > For intLoop = LBound(Params) To UBound(Params) > Select Case VarType(Params(intLoop)) > Case vbString > varPrmType = adVarWChar > Case vbLong > varPrmType = adBigInt > Case vbDate > varPrmType = adDate > 'if SQL Server, use adDBTimeStamp > Case vbInteger > varPrmType = adSmallInt > Case vbDouble > varPrmType = adDouble > Case vbSingle > varPrmType = adSingle > Case vbBoolean > varPrmType = adBoolean > Case vbCurrency > varPrmType = adCurrency > Case vbByte > varPrmType = adUnsignedTinyInt > Case vbNull > varPrmType = Null > Case Else > 'WARNING! Not supported in ADO 2.5 > varPrmType = adVariant > End Select > If varPrmType = adVarWChar Then > .Parameters.Append .CreateParameter( _ > "prm" & intLoop, varPrmType, adParamInput, > Len(Params(intLoop)) + 2, Params(intLoop)) > Else > 'you have to create ALL the parameters > .Parameters.Append .CreateParameter( _ > "prm" & intLoop, varPrmType, adParamInput, , Params(intLoop)) > End If 'varPrmType = adVarWChar > Next intLoop > .Execute RecordsAffected:=lngRecords, Options:=adCmdStoredProc > CallADOStoredProcIn = True > End With > Proc_exit: > On Error Resume Next > CallADOStoredProcIn = lngRecords > Set cmd = Nothing > Exit Function > Proc_err: > 'ADO errors and Jet errors aren't the same > 'collection, so this handles them differently > If colErrs.Count > 0 Then > 'There are ADO errors > For Each errCurr In colErrs > Select Case errCurr > Case ERR_OPER_ON_INVALID_CONNECTION > Stop > Resume Proc_exit > Case "Timeout expired" 'Timeout > Debug.Print "Command timeout in CallAdoStoredProcIn: " & > lTimeoutSeconds & " Seconds" > If lTimeoutSeconds > 60000 Then > MsgBox errCurr.Number & "--" _ > & errCurr.Description & " (" _ > & errCurr.Source & ")" > Resume Proc_exit > Else > lTimeoutSeconds = lTimeoutSeconds * 2 > Resume 0 > End If > Case Else > MsgBox errCurr.Number & "--" _ > & errCurr.Description & " (" _ > & errCurr.Source & ")" > Resume Proc_exit > End Select > Next errCurr > colErrs.Clear > Else > 'there is an other error > MsgBox Err.Number & "--" & Err.Description > Resume Proc_exit > End If > Resume 0 > End Function > From john at winhaven.net Thu May 14 13:57:25 2009 From: john at winhaven.net (John Bartow) Date: Thu, 14 May 2009 13:57:25 -0500 Subject: [AccessD] Programmatically adding items to stand alone Outlook versus Outlook as an Exchange client Message-ID: <006001c9d4c5$d271d0d0$77557270$@net> Is there any difference between programmatically adding a contact to stand alone Outlook versus Outlook as an Exchange client? Is there any difference between programmatically adding a schedule item to stand alone Outlook versus Outlook as an Exchange client? From andy at minstersystems.co.uk Thu May 14 14:04:20 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 14 May 2009 20:04:20 +0100 Subject: [AccessD] OT RE: "Yesterday" - DBA version :-) In-Reply-To: <29f585dd0905141009h2d9a4d3ck81fa4edd0fb3a8ad@mail.gmail.com> Message-ID: <0C77062F290D4E54A4AE768AABCE538E@MINSTER> Love it. Nice one Arthur. Sure Macca would have been proud of this. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: 14 May 2009 18:10 To: Access Developers discussion and problem solving Subject: [AccessD] "Yesterday" - DBA version :-) I know this is a day early but this is too good to let go. Yesterday, All those backups seemed a waste of pay, Now my database has gone away, Oh I believe in yesterday. Suddenly, There?s not half the files there used to be, And there?s a millstone hanging over me The system crashed so suddenly. I pushed something wrong What it was I could not say. Now all my data?s gone And I long for yesterday-ay-ay-ay. Yesterday, The need for backups seemed so far away, I knew my data was all here to stay, Now I believe in yesterday." -- 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 May 14 14:06:24 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 14 May 2009 20:06:24 +0100 Subject: [AccessD] Programmatically adding items to stand alone Outlookversus Outlook as an Exchange client In-Reply-To: <006001c9d4c5$d271d0d0$77557270$@net> Message-ID: <5E4704C25E3743CB8FE7DE515AAA43F2@MINSTER> Don't know about the schedule item, John, but as far as Contacts are concerned no. If you're an Exchange client you can have local and public contacts but as long as you've got rights to update a public address book it works the same. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: 14 May 2009 19:57 To: _DBA-Access Subject: [AccessD] Programmatically adding items to stand alone Outlookversus Outlook as an Exchange client Is there any difference between programmatically adding a contact to stand alone Outlook versus Outlook as an Exchange client? Is there any difference between programmatically adding a schedule item to stand alone Outlook versus Outlook as an Exchange client? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Thu May 14 10:22:06 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Thu, 14 May 2009 16:22:06 +0100 Subject: [AccessD] Report ForceNewPage Property In-Reply-To: References: Message-ID: Got it! Here is an example of where it is used: Private Sub GroupHeader4_Print(Cancel As Integer, PrintCount As Integer) Reports![Transactions RQI_RODailyIncomeDetailed].Section("GroupHeader4").ForceNewPage = 3 End Sub Note that the SECTION has been indexed by inserting the sub group header name in quotes. Thanks Lambert Max On 5/14/09, Heenan, Lambert wrote: > > Max, > > ForceNewPage is a method of a report *Section*, not of the report itself. > The OL-Help gives this example of how to use it... > > > Dim intGetVal As Integer > intGetVal = Reports![Sales By Year].Section(acDetail).ForceNewPage > > > HTH > > Lambert > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto: > accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Thursday, May 14, 2009 9:53 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Report ForceNewPage Property > > Can anybody tell me how to code the > > ForceNewPage Property on a Report? > > It won't take me.ForceNewPage or Report.ForceNewPage and it won't take it > by itself. > > I want to try ForceNewPage = 1 and ForceNewPage = 2 and ForceNewPage = 3 to > see the effects on my report for each one. > > The help does not give an example. > > Thanks > > Max > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Thu May 14 15:11:34 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 14 May 2009 16:11:34 -0400 Subject: [AccessD] Enable ActiveX controls which Access 2003/2007 doesn't"support" (update) References: Message-ID: <08745CA4296F48C590FB9B9640BDFDB6@jislaptopdev> ...sweet it is! :) William -------------------------------------------------- From: "Gustav Brock" Sent: Thursday, May 14, 2009 5:26 AM To: Subject: [AccessD] Enable ActiveX controls which Access 2003/2007doesn't"support"(update) > Hi all > > This is an update to the old thread from 2005: > Kodak Imaging and Access 2003 (was: Looking for TWAINocx) > > It was about how Internet Explorer blocks many ActiveX (OCX) controls in > Access 2003+. > The error message in Access is that "Access doesn't support this control" > or that "object cannot be found" or a similar useless message. > > So how to deal with this if the client upgrades and a long running > application refuses to run? > On your machine 500+ controls may be listed but only by their GUID. > This excellent tool, ActiveXHelper, comes to rescue: > > http://www.nirsoft.net/utils/axhelper.html > > On Vista you, of course, have to run it as administrator. > > In 20 seconds I had my old app using MS WinSock running in A2007 on Vista! > > /gustav > > >>>> Gustav at cactus.dk 21-02-2005 12:22 >>> > Hi all > > Found out why Access 2003 denies to load the Kodak Imaging controls and > how to remove that blocking. > It is - believe it or not - because Access 2003 refuses to use ActiveX > controls which for some reason are listed as insecure in Internet Explorer > ... as explained here: > > http://mail.localplanet.co.uk/Blogs/stuart/archive/2005/02/19/AccessActiveX.aspx > > > What it tells is to reset the Compatibility Flag for these entries to 0: > > Kodak Image Admin Control > HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ > {009541A0-3B81-101C-92F3-040224009C02} > > Kodak Image Edit Control > HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ > {6D940280-9F11-11CE-83FD-02608C3EC08A} > > Kodak Image Scan Control > HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ > {84926CA0-2941-101C-816F-0E6013114B7F} > > Rich Text Control > HKLM\SOFTWARE\Microsoft\Internet Explorer\ActiveX Compatibility\ > {3B7C8860-D78F-101B-B9B5-04021C009402} > > /gustav > >>>> Gustav at cactus.dk 20-02-2005 17:32:10 >>> > Hi all > > I have done some testing with a sample app Neal kindly provided which uses > the Kodak Imaging ocx controls. > > It works fine with my old Agfa Snapscan test scanner - as long as I don't > run it in Access 2003. > Whatever I do (references, late binding etc. etc.), when moved to A2003 it > refuses to talk with the twain driver - it is as if A2003 expects a higher > version or similar of the twain driver. Neither will the edit control > activate in A2003. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Thu May 14 18:37:20 2009 From: john at winhaven.net (John Bartow) Date: Thu, 14 May 2009 18:37:20 -0500 Subject: [AccessD] Programmatically adding items to stand alone Outlookversus Outlook as an Exchange client In-Reply-To: <5E4704C25E3743CB8FE7DE515AAA43F2@MINSTER> References: <006001c9d4c5$d271d0d0$77557270$@net> <5E4704C25E3743CB8FE7DE515AAA43F2@MINSTER> Message-ID: <010901c9d4ec$ecf3a290$c6dae7b0$@net> Super - thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Thursday, May 14, 2009 2:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Programmatically adding items to stand alone Outlookversus Outlook as an Exchange client Don't know about the schedule item, John, but as far as Contacts are concerned no. If you're an Exchange client you can have local and public contacts but as long as you've got rights to update a public address book it works the same. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: 14 May 2009 19:57 To: _DBA-Access Subject: [AccessD] Programmatically adding items to stand alone Outlookversus Outlook as an Exchange client Is there any difference between programmatically adding a contact to stand alone Outlook versus Outlook as an Exchange client? Is there any difference between programmatically adding a schedule item to stand alone Outlook versus Outlook as an Exchange client? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From EdTesiny at oasas.state.ny.us Thu May 14 18:48:34 2009 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 14 May 2009 19:48:34 -0400 Subject: [AccessD] "Yesterday" - DBA version :-) References: <0003255755625e16290469e2563f@google.com> <29f585dd0905141009h2d9a4d3ck81fa4edd0fb3a8ad@mail.gmail.com> Message-ID: It's late so, Good one Arthur, forwarded to many friends...loved it ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Arthur Fuller Sent: Thu 5/14/2009 1:09 PM To: Access Developers discussion and problem solving Subject: [AccessD] "Yesterday" - DBA version :-) I know this is a day early but this is too good to let go. Yesterday, All those backups seemed a waste of pay, Now my database has gone away, Oh I believe in yesterday. Suddenly, There?s not half the files there used to be, And there?s a millstone hanging over me The system crashed so suddenly. I pushed something wrong What it was I could not say. Now all my data?s gone And I long for yesterday-ay-ay-ay. Yesterday, The need for backups seemed so far away, I knew my data was all here to stay, Now I believe in yesterday." -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Thu May 14 19:53:21 2009 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 14 May 2009 17:53:21 -0700 Subject: [AccessD] adodb returning error code from stored procedures - CODE In-Reply-To: <4A0C33E5.4040500@colbyconsulting.com> References: <4A0C33E5.4040500@colbyconsulting.com> Message-ID: <4dd71a0c0905141753t10cf0130sf905bd365aa47249@mail.gmail.com> FWIW, I'm using DAO and am returning the rows affected from a SQL stored procedure as follows (code is abbreviated): 1. In my SQL sproc, called 'mySPROC': BEGIN SET NOCOUNT ON (this is apparently important) .... T-SQL statements .... SELECT @@ROWCOUNT as myRowCount END 2. In Access: Dim qd As QueryDef Dim rs As Recordset Set qd = CurrentDb.QueryDefs("qDummyPassThroughQuery") qd.Connect = "ODBC;DRIVER=SQL Server;Server= " & myServer & ";DATABASE=" & mySQLDatabase & ";Trusted_Connection=Yes" qd.SQL = "exec mySPROC" qd.ReturnsRecords = True Set rs = qd.OpenRecordset MsgBox rs.Fields("myRowCount") Doug Steele On Thu, May 14, 2009 at 8:08 AM, jwcolby wrote: > The following is the code I currently use for executing stored procedures. > As I mentioned in the > previous email, it works, but it does not return any value from the SP. I > have played around trying > to make it do so but I think this is one of those cases where I could play > for months and never get > results without help. > > Any assistance is greatly appreciated. > > From jwcolby at colbyconsulting.com Fri May 15 06:52:34 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 15 May 2009 07:52:34 -0400 Subject: [AccessD] adodb returning error code from stored procedures - CODE In-Reply-To: <4dd71a0c0905141753t10cf0130sf905bd365aa47249@mail.gmail.com> References: <4A0C33E5.4040500@colbyconsulting.com> <4dd71a0c0905141753t10cf0130sf905bd365aa47249@mail.gmail.com> Message-ID: <4A0D5782.3010708@colbyconsulting.com> Doug, Thanks for the response. To this point I have not actually used any data inside of Access though I may need to eventually. All of my processing occurs out in sql server, with data imported into sql server, arranged into tables, exported back out etc. I use Access only as a control process, a place to enter data into tables (in Access so far) that control this rather complex process. I really should be doing the whole thing in .Net but so far I have needed to spend my available time getting the SQL Server side of things down. The Access side is really quite tame (for me anyway) and because I can do Access in my sleep it allows me to focus on the process rather than the control of the process. John W. Colby www.ColbyConsulting.com Doug Steele wrote: > FWIW, I'm using DAO and am returning the rows affected from a SQL stored > procedure as follows (code is abbreviated): > > 1. In my SQL sproc, called 'mySPROC': > > BEGIN > SET NOCOUNT ON (this is apparently important) > .... > T-SQL statements > .... > SELECT @@ROWCOUNT as myRowCount > END > > 2. In Access: > > Dim qd As QueryDef > Dim rs As Recordset > > Set qd = CurrentDb.QueryDefs("qDummyPassThroughQuery") > qd.Connect = "ODBC;DRIVER=SQL Server;Server= " & myServer & ";DATABASE=" & > mySQLDatabase & ";Trusted_Connection=Yes" > qd.SQL = "exec mySPROC" > qd.ReturnsRecords = True > Set rs = qd.OpenRecordset > MsgBox rs.Fields("myRowCount") > > Doug Steele > > > On Thu, May 14, 2009 at 8:08 AM, jwcolby wrote: > >> The following is the code I currently use for executing stored procedures. >> As I mentioned in the >> previous email, it works, but it does not return any value from the SP. I >> have played around trying >> to make it do so but I think this is one of those cases where I could play >> for months and never get >> results without help. >> >> Any assistance is greatly appreciated. >> >> From rockysmolin at bchacc.com Fri May 15 09:22:44 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 15 May 2009 07:22:44 -0700 Subject: [AccessD] Random ina query Message-ID: Dear List: Can you use the random function in a query so that the query picks a certain number of unique records at random from a table? MTIA Rocky From Gustav at cactus.dk Fri May 15 10:05:59 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 17:05:59 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Rocky No, an external function is needed: http://databaseadvisors.com/pipermail/accessd/2005-March/032503.html /gustav >>> rockysmolin at bchacc.com 15-05-2009 16:22:44 >>> Dear List: Can you use the random function in a query so that the query picks a certain number of unique records at random from a table? MTIA Rocky From jimdettman at verizon.net Fri May 15 10:07:48 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 15 May 2009 11:07:48 -0400 Subject: [AccessD] Random ina query In-Reply-To: References: Message-ID: Yup. Define a column as Rnd(1), sort on that column and set the TOP predicate for the query for the number of records you want. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 15, 2009 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Random ina query Dear List: Can you use the random function in a query so that the query picks a certain number of unique records at random from a table? MTIA Rocky From Gustav at cactus.dk Fri May 15 10:25:12 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 17:25:12 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Jim Not you! I've posted that code many times here and 14 times at [you know where] since 2004. I even found my function here (with left out credits of course): http://www.vbforums.com/showthread.php?t=388276 /gustav >>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> Yup. Define a column as Rnd(1), sort on that column and set the TOP predicate for the query for the number of records you want. From rockysmolin at bchacc.com Fri May 15 10:36:27 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 15 May 2009 08:36:27 -0700 Subject: [AccessD] Random ina query In-Reply-To: References: Message-ID: <65DB24DA5A7041D3A48E71FCC42B5234@HAL9005> Thanks Gustav. I'll forward to the client. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 15, 2009 8:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Rocky No, an external function is needed: http://databaseadvisors.com/pipermail/accessd/2005-March/032503.html /gustav >>> rockysmolin at bchacc.com 15-05-2009 16:22:44 >>> Dear List: Can you use the random function in a query so that the query picks a certain number of unique records at random from a table? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 15 10:37:01 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 15 May 2009 08:37:01 -0700 Subject: [AccessD] Random ina query In-Reply-To: References: Message-ID: <80E1730867AB4E0295FCD4D6B389321A@HAL9005> Cool. Thanks. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Friday, May 15, 2009 8:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Random ina query Yup. Define a column as Rnd(1), sort on that column and set the TOP predicate for the query for the number of records you want. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 15, 2009 10:23 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Random ina query Dear List: Can you use the random function in a query so that the query picks a certain number of unique records at random from a table? MTIA Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Fri May 15 10:42:19 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 15 May 2009 11:42:19 -0400 Subject: [AccessD] Random ina query In-Reply-To: References: Message-ID: I forgot to add a field to the call, but otherwise, that will work. With it defined as I posted, it would get called once at the start of the query. It needs to be Rnd([]). If you don't have a non-zero numeric field, you can do Rnd(Len([]) But other then that, it does work. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 15, 2009 11:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Jim Not you! I've posted that code many times here and 14 times at [you know where] since 2004. I even found my function here (with left out credits of course): http://www.vbforums.com/showthread.php?t=388276 /gustav >>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> Yup. Define a column as Rnd(1), sort on that column and set the TOP predicate for the query for the number of records you want. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri May 15 11:15:08 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 18:15:08 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Jim No. As I wrote to Susan (note the word "initially"): I had to deal with this and found out that the common method spread around the web doesn't work. The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: http://blogs.techrepublic.com.com/howdoi/?p=149 She does discuss a UDF but, unfortunately, that is for another purpose. /gustav >>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> I forgot to add a field to the call, but otherwise, that will work. With it defined as I posted, it would get called once at the start of the query. It needs to be Rnd([]). If you don't have a non-zero numeric field, you can do Rnd(Len([]) But other then that, it does work. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 15, 2009 11:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Jim Not you! I've posted that code many times here and 14 times at [you know where] since 2004. I even found my function here (with left out credits of course): http://www.vbforums.com/showthread.php?t=388276 /gustav >>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> Yup. Define a column as Rnd(1), sort on that column and set the TOP predicate for the query for the number of records you want. From ssharkins at gmail.com Fri May 15 11:23:16 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 15 May 2009 12:23:16 -0400 Subject: [AccessD] Random ina query References: Message-ID: <2ED3227801F04870B6AB3A19566E6CE1@SusanOne> > > The years passed by and Susan forgot all about it, so in 2007 she wrote a > tip without mentioning this trap: > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > She does discuss a UDF but, unfortunately, that is for another purpose. ======I think I did discuss the trap -- unless you're talking about something else. Depending on argument, RAND() generates a different set of values -- one behavior is to repeat the same values. Susan H. From jwcolby at colbyconsulting.com Fri May 15 11:57:24 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 15 May 2009 12:57:24 -0400 Subject: [AccessD] SPAM-LOW: Re: Random ina query In-Reply-To: References: Message-ID: <4A0D9EF4.9070603@colbyconsulting.com> couldn't you do something like: (air code) function Rndm() static blnInitialized as boolean if blnInitialized then rndm = Random() else Randomize Rndm = Random() blnInitialized = true endif end function Then the randomize would occur in the same scope as the call to random(). Or does the fact that the function is called in a query somehow prevent the static from sticking around? Or some other issue? John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi Jim > > No. As I wrote to Susan (note the word "initially"): > > > I had to deal with this and found out that the common method spread around the web doesn't work. > > The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. > > > The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > She does discuss a UDF but, unfortunately, that is for another purpose. > > /gustav > > >>>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> > > I forgot to add a field to the call, but otherwise, that will work. With > it defined as I posted, it would get called once at the start of the query. > It needs to be Rnd([]). If you don't have a non-zero numeric > field, you can do Rnd(Len([]) > > But other then that, it does work. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, May 15, 2009 11:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Random ina query > > Hi Jim > > Not you! I've posted that code many times here and 14 times at [you know > where] since 2004. > > I even found my function here (with left out credits of course): > > http://www.vbforums.com/showthread.php?t=388276 > > /gustav > > >>>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> > > Yup. Define a column as Rnd(1), sort on that column and set the TOP > predicate for the query for the number of records you want. > > > From jwcolby at colbyconsulting.com Fri May 15 12:03:10 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 15 May 2009 13:03:10 -0400 Subject: [AccessD] Random ina query In-Reply-To: <2ED3227801F04870B6AB3A19566E6CE1@SusanOne> References: <2ED3227801F04870B6AB3A19566E6CE1@SusanOne> Message-ID: <4A0DA04E.4020108@colbyconsulting.com> The years pass by and Susan forgets that Susan forgets... John W. Colby www.ColbyConsulting.com Susan Harkins wrote: >> The years passed by and Susan forgot all about it, so in 2007 she wrote a >> tip without mentioning this trap: >> >> http://blogs.techrepublic.com.com/howdoi/?p=149 >> >> She does discuss a UDF but, unfortunately, that is for another purpose. > > ======I think I did discuss the trap -- unless you're talking about > something else. Depending on argument, RAND() generates a different set of > values -- one behavior is to repeat the same values. > > Susan H. > From Gustav at cactus.dk Fri May 15 12:03:16 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 19:03:16 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Susan Since you write RAND() you may have SQL Server in mind. That - and all other db server engines - are different in this matter. I've read your tip twice but I couldn't see any reference to this. As I once wrote about Rnd(), Access and SQL: > What's wrong with using Rnd(Now)? Every time you close and relaunch Access and run the query, Rnd() will produce the same sequence. Randomize must be used, and that cannot be done in SQL as it will run in another session. Thus, retrieving the pseudo random sequence from an external function that does call Randomize is the only solution. /gustav >>> ssharkins at gmail.com 15-05-2009 18:23:16 >>> > > The years passed by and Susan forgot all about it, so in 2007 she wrote a > tip without mentioning this trap: > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > She does discuss a UDF but, unfortunately, that is for another purpose. ======I think I did discuss the trap -- unless you're talking about something else. Depending on argument, RAND() generates a different set of values -- one behavior is to repeat the same values. Susan H. From jimdettman at verizon.net Fri May 15 12:02:42 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 15 May 2009 13:02:42 -0400 Subject: [AccessD] Random ina query In-Reply-To: References: Message-ID: <44BB0494CD5B4A62B0FF254267E8A3B4@XPS> gustav, Well I just tried it here and it works fine. On a table of 16,000 records, I asked for the top 5 and I got a different set of five records no matter how many times I executed the query. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 15, 2009 12:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Jim No. As I wrote to Susan (note the word "initially"): I had to deal with this and found out that the common method spread around the web doesn't work. The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: http://blogs.techrepublic.com.com/howdoi/?p=149 She does discuss a UDF but, unfortunately, that is for another purpose. /gustav >>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> I forgot to add a field to the call, but otherwise, that will work. With it defined as I posted, it would get called once at the start of the query. It needs to be Rnd([]). If you don't have a non-zero numeric field, you can do Rnd(Len([]) But other then that, it does work. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 15, 2009 11:25 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Jim Not you! I've posted that code many times here and 14 times at [you know where] since 2004. I even found my function here (with left out credits of course): http://www.vbforums.com/showthread.php?t=388276 /gustav >>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> Yup. Define a column as Rnd(1), sort on that column and set the TOP predicate for the query for the number of records you want. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri May 15 12:06:27 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 15 May 2009 13:06:27 -0400 Subject: [AccessD] Random ina query References: <2ED3227801F04870B6AB3A19566E6CE1@SusanOne> <4A0DA04E.4020108@colbyconsulting.com> Message-ID: <5674C96EA8E5401BAD5D5D0828505734@SusanOne> Boys... I'm in the room. :) JC, it's sad -- it really is that bad. I don't even remember that I forgot! I don't remember what I forgot! ;) BTW, who the hell are you? Susan H. > The years pass by and Susan forgets that Susan forgets... > > John W. Colby > www.ColbyConsulting.com > > > Susan Harkins wrote: >>> The years passed by and Susan forgot all about it, so in 2007 she wrote >>> a >>> tip without mentioning this trap: >>> >>> http://blogs.techrepublic.com.com/howdoi/?p=149 >>> >>> She does discuss a UDF but, unfortunately, that is for another purpose. >> >> ======I think I did discuss the trap -- unless you're talking about >> something else. Depending on argument, RAND() generates a different set >> of >> values -- one behavior is to repeat the same values. >> >> 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 Fri May 15 12:06:54 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 19:06:54 +0200 Subject: [AccessD] SPAM-LOW: Re: Random ina query Message-ID: Hi John Yes you could do that - it's pretty close to the function I linked to earlier: http://databaseadvisors.com/pipermail/accessd/2005-March/032503.html /gustav >>> jwcolby at colbyconsulting.com 15-05-2009 18:57:24 >>> couldn't you do something like: (air code) function Rndm() static blnInitialized as boolean if blnInitialized then rndm = Random() else Randomize Rndm = Random() blnInitialized = true endif end function Then the randomize would occur in the same scope as the call to random(). Or does the fact that the function is called in a query somehow prevent the static from sticking around? Or some other issue? John W. Colby www.ColbyConsulting.com Gustav Brock wrote: > Hi Jim > > No. As I wrote to Susan (note the word "initially"): > > > I had to deal with this and found out that the common method spread around the web doesn't work. > > The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. > > > The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > She does discuss a UDF but, unfortunately, that is for another purpose. > > /gustav > > >>>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> > > I forgot to add a field to the call, but otherwise, that will work. With > it defined as I posted, it would get called once at the start of the query. > It needs to be Rnd([]). If you don't have a non-zero numeric > field, you can do Rnd(Len([]) > > But other then that, it does work. > > Jim. > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, May 15, 2009 11:25 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Random ina query > > Hi Jim > > Not you! I've posted that code many times here and 14 times at [you know > where] since 2004. > > I even found my function here (with left out credits of course): > > http://www.vbforums.com/showthread.php?t=388276 > > /gustav > > >>>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> > > Yup. Define a column as Rnd(1), sort on that column and set the TOP > predicate for the query for the number of records you want. From ssharkins at gmail.com Fri May 15 12:09:00 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 15 May 2009 13:09:00 -0400 Subject: [AccessD] Random ina query References: <44BB0494CD5B4A62B0FF254267E8A3B4@XPS> Message-ID: <294477F7653D4769AAA954BAD1EBEFDA@SusanOne> Well, like I mentioned, depending on RAND()'s argument, that won't always be the case, that's where RANDOMIZE() comes in handy. But knowing when it's needed is the key. Interestingly, there's a bit with relaunching the database -- I don't remember the particulars, but would be easy enough to test. You'll get random results until you close the database and then when you relaunch, it'll start the sequence all over again. But like I said... I've forgotten the particulars. :) Susan H. > > gustav, > > Well I just tried it here and it works fine. On a table of 16,000 > records, I asked for the top 5 and I got a different set of five records > no > matter how many times I executed the query. From Gustav at cactus.dk Fri May 15 12:13:36 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 19:13:36 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Jim But you forgot to close and relaunch Access - that's the trap. If you do so, not only the first run (run 1) but every run (run n) of the query will be identical to run 1 and run n of the query of any previous session. /gustav >>> jimdettman at verizon.net 15-05-2009 19:02:42 >>> gustav, Well I just tried it here and it works fine. On a table of 16,000 records, I asked for the top 5 and I got a different set of five records no matter how many times I executed the query. Jim. From Gustav at cactus.dk Fri May 15 12:26:14 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 May 2009 19:26:14 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Susan So know you remember what you previously forgot you had forgotten. And you are right (last paragraph), that's how it is - it's about the relaunch - it is quite simple and there are no particulars to forget. I was getting nervous for a moment ... /gustav >>> ssharkins at gmail.com 15-05-2009 19:09:00 >>> Well, like I mentioned, depending on RAND()'s argument, that won't always be the case, that's where RANDOMIZE() comes in handy. But knowing when it's needed is the key. Interestingly, there's a bit with relaunching the database -- I don't remember the particulars, but would be easy enough to test. You'll get random results until you close the database and then when you relaunch, it'll start the sequence all over again. But like I said... I've forgotten the particulars. :) Susan H. > > gustav, > > Well I just tried it here and it works fine. On a table of 16,000 > records, I asked for the top 5 and I got a different set of five records > no matter how many times I executed the query. From stuart at lexacorp.com.pg Fri May 15 18:07:18 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 16 May 2009 09:07:18 +1000 Subject: [AccessD] SPAM-LOW: Re: Random ina query In-Reply-To: <4A0D9EF4.9070603@colbyconsulting.com> References: , <4A0D9EF4.9070603@colbyconsulting.com> Message-ID: <4A0DF5A6.21849.8E84C88@stuart.lexacorp.com.pg> You don't need to go to all that trouble. You can do it with a one line function: Function Rndm(FieldVal as Variant) as Single Rndm = Rnd() End Function. - as long as you call Randomize at some stage before opening the query. You can do so in a Startup() function invoked from an Autoexec macro, in the On_open of your startup form or in an event procedure which opens the query. -- Stuart On 15 May 2009 at 12:57, jwcolby wrote: > couldn't you do something like: (air code) > > function Rndm() > static blnInitialized as boolean > if blnInitialized then > rndm = Random() > else > Randomize > Rndm = Random() > blnInitialized = true > endif > end function > > Then the randomize would occur in the same scope as the call to random(). > > Or does the fact that the function is called in a query somehow prevent the static from sticking > around? Or some other issue? > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi Jim > > > > No. As I wrote to Susan (note the word "initially"): > > > > > > I had to deal with this and found out that the common method spread around the web doesn't work. > > > > The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. > > > > > > The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: > > > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > > > She does discuss a UDF but, unfortunately, that is for another purpose. > > > > /gustav > > > > > >>>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> > > > > I forgot to add a field to the call, but otherwise, that will work. With > > it defined as I posted, it would get called once at the start of the query. > > It needs to be Rnd([]). If you don't have a non-zero numeric > > field, you can do Rnd(Len([]) > > > > But other then that, it does work. > > > > Jim. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > Sent: Friday, May 15, 2009 11:25 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Random ina query > > > > Hi Jim > > > > Not you! I've posted that code many times here and 14 times at [you know > > where] since 2004. > > > > I even found my function here (with left out credits of course): > > > > http://www.vbforums.com/showthread.php?t=388276 > > > > /gustav > > > > > >>>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> > > > > Yup. Define a column as Rnd(1), sort on that column and set the TOP > > predicate for the query for the number of records you want. > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From erbachs at gmail.com Fri May 15 23:44:18 2009 From: erbachs at gmail.com (Steve Erbach) Date: Fri, 15 May 2009 23:44:18 -0500 Subject: [AccessD] OT: Wolfram|Alpha Message-ID: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> Dear Group, I watched the live launch webcast of Wolfram|Alpha tonight from about 7:30-10:30 CDT. It is online now, though the official launch date is Monday: www.wolframalpha.com One of the first queries I typed in was: "circumference of the milky way in cm". Wolfram|Alpha gave me the answer, whereas a Google search just gave me a list of Milky Way web sites. That's the biggest difference: Google gives you places to look for the answer to your question while Wolfram|Alpha gives you the answer plus a lot of interesting associated information. For example, not only did I get the circumference of the Milky Way in centimeters, I got the time it would take light to travel that distance. Very, very cool. I've been typing in queries for about three hours. There are things it doesn't quite get; but you can get started by looking at the categorized examples. I found that Wolfram|Alpha will not only solve quadratic equations but it will factor them, too. Algebra was the topic on another email discussion and, voil?! Wolfram|Alpha, she factors ze equations! Amazing stuff. Regards, Steve Erbach Neenah, WI http://www.NeenahPolitics.com http://www.TheTownCrank.com From miscellany at mvps.org Sat May 16 00:28:18 2009 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 16 May 2009 17:28:18 +1200 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> References: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> Message-ID: <04D7B3A481824D11BD7E4BF1C80CE3A7@stevePC> Thanks, Steve. That is indeed amazing. JET backend? Regards Steve -------------------------------------------------- From: "Steve Erbach" Sent: Saturday, May 16, 2009 4:44 PM To: "Access Developers discussion and problem solving" Subject: [AccessD] OT: Wolfram|Alpha > Dear Group, > > I watched the live launch webcast of Wolfram|Alpha tonight from about > 7:30-10:30 CDT. It is online now, though the official launch date is > Monday: > > www.wolframalpha.com > > One of the first queries I typed in was: "circumference of the milky > way in cm". Wolfram|Alpha gave me the answer, whereas a Google search > just gave me a list of Milky Way web sites. > > That's the biggest difference: Google gives you places to look for the > answer to your question while Wolfram|Alpha gives you the answer plus > a lot of interesting associated information. For example, not only > did I get the circumference of the Milky Way in centimeters, I got the > time it would take light to travel that distance. > > Very, very cool. I've been typing in queries for about three hours. > There are things it doesn't quite get; but you can get started by > looking at the categorized examples. > > I found that Wolfram|Alpha will not only solve quadratic equations but > it will factor them, too. Algebra was the topic on another email > discussion and, voil?! Wolfram|Alpha, she factors ze equations! > > Amazing stuff. > From Gustav at cactus.dk Sat May 16 02:49:45 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 May 2009 09:49:45 +0200 Subject: [AccessD] Random ina query Message-ID: Hi Stuart That is true. The idea, however, with my function (listed previously) was to provide a generic solution which you can plug in and will work under any condition without having to alter any other code or macro. /gustav >>> stuart at lexacorp.com.pg 16-05-2009 01:07 >>> You don't need to go to all that trouble. You can do it with a one line function: Function Rndm(FieldVal as Variant) as Single Rndm = Rnd() End Function. - as long as you call Randomize at some stage before opening the query. You can do so in a Startup() function invoked from an Autoexec macro, in the On_open of your startup form or in an event procedure which opens the query. -- Stuart On 15 May 2009 at 12:57, jwcolby wrote: > couldn't you do something like: (air code) > > function Rndm() > static blnInitialized as boolean > if blnInitialized then > rndm = Random() > else > Randomize > Rndm = Random() > blnInitialized = true > endif > end function > > Then the randomize would occur in the same scope as the call to random(). > > Or does the fact that the function is called in a query somehow prevent the static from sticking > around? Or some other issue? > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi Jim > > > > No. As I wrote to Susan (note the word "initially"): > > > > > > I had to deal with this and found out that the common method spread around the web doesn't work. > > > > The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. > > > > > > The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: > > > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > > > She does discuss a UDF but, unfortunately, that is for another purpose. > > > > /gustav > > > > > >>>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> > > > > I forgot to add a field to the call, but otherwise, that will work. With > > it defined as I posted, it would get called once at the start of the query. > > It needs to be Rnd([]). If you don't have a non-zero numeric > > field, you can do Rnd(Len([]) > > > > But other then that, it does work. > > > > Jim. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > Sent: Friday, May 15, 2009 11:25 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Random ina query > > > > Hi Jim > > > > Not you! I've posted that code many times here and 14 times at [you know > > where] since 2004. > > > > I even found my function here (with left out credits of course): > > > > http://www.vbforums.com/showthread.php?t=388276 > > > > /gustav > > > > > >>>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> > > > > Yup. Define a column as Rnd(1), sort on that column and set the TOP > > predicate for the query for the number of records you want. From max.wanadoo at gmail.com Sat May 16 03:03:35 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 16 May 2009 09:03:35 +0100 Subject: [AccessD] Deleting Duplicates In-Reply-To: References: Message-ID: <4a0e735a.1701d00a.65de.17fa@mx.google.com> Hi Gustav, Do you have a quick sql where I can delete duplicate records leaving just one behind. The wizard shows me all but I need only the duplicate so that I can delete it. ta Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 16 May 2009 08:50 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Stuart That is true. The idea, however, with my function (listed previously) was to provide a generic solution which you can plug in and will work under any condition without having to alter any other code or macro. /gustav >>> stuart at lexacorp.com.pg 16-05-2009 01:07 >>> You don't need to go to all that trouble. You can do it with a one line function: Function Rndm(FieldVal as Variant) as Single Rndm = Rnd() End Function. - as long as you call Randomize at some stage before opening the query. You can do so in a Startup() function invoked from an Autoexec macro, in the On_open of your startup form or in an event procedure which opens the query. -- Stuart On 15 May 2009 at 12:57, jwcolby wrote: > couldn't you do something like: (air code) > > function Rndm() > static blnInitialized as boolean > if blnInitialized then > rndm = Random() > else > Randomize > Rndm = Random() > blnInitialized = true > endif > end function > > Then the randomize would occur in the same scope as the call to random(). > > Or does the fact that the function is called in a query somehow prevent the static from sticking > around? Or some other issue? > > John W. Colby > www.ColbyConsulting.com > > > Gustav Brock wrote: > > Hi Jim > > > > No. As I wrote to Susan (note the word "initially"): > > > > > > I had to deal with this and found out that the common method spread around the web doesn't work. > > > > The problem is that calling Randomize outside the query (by an external function) takes place in a different scope than that of the query, thus Rnd(..) is run in the query with the same seed initially which, of course, will return the same sample or sequence of samples. > > > > > > The years passed by and Susan forgot all about it, so in 2007 she wrote a tip without mentioning this trap: > > > > http://blogs.techrepublic.com.com/howdoi/?p=149 > > > > She does discuss a UDF but, unfortunately, that is for another purpose. > > > > /gustav > > > > > >>>> jimdettman at verizon.net 15-05-2009 17:42:19 >>> > > > > I forgot to add a field to the call, but otherwise, that will work. With > > it defined as I posted, it would get called once at the start of the query. > > It needs to be Rnd([]). If you don't have a non-zero numeric > > field, you can do Rnd(Len([]) > > > > But other then that, it does work. > > > > Jim. > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > > Sent: Friday, May 15, 2009 11:25 AM > > To: accessd at databaseadvisors.com > > Subject: Re: [AccessD] Random ina query > > > > Hi Jim > > > > Not you! I've posted that code many times here and 14 times at [you know > > where] since 2004. > > > > I even found my function here (with left out credits of course): > > > > http://www.vbforums.com/showthread.php?t=388276 > > > > /gustav > > > > > >>>> jimdettman at verizon.net 15-05-2009 17:07:48 >>> > > > > Yup. Define a column as Rnd(1), sort on that column and set the TOP > > predicate for the query for the number of records you want. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat May 16 03:13:56 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 May 2009 10:13:56 +0200 Subject: [AccessD] Deleting Duplicates Message-ID: Hi Max Yes, from Bill (is he still with us?) on 2001-01-25: Make sure to make a backup & test it first. . . 1. Add an autonumber field if you don't have a PK. 2. Create a totals Query1 which shows GroupBy the name, and First of the PK. 3. Create a delete Query2 with the PK criteria like this: Not In (Select FirstOfPK From Query1;) When you run the delete Query2 it will delete everything _except_ the first occurrence of each name. Bill Mitchell, MCP /gustav >>> max.wanadoo at gmail.com 16-05-2009 10:03 >>> Hi Gustav, Do you have a quick sql where I can delete duplicate records leaving just one behind. The wizard shows me all but I need only the duplicate so that I can delete it. ta Max From Gustav at cactus.dk Sat May 16 03:44:43 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 May 2009 10:44:43 +0200 Subject: [AccessD] OT: Wolfram|Alpha Message-ID: Hi Steve Thanks! This could be extremely useful at a high level - though currently the site seams to be under heavy load ... /gustav >>> erbachs at gmail.com 16-05-2009 06:44 >>> Dear Group, I watched the live launch webcast of Wolfram|Alpha tonight from about 7:30-10:30 CDT. It is online now, though the official launch date is Monday: www.wolframalpha.com One of the first queries I typed in was: "circumference of the milky way in cm". Wolfram|Alpha gave me the answer, whereas a Google search just gave me a list of Milky Way web sites. That's the biggest difference: Google gives you places to look for the answer to your question while Wolfram|Alpha gives you the answer plus a lot of interesting associated information. For example, not only did I get the circumference of the Milky Way in centimeters, I got the time it would take light to travel that distance. Very, very cool. I've been typing in queries for about three hours. There are things it doesn't quite get; but you can get started by looking at the categorized examples. I found that Wolfram|Alpha will not only solve quadratic equations but it will factor them, too. Algebra was the topic on another email discussion and, voil?! Wolfram|Alpha, she factors ze equations! Amazing stuff. Regards, Steve Erbach Neenah, WI http://www.NeenahPolitics.com http://www.TheTownCrank.com From max.wanadoo at gmail.com Sat May 16 04:56:36 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 16 May 2009 10:56:36 +0100 Subject: [AccessD] Deleting Duplicates In-Reply-To: References: Message-ID: <4a0e8ddf.0707d00a.0a4b.ffff9dcf@mx.google.com> Thank you Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 16 May 2009 09:14 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting Duplicates Hi Max Yes, from Bill (is he still with us?) on 2001-01-25: Make sure to make a backup & test it first. . . 1. Add an autonumber field if you don't have a PK. 2. Create a totals Query1 which shows GroupBy the name, and First of the PK. 3. Create a delete Query2 with the PK criteria like this: Not In (Select FirstOfPK From Query1;) When you run the delete Query2 it will delete everything _except_ the first occurrence of each name. Bill Mitchell, MCP /gustav >>> max.wanadoo at gmail.com 16-05-2009 10:03 >>> Hi Gustav, Do you have a quick sql where I can delete duplicate records leaving just one behind. The wizard shows me all but I need only the duplicate so that I can delete it. ta Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat May 16 06:20:07 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 16 May 2009 12:20:07 +0100 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: Message-ID: <5CDDF10AFF7F4A33A6E46051A975BBE1@MINSTER> Thanks Steve, that's got to be fascinating for anyone, but can any further discussion please continue on Accessd Tech which is for just this sort of stuff. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 16 May 2009 09:45 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Wolfram|Alpha Hi Steve Thanks! This could be extremely useful at a high level - though currently the site seams to be under heavy load ... /gustav >>> erbachs at gmail.com 16-05-2009 06:44 >>> Dear Group, I watched the live launch webcast of Wolfram|Alpha tonight from about 7:30-10:30 CDT. It is online now, though the official launch date is Monday: www.wolframalpha.com One of the first queries I typed in was: "circumference of the milky way in cm". Wolfram|Alpha gave me the answer, whereas a Google search just gave me a list of Milky Way web sites. That's the biggest difference: Google gives you places to look for the answer to your question while Wolfram|Alpha gives you the answer plus a lot of interesting associated information. For example, not only did I get the circumference of the Milky Way in centimeters, I got the time it would take light to travel that distance. Very, very cool. I've been typing in queries for about three hours. There are things it doesn't quite get; but you can get started by looking at the categorized examples. I found that Wolfram|Alpha will not only solve quadratic equations but it will factor them, too. Algebra was the topic on another email discussion and, voil?! Wolfram|Alpha, she factors ze equations! Amazing stuff. Regards, Steve Erbach Neenah, WI http://www.NeenahPolitics.com http://www.TheTownCrank.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat May 16 08:04:37 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 16 May 2009 09:04:37 -0400 Subject: [AccessD] Deleting Duplicates References: Message-ID: Max, Gustav -- I didn't try this, but after running the duplicates wizard, you could open the query in the SQL window and replace SELECT with DELETE, but I can't promise it'll work. I'm sure someone's tried it and will chime in. Susan H. > Hi Max > > Yes, from Bill (is he still with us?) on 2001-01-25: > > > Make sure to make a backup & test it first. . . > > 1. Add an autonumber field if you don't have a PK. > 2. Create a totals Query1 which shows GroupBy the name, and First of the > PK. > 3. Create a delete Query2 with the PK criteria like this: > > Not In (Select FirstOfPK From Query1;) > > When you run the delete Query2 it will delete everything _except_ the > first > occurrence of each name. From jwcolby at colbyconsulting.com Sat May 16 08:47:40 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sat, 16 May 2009 09:47:40 -0400 Subject: [AccessD] Deleting Duplicates In-Reply-To: References: Message-ID: <4A0EC3FC.3020008@colbyconsulting.com> Susan, It will delete the duplicates. ALL of them! And of course you generally want to keep the FIRST record of a duplicate set. John W. Colby www.ColbyConsulting.com Susan Harkins wrote: > Max, Gustav -- I didn't try this, but after running the duplicates wizard, > you could open the query in the SQL window and replace SELECT with DELETE, > but I can't promise it'll work. I'm sure someone's tried it and will chime > in. > > Susan H. > >> Hi Max >> >> Yes, from Bill (is he still with us?) on 2001-01-25: >> >> >> Make sure to make a backup & test it first. . . >> >> 1. Add an autonumber field if you don't have a PK. >> 2. Create a totals Query1 which shows GroupBy the name, and First of the >> PK. >> 3. Create a delete Query2 with the PK criteria like this: >> >> Not In (Select FirstOfPK From Query1;) >> >> When you run the delete Query2 it will delete everything _except_ the >> first >> occurrence of each name. > From ssharkins at gmail.com Sat May 16 08:52:55 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 16 May 2009 09:52:55 -0400 Subject: [AccessD] Deleting Duplicates References: <4A0EC3FC.3020008@colbyconsulting.com> Message-ID: <2036B9BF6A454B588511865EBAFE246E@SusanOne> Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you generally > want to keep the FIRST > record of a duplicate set. From rockysmolin at bchacc.com Sat May 16 09:12:32 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 16 May 2009 07:12:32 -0700 Subject: [AccessD] Deleting Duplicates In-Reply-To: <2036B9BF6A454B588511865EBAFE246E@SusanOne> References: <4A0EC3FC.3020008@colbyconsulting.com> <2036B9BF6A454B588511865EBAFE246E@SusanOne> Message-ID: <90753FBA5D3247A8B62189D0A12057E7@HAL9005> Coincidentally I had a client call yesterday with this very problem. He send an mdb with the following message: "Here is the file to be scrubbed of extraneous data. The query shows the data so that the problem can be seen. If you go to Invoice # 2294869, Product # 000472895, Line Number 11 you will see two records, one with a fldInvoiceDetailPrice of $2.64 and a nearly duplicate record with a price of $.0016. I would like to create a cleaned file without the numerically smaller fldInvoiceDetailPrice of the two records. There are roughly 4,000+ of these duplicates. Thanks in advance for your expertise! " I tried to do it with queries, but in the end found it was easier to combine a query with a bit of code. First, I added an autonumber field to the table so that each record would have a unique identifier. The query was a summation query grouping by Invoice Number, Detail Line, and Product number. Then it had a count of Detail Line with a criterion of >1 so only the dups would be selected, and MIN on the unit price, so only the lowest of the two would be selected. At that point I couldn't figure out how to make a delete query but this took only a couple of minutes to write and deleted just the lower cost records as the client asked: Dim db As DAO.Database Dim rsDelete As DAO.Recordset Dim rsQuery As DAO.Recordset Set db = CurrentDb Set rsQuery = db.OpenRecordset("qryFindTheDups1") Set rsDelete = db.OpenRecordset("Select * FROM tblPPHPHSLawsonDataWork") Do While rsQuery.EOF = False rsDelete.FindFirst "fldID = " & rsQuery!MinoffldID If rsDelete.NoMatch = True Then MsgBox "BARF!!!" rsDelete.Delete rsDelete.MoveFirst rsQuery.MoveNext Loop rsQuery.Close Set rsQuery = Nothing rsDelete.Close Set rsDelete = Nothing db.Close Set db = Nothing MsgBox "Done" I charged him .75 hour for this and saved him hours of combing through the 42,000 records looking for the dups. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, May 16, 2009 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you > generally want to keep the FIRST record of a duplicate set. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat May 16 09:37:04 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 May 2009 16:37:04 +0200 Subject: [AccessD] Deleting Duplicates Message-ID: Hi Rocky This task is a bit different as the records are not dupes. It looks like when rounding of an invoice line has taken place, a record with the rounding error has been created to get the total of the invoice to match. Couldn't you just have used a basic delete query where you deleted all records with a fldInvoiceDetailPrice < $0.01? Or to handle credits as well: Abs(fldInvoiceDetailPrice) < $0.01? /gustav >>> rockysmolin at bchacc.com 16-05-2009 16:12 >>> Coincidentally I had a client call yesterday with this very problem. He send an mdb with the following message: "Here is the file to be scrubbed of extraneous data. The query shows the data so that the problem can be seen. If you go to Invoice # 2294869, Product # 000472895, Line Number 11 you will see two records, one with a fldInvoiceDetailPrice of $2.64 and a nearly duplicate record with a price of $.0016. I would like to create a cleaned file without the numerically smaller fldInvoiceDetailPrice of the two records. There are roughly 4,000+ of these duplicates. Thanks in advance for your expertise! " I tried to do it with queries, but in the end found it was easier to combine a query with a bit of code. First, I added an autonumber field to the table so that each record would have a unique identifier. The query was a summation query grouping by Invoice Number, Detail Line, and Product number. Then it had a count of Detail Line with a criterion of >1 so only the dups would be selected, and MIN on the unit price, so only the lowest of the two would be selected. At that point I couldn't figure out how to make a delete query but this took only a couple of minutes to write and deleted just the lower cost records as the client asked: Dim db As DAO.Database Dim rsDelete As DAO.Recordset Dim rsQuery As DAO.Recordset Set db = CurrentDb Set rsQuery = db.OpenRecordset("qryFindTheDups1") Set rsDelete = db.OpenRecordset("Select * FROM tblPPHPHSLawsonDataWork") Do While rsQuery.EOF = False rsDelete.FindFirst "fldID = " & rsQuery!MinoffldID If rsDelete.NoMatch = True Then MsgBox "BARF!!!" rsDelete.Delete rsDelete.MoveFirst rsQuery.MoveNext Loop rsQuery.Close Set rsQuery = Nothing rsDelete.Close Set rsDelete = Nothing db.Close Set db = Nothing MsgBox "Done" I charged him .75 hour for this and saved him hours of combing through the 42,000 records looking for the dups. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, May 16, 2009 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you > generally want to keep the FIRST record of a duplicate set. From rockysmolin at bchacc.com Sat May 16 10:00:03 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 16 May 2009 08:00:03 -0700 Subject: [AccessD] Deleting Duplicates In-Reply-To: References: Message-ID: <65ABA6A75AA04CC48299414D886F5159@HAL9005> Gustav: True, the records are not dups in the table. But they were duplicates to from the user's side based on those few fields. Unfortunately, the magnitude of the smaller of the price on the two records varied greatly enough that I couldn't use that as a criterion for deletion. Would have made things so much easier. :) The client has an interesting business. He audits the payables of hospitals to look for overpayments, sales taxes paid that shouldn't have been, etc. Then gets a percentage of the recovery. Which can be huge or can be zip. The tables, which are payables details, purchase orders details, invoices from vendors, etc. as you can imagine, can be huge. There's all kinds of business rules built into the screening functions to try to identify overpayments. It was a very interesting app to put together. We had discussed a long time ago moving to SQL but I said wait until the calculation times are too long. We never got there. It impressed me with just how powerful the JET engine is. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, May 16, 2009 7:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting Duplicates Hi Rocky This task is a bit different as the records are not dupes. It looks like when rounding of an invoice line has taken place, a record with the rounding error has been created to get the total of the invoice to match. Couldn't you just have used a basic delete query where you deleted all records with a fldInvoiceDetailPrice < $0.01? Or to handle credits as well: Abs(fldInvoiceDetailPrice) < $0.01? /gustav >>> rockysmolin at bchacc.com 16-05-2009 16:12 >>> Coincidentally I had a client call yesterday with this very problem. He send an mdb with the following message: "Here is the file to be scrubbed of extraneous data. The query shows the data so that the problem can be seen. If you go to Invoice # 2294869, Product # 000472895, Line Number 11 you will see two records, one with a fldInvoiceDetailPrice of $2.64 and a nearly duplicate record with a price of $.0016. I would like to create a cleaned file without the numerically smaller fldInvoiceDetailPrice of the two records. There are roughly 4,000+ of these duplicates. Thanks in advance for your expertise! " I tried to do it with queries, but in the end found it was easier to combine a query with a bit of code. First, I added an autonumber field to the table so that each record would have a unique identifier. The query was a summation query grouping by Invoice Number, Detail Line, and Product number. Then it had a count of Detail Line with a criterion of >1 so only the dups would be selected, and MIN on the unit price, so only the lowest of the two would be selected. At that point I couldn't figure out how to make a delete query but this took only a couple of minutes to write and deleted just the lower cost records as the client asked: Dim db As DAO.Database Dim rsDelete As DAO.Recordset Dim rsQuery As DAO.Recordset Set db = CurrentDb Set rsQuery = db.OpenRecordset("qryFindTheDups1") Set rsDelete = db.OpenRecordset("Select * FROM tblPPHPHSLawsonDataWork") Do While rsQuery.EOF = False rsDelete.FindFirst "fldID = " & rsQuery!MinoffldID If rsDelete.NoMatch = True Then MsgBox "BARF!!!" rsDelete.Delete rsDelete.MoveFirst rsQuery.MoveNext Loop rsQuery.Close Set rsQuery = Nothing rsDelete.Close Set rsDelete = Nothing db.Close Set db = Nothing MsgBox "Done" I charged him .75 hour for this and saved him hours of combing through the 42,000 records looking for the dups. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, May 16, 2009 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you > generally want to keep the FIRST record of a duplicate set. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat May 16 10:42:33 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 16 May 2009 16:42:33 +0100 Subject: [AccessD] Deleting Duplicates In-Reply-To: <2036B9BF6A454B588511865EBAFE246E@SusanOne> References: <4A0EC3FC.3020008@colbyconsulting.com> <2036B9BF6A454B588511865EBAFE246E@SusanOne> Message-ID: <4a0edeeb.02225e0a.7f05.ffffd668@mx.google.com> No worries Susan, I would'nt have done that. But as it happens I couldn't use Gustav's posting because of the Not In predicate. This is incredible slow on large datasets. I stopped it after an incredibly l.o.n.g. time when I ran out of patience. I then coded it as shown below and it finished before you can say jack flash. I just set up a temp table with only the fields that were, in combination, set to a unique index and then ran the code Max Function removeupes() On Error GoTo errhandler Dim rst1 As DAO.Recordset, rst2 As DAO.Recordset, sql As String sql = "Delete * from temp" CurrentDb.Execute (sql) Set rst1 = CurrentDb.OpenRecordset("Select * from AllRecords") Set rst2 = CurrentDb.OpenRecordset("Select * from Temp") rst1.MoveFirst Do While Not rst1.EOF rst2.AddNew rst2!ESTABLISHMENT = rst1!ESTABLISHMENT rst2!POSTCODE = rst1!POSTCODE rst2.update rst1.MoveNext Loop Exithere ' drop the temp table contents or delete it altogether. sql = "Delete * from temp" CurrentDb.Execute (sql) MsgBox "Done!" Set rst1 = Nothing: Set rst2 = Nothing Exit Function errhandler: Select Case Err.Number Case 3022 'dupe rst1.Delete ' this is a dupe, so delete it. Resume Next Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 16 May 2009 14:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you generally > want to keep the FIRST > record of a duplicate set. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat May 16 10:54:52 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 16 May 2009 16:54:52 +0100 Subject: [AccessD] Deleting Duplicates In-Reply-To: <65ABA6A75AA04CC48299414D886F5159@HAL9005> References: <65ABA6A75AA04CC48299414D886F5159@HAL9005> Message-ID: <4a0ee1ce.1c215e0a.3d24.03ad@mx.google.com> Hi Rocky, Don't shoot me for this, but I don't think your records are dupes because if they were they would not have been allowed in the table as a unique index should be place on the criteria for determining what makes a dupe. If you want to avoid dupes on a live system, just set the unique index up and Access will throw a wobbly when it encounters one - which you then handle in code. In my case the dupes occurred because the records were imported into a holding table and the criteria had not yet been determined as to what constitutes a duplicate record. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 16 May 2009 16:00 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting Duplicates Gustav: True, the records are not dups in the table. But they were duplicates to from the user's side based on those few fields. Unfortunately, the magnitude of the smaller of the price on the two records varied greatly enough that I couldn't use that as a criterion for deletion. Would have made things so much easier. :) The client has an interesting business. He audits the payables of hospitals to look for overpayments, sales taxes paid that shouldn't have been, etc. Then gets a percentage of the recovery. Which can be huge or can be zip. The tables, which are payables details, purchase orders details, invoices from vendors, etc. as you can imagine, can be huge. There's all kinds of business rules built into the screening functions to try to identify overpayments. It was a very interesting app to put together. We had discussed a long time ago moving to SQL but I said wait until the calculation times are too long. We never got there. It impressed me with just how powerful the JET engine is. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, May 16, 2009 7:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting Duplicates Hi Rocky This task is a bit different as the records are not dupes. It looks like when rounding of an invoice line has taken place, a record with the rounding error has been created to get the total of the invoice to match. Couldn't you just have used a basic delete query where you deleted all records with a fldInvoiceDetailPrice < $0.01? Or to handle credits as well: Abs(fldInvoiceDetailPrice) < $0.01? /gustav >>> rockysmolin at bchacc.com 16-05-2009 16:12 >>> Coincidentally I had a client call yesterday with this very problem. He send an mdb with the following message: "Here is the file to be scrubbed of extraneous data. The query shows the data so that the problem can be seen. If you go to Invoice # 2294869, Product # 000472895, Line Number 11 you will see two records, one with a fldInvoiceDetailPrice of $2.64 and a nearly duplicate record with a price of $.0016. I would like to create a cleaned file without the numerically smaller fldInvoiceDetailPrice of the two records. There are roughly 4,000+ of these duplicates. Thanks in advance for your expertise! " I tried to do it with queries, but in the end found it was easier to combine a query with a bit of code. First, I added an autonumber field to the table so that each record would have a unique identifier. The query was a summation query grouping by Invoice Number, Detail Line, and Product number. Then it had a count of Detail Line with a criterion of >1 so only the dups would be selected, and MIN on the unit price, so only the lowest of the two would be selected. At that point I couldn't figure out how to make a delete query but this took only a couple of minutes to write and deleted just the lower cost records as the client asked: Dim db As DAO.Database Dim rsDelete As DAO.Recordset Dim rsQuery As DAO.Recordset Set db = CurrentDb Set rsQuery = db.OpenRecordset("qryFindTheDups1") Set rsDelete = db.OpenRecordset("Select * FROM tblPPHPHSLawsonDataWork") Do While rsQuery.EOF = False rsDelete.FindFirst "fldID = " & rsQuery!MinoffldID If rsDelete.NoMatch = True Then MsgBox "BARF!!!" rsDelete.Delete rsDelete.MoveFirst rsQuery.MoveNext Loop rsQuery.Close Set rsQuery = Nothing rsDelete.Close Set rsDelete = Nothing db.Close Set db = Nothing MsgBox "Done" I charged him .75 hour for this and saved him hours of combing through the 42,000 records looking for the dups. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, May 16, 2009 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you > generally want to keep the FIRST record of a duplicate set. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat May 16 10:58:28 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 16 May 2009 08:58:28 -0700 Subject: [AccessD] Deleting Duplicates In-Reply-To: <4a0ee1ce.1c215e0a.3d24.03ad@mx.google.com> References: <65ABA6A75AA04CC48299414D886F5159@HAL9005> <4a0ee1ce.1c215e0a.3d24.03ad@mx.google.com> Message-ID: <5238401B10D9486C9CD36953565B4474@HAL9005> Max: The records are dups by definition of the user. Not all the fields are the same but by their criteria those are duplicate records. The data comes in the form of a spreadsheet from a mainframe system in a hospital. My client has no control over the data or the processes they use. So we're in a very similar situation with the data. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Saturday, May 16, 2009 8:55 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting Duplicates Hi Rocky, Don't shoot me for this, but I don't think your records are dupes because if they were they would not have been allowed in the table as a unique index should be place on the criteria for determining what makes a dupe. If you want to avoid dupes on a live system, just set the unique index up and Access will throw a wobbly when it encounters one - which you then handle in code. In my case the dupes occurred because the records were imported into a holding table and the criteria had not yet been determined as to what constitutes a duplicate record. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 16 May 2009 16:00 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Deleting Duplicates Gustav: True, the records are not dups in the table. But they were duplicates to from the user's side based on those few fields. Unfortunately, the magnitude of the smaller of the price on the two records varied greatly enough that I couldn't use that as a criterion for deletion. Would have made things so much easier. :) The client has an interesting business. He audits the payables of hospitals to look for overpayments, sales taxes paid that shouldn't have been, etc. Then gets a percentage of the recovery. Which can be huge or can be zip. The tables, which are payables details, purchase orders details, invoices from vendors, etc. as you can imagine, can be huge. There's all kinds of business rules built into the screening functions to try to identify overpayments. It was a very interesting app to put together. We had discussed a long time ago moving to SQL but I said wait until the calculation times are too long. We never got there. It impressed me with just how powerful the JET engine is. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, May 16, 2009 7:37 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting Duplicates Hi Rocky This task is a bit different as the records are not dupes. It looks like when rounding of an invoice line has taken place, a record with the rounding error has been created to get the total of the invoice to match. Couldn't you just have used a basic delete query where you deleted all records with a fldInvoiceDetailPrice < $0.01? Or to handle credits as well: Abs(fldInvoiceDetailPrice) < $0.01? /gustav >>> rockysmolin at bchacc.com 16-05-2009 16:12 >>> Coincidentally I had a client call yesterday with this very problem. He send an mdb with the following message: "Here is the file to be scrubbed of extraneous data. The query shows the data so that the problem can be seen. If you go to Invoice # 2294869, Product # 000472895, Line Number 11 you will see two records, one with a fldInvoiceDetailPrice of $2.64 and a nearly duplicate record with a price of $.0016. I would like to create a cleaned file without the numerically smaller fldInvoiceDetailPrice of the two records. There are roughly 4,000+ of these duplicates. Thanks in advance for your expertise! " I tried to do it with queries, but in the end found it was easier to combine a query with a bit of code. First, I added an autonumber field to the table so that each record would have a unique identifier. The query was a summation query grouping by Invoice Number, Detail Line, and Product number. Then it had a count of Detail Line with a criterion of >1 so only the dups would be selected, and MIN on the unit price, so only the lowest of the two would be selected. At that point I couldn't figure out how to make a delete query but this took only a couple of minutes to write and deleted just the lower cost records as the client asked: Dim db As DAO.Database Dim rsDelete As DAO.Recordset Dim rsQuery As DAO.Recordset Set db = CurrentDb Set rsQuery = db.OpenRecordset("qryFindTheDups1") Set rsDelete = db.OpenRecordset("Select * FROM tblPPHPHSLawsonDataWork") Do While rsQuery.EOF = False rsDelete.FindFirst "fldID = " & rsQuery!MinoffldID If rsDelete.NoMatch = True Then MsgBox "BARF!!!" rsDelete.Delete rsDelete.MoveFirst rsQuery.MoveNext Loop rsQuery.Close Set rsQuery = Nothing rsDelete.Close Set rsDelete = Nothing db.Close Set db = Nothing MsgBox "Done" I charged him .75 hour for this and saved him hours of combing through the 42,000 records looking for the dups. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, May 16, 2009 6:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you > generally want to keep the FIRST record of a duplicate set. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat May 16 11:21:41 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 May 2009 18:21:41 +0200 Subject: [AccessD] Deleting Duplicates Message-ID: Hi Max Nice! Good example of the power of DAO. /gustav >>> max.wanadoo at gmail.com 16-05-2009 17:42 >>> No worries Susan, I would'nt have done that. But as it happens I couldn't use Gustav's posting because of the Not In predicate. This is incredible slow on large datasets. I stopped it after an incredibly l.o.n.g. time when I ran out of patience. I then coded it as shown below and it finished before you can say jack flash. I just set up a temp table with only the fields that were, in combination, set to a unique index and then ran the code Max Function removeupes() On Error GoTo errhandler Dim rst1 As DAO.Recordset, rst2 As DAO.Recordset, sql As String sql = "Delete * from temp" CurrentDb.Execute (sql) Set rst1 = CurrentDb.OpenRecordset("Select * from AllRecords") Set rst2 = CurrentDb.OpenRecordset("Select * from Temp") rst1.MoveFirst Do While Not rst1.EOF rst2.AddNew rst2!ESTABLISHMENT = rst1!ESTABLISHMENT rst2!POSTCODE = rst1!POSTCODE rst2.update rst1.MoveNext Loop Exithere ' drop the temp table contents or delete it altogether. sql = "Delete * from temp" CurrentDb.Execute (sql) MsgBox "Done!" Set rst1 = Nothing: Set rst2 = Nothing Exit Function errhandler: Select Case Err.Number Case 3022 'dupe rst1.Delete ' this is a dupe, so delete it. Resume Next Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 16 May 2009 14:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you generally > want to keep the FIRST > record of a duplicate set. From max.wanadoo at gmail.com Sat May 16 11:26:47 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 16 May 2009 17:26:47 +0100 Subject: [AccessD] Deleting Duplicates In-Reply-To: References: Message-ID: <4a0ee949.0d375e0a.238b.ffffda67@mx.google.com> Thanks Gustav, I suppose if I had taken a bit more care, instead of select * from AllRecords, I would have just select the fields that made the uniqueness. But there we go - it was all local and the diff would be negligible. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 16 May 2009 17:22 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Deleting Duplicates Hi Max Nice! Good example of the power of DAO. /gustav >>> max.wanadoo at gmail.com 16-05-2009 17:42 >>> No worries Susan, I would'nt have done that. But as it happens I couldn't use Gustav's posting because of the Not In predicate. This is incredible slow on large datasets. I stopped it after an incredibly l.o.n.g. time when I ran out of patience. I then coded it as shown below and it finished before you can say jack flash. I just set up a temp table with only the fields that were, in combination, set to a unique index and then ran the code Max Function removeupes() On Error GoTo errhandler Dim rst1 As DAO.Recordset, rst2 As DAO.Recordset, sql As String sql = "Delete * from temp" CurrentDb.Execute (sql) Set rst1 = CurrentDb.OpenRecordset("Select * from AllRecords") Set rst2 = CurrentDb.OpenRecordset("Select * from Temp") rst1.MoveFirst Do While Not rst1.EOF rst2.AddNew rst2!ESTABLISHMENT = rst1!ESTABLISHMENT rst2!POSTCODE = rst1!POSTCODE rst2.update rst1.MoveNext Loop Exithere ' drop the temp table contents or delete it altogether. sql = "Delete * from temp" CurrentDb.Execute (sql) MsgBox "Done!" Set rst1 = Nothing: Set rst2 = Nothing Exit Function errhandler: Select Case Err.Number Case 3022 'dupe rst1.Delete ' this is a dupe, so delete it. Resume Next Case Else MsgBox "Error: " & Err.Number & vbCrLf & Err.Description End Select Resume exithere End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: 16 May 2009 14:53 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Deleting Duplicates Oh my! ;) That makes sense though, I just didn't think it through. I had pancakes for breakfast. :) Susan H. > > It will delete the duplicates. ALL of them! And of course you generally > want to keep the FIRST > record of a duplicate set. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat May 16 12:08:29 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 16 May 2009 10:08:29 -0700 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> References: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> Message-ID: <17A915FF979E49C49BBAB2C3DB8BA7E6@creativesystemdesigns.com> This looks like it is going to be an excellent research and working tool. It may become the research tool of choice for many a student. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Friday, May 15, 2009 9:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Wolfram|Alpha Dear Group, I watched the live launch webcast of Wolfram|Alpha tonight from about 7:30-10:30 CDT. It is online now, though the official launch date is Monday: www.wolframalpha.com One of the first queries I typed in was: "circumference of the milky way in cm". Wolfram|Alpha gave me the answer, whereas a Google search just gave me a list of Milky Way web sites. That's the biggest difference: Google gives you places to look for the answer to your question while Wolfram|Alpha gives you the answer plus a lot of interesting associated information. For example, not only did I get the circumference of the Milky Way in centimeters, I got the time it would take light to travel that distance. Very, very cool. I've been typing in queries for about three hours. There are things it doesn't quite get; but you can get started by looking at the categorized examples. I found that Wolfram|Alpha will not only solve quadratic equations but it will factor them, too. Algebra was the topic on another email discussion and, voil?! Wolfram|Alpha, she factors ze equations! Amazing stuff. Regards, Steve Erbach Neenah, WI http://www.NeenahPolitics.com http://www.TheTownCrank.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat May 16 12:17:52 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 16 May 2009 18:17:52 +0100 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: <17A915FF979E49C49BBAB2C3DB8BA7E6@creativesystemdesigns.com> References: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> <17A915FF979E49C49BBAB2C3DB8BA7E6@creativesystemdesigns.com> Message-ID: <4a0ef542.0f345e0a.1d69.1d82@mx.google.com> It didn't know about XOR Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: 16 May 2009 18:08 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Wolfram|Alpha This looks like it is going to be an excellent research and working tool. It may become the research tool of choice for many a student. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Friday, May 15, 2009 9:44 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Wolfram|Alpha Dear Group, I watched the live launch webcast of Wolfram|Alpha tonight from about 7:30-10:30 CDT. It is online now, though the official launch date is Monday: www.wolframalpha.com One of the first queries I typed in was: "circumference of the milky way in cm". Wolfram|Alpha gave me the answer, whereas a Google search just gave me a list of Milky Way web sites. That's the biggest difference: Google gives you places to look for the answer to your question while Wolfram|Alpha gives you the answer plus a lot of interesting associated information. For example, not only did I get the circumference of the Milky Way in centimeters, I got the time it would take light to travel that distance. Very, very cool. I've been typing in queries for about three hours. There are things it doesn't quite get; but you can get started by looking at the categorized examples. I found that Wolfram|Alpha will not only solve quadratic equations but it will factor them, too. Algebra was the topic on another email discussion and, voil?! Wolfram|Alpha, she factors ze equations! Amazing stuff. Regards, Steve Erbach Neenah, WI http://www.NeenahPolitics.com http://www.TheTownCrank.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Sat May 16 12:28:24 2009 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 16 May 2009 12:28:24 -0500 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: <04D7B3A481824D11BD7E4BF1C80CE3A7@stevePC> References: <39cb22f30905152144g2db5203bva050a5ef726f7976@mail.gmail.com> <04D7B3A481824D11BD7E4BF1C80CE3A7@stevePC> Message-ID: <39cb22f30905161028i6ff401efj88bfcbf0147e5bec@mail.gmail.com> Steve S., >> JET backend? << Arf! Arf! Good one! Steve Erbach Neenah, WI On Sat, May 16, 2009 at 12:28 AM, Steve Schapel wrote: > Thanks, Steve. ?That is indeed amazing. > > JET backend? > > Regards > Steve From erbachs at gmail.com Sat May 16 12:30:10 2009 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 16 May 2009 12:30:10 -0500 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: References: Message-ID: <39cb22f30905161030l1095d42bi68d6666aa8ac18fb@mail.gmail.com> Gustav, I hear you about the heavy load. In the past few hours I'd say that 25% of my queries get the "Sorry Dave!" warning about over capacity. Steve Erbach On Sat, May 16, 2009 at 3:44 AM, Gustav Brock wrote: > Hi Steve > > Thanks! > This could be extremely useful at a high level - though currently the site seams to be under heavy load ... > > /gustav > >>>> erbachs at gmail.com 16-05-2009 06:44 >>> > Dear Group, > > I watched the live launch webcast of Wolfram|Alpha tonight from about > 7:30-10:30 CDT. ?It is online now, though the official launch date is > Monday: > > www.wolframalpha.com > > One of the first queries I typed in was: "circumference of the milky > way in cm". ?Wolfram|Alpha gave me the answer, whereas a Google search > just gave me a list of Milky Way web sites. > From erbachs at gmail.com Sat May 16 12:30:53 2009 From: erbachs at gmail.com (Steve Erbach) Date: Sat, 16 May 2009 12:30:53 -0500 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: <5CDDF10AFF7F4A33A6E46051A975BBE1@MINSTER> References: <5CDDF10AFF7F4A33A6E46051A975BBE1@MINSTER> Message-ID: <39cb22f30905161030g27280222tcd85af6f53269a8b@mail.gmail.com> Sorry, Andy. I thought Friday was for OT. Steve Erbach On Sat, May 16, 2009 at 6:20 AM, Andy Lacey wrote: > Thanks Steve, that's got to be fascinating for anyone, but can any further > discussion please continue on Accessd Tech which is for just this sort of > stuff. > > Andy > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 16 May 2009 09:45 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Wolfram|Alpha > > > Hi Steve > > Thanks! > This could be extremely useful at a high level - though currently the site > seams to be under heavy load ... > > /gustav From andy at minstersystems.co.uk Sun May 17 04:38:33 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sun, 17 May 2009 10:38:33 +0100 Subject: [AccessD] OT: Wolfram|Alpha In-Reply-To: <39cb22f30905161030g27280222tcd85af6f53269a8b@mail.gmail.com> Message-ID: Yea Steve, it's no problem of course but it's the sort of thing which is likely to lead to further discussion beyond Friday (as happened) and I was just asking that that go to Tech (as also happened, thanks Gustav). No sweat. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: 16 May 2009 18:31 To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Wolfram|Alpha Sorry, Andy. I thought Friday was for OT. Steve Erbach On Sat, May 16, 2009 at 6:20 AM, Andy Lacey wrote: > Thanks Steve, that's got to be fascinating for anyone, but can any further > discussion please continue on Accessd Tech which is for just this sort of > stuff. > > Andy > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: 16 May 2009 09:45 > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Wolfram|Alpha > > > Hi Steve > > Thanks! > This could be extremely useful at a high level - though currently the site > seams to be under heavy load ... > > /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon May 18 09:40:44 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 18 May 2009 10:40:44 -0400 Subject: [AccessD] Random ina query In-Reply-To: References: Message-ID: <6A8FDF8C1554431DA6BD550DA0B2E5E7@XPS> Gustav, Wow, never realized that and there doesn't seem to be any real work around either. I had thought that modifying the column definition with something like: Rnd([ID])*Now() but even that doesn't do it. Looks like the only way to truly solve this is with Randomize() in a UDF. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 15, 2009 1:14 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Random ina query Hi Jim But you forgot to close and relaunch Access - that's the trap. If you do so, not only the first run (run 1) but every run (run n) of the query will be identical to run 1 and run n of the query of any previous session. /gustav >>> jimdettman at verizon.net 15-05-2009 19:02:42 >>> gustav, Well I just tried it here and it works fine. On a table of 16,000 records, I asked for the top 5 and I got a different set of five records no matter how many times I executed the query. Jim. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bgoss711 at ameritech.net Mon May 18 15:28:17 2009 From: bgoss711 at ameritech.net (Bud Goss) Date: Mon, 18 May 2009 13:28:17 -0700 (PDT) Subject: [AccessD] Test - Message-ID: <666366.77983.qm@web81306.mail.mud.yahoo.com> I see no posts for 5/18. ? Is the site down? From andy at minstersystems.co.uk Mon May 18 15:39:58 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 18 May 2009 21:39:58 +0100 Subject: [AccessD] Test - In-Reply-To: <666366.77983.qm@web81306.mail.mud.yahoo.com> Message-ID: <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER> Hi Bud Well I'm seeing yours and I got one from Jim Dettman about 6 hours ago. So it must be up, just quiet. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss Sent: 18 May 2009 21:28 To: accessd at databaseadvisors.com Subject: [AccessD] Test - I see no posts for 5/18. ? Is the site down? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon May 18 16:14:57 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 18 May 2009 17:14:57 -0400 Subject: [AccessD] Using Access 2000 file format with XP Message-ID: <4A11CFD1.3050105@colbyconsulting.com> I have a new client that is using Office XP (2002). Did I understand correctly that the BE bloat bug was finally fixed in SP3 of XP or was it even later than that? -- John W. Colby www.ColbyConsulting.com From drawbridgej at sympatico.ca Mon May 18 16:21:03 2009 From: drawbridgej at sympatico.ca (Jack and Pat) Date: Mon, 18 May 2009 17:21:03 -0400 Subject: [AccessD] Test - In-Reply-To: <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER> References: <666366.77983.qm@web81306.mail.mud.yahoo.com> <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER> Message-ID: <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> Same here. No traffic really, but I do see the emails from Bud and Andy. Just a slow day.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, May 18, 2009 4:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test - Hi Bud Well I'm seeing yours and I got one from Jim Dettman about 6 hours ago. So it must be up, just quiet. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss Sent: 18 May 2009 21:28 To: accessd at databaseadvisors.com Subject: [AccessD] Test - I see no posts for 5/18. ? Is the site down? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Mon May 18 16:26:56 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 18 May 2009 22:26:56 +0100 Subject: [AccessD] Test - In-Reply-To: <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> References: <666366.77983.qm@web81306.mail.mud.yahoo.com> <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER> <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> Message-ID: <4a11d2a3.1c07d00a.53aa.5c35@mx.google.com> If people don't stop saying how quite it is , it will get very busy!! Am I right? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jack and Pat Sent: 18 May 2009 22:21 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test - Same here. No traffic really, but I do see the emails from Bud and Andy. Just a slow day.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Monday, May 18, 2009 4:40 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Test - Hi Bud Well I'm seeing yours and I got one from Jim Dettman about 6 hours ago. So it must be up, just quiet. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss Sent: 18 May 2009 21:28 To: accessd at databaseadvisors.com Subject: [AccessD] Test - I see no posts for 5/18. ? Is the site down? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon May 18 16:55:47 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Mon, 18 May 2009 14:55:47 -0700 Subject: [AccessD] Scrum FW: www.daptiv.com Message-ID: Dear Scrummers: I got a call from this guy last week. Thought the info might be of interest to you guys. HTH Rocky ________________________________ From: Richard Hawes [mailto:rhawes at daptiv.com] Sent: Monday, May 18, 2009 2:46 PM To: info at bchacc.com Subject: www.daptiv.com Rocky; Rich Hawes from Daptiv here in Seattle, thanks again for the time you gave me today and the referral, I hope we can earn their business by way of hard work and a superior product. Below is the promised webinar invitation for your colleague, and know that we do this every Friday at 10:00am PST, so if this is rather short notice just know that any Friday is fine. Also, let them know that they can try Daptiv Scrum, our toolset, for a 35 Day On-Demand Trial at no cost or obligation so that it can be used in an actual Sprint cycle (30 days) so that they can judge our performance. Thanks again for the tip Rocky, know that I and all of us here at Daptiv are at your service. Take care. http://img.gotomeeting.com/g2mimages/1x1.gif Daptiv Scrum product introduction webinar http://img.gotomeeting.com/g2mimages/1x1.gif http://www2.gotomeeting.com/g2w/images/625629243/197949525399373036/embed.jp g http://img.gotomeeting.com/g2mimages/1x1.gif http://img.gotomeeting.com/g2mimages/1x1.gif http://img.gotomeeting.com/g2mimages/1x1.gif http://img.gotomeeting.com/g2mimages/webinar/themes/business/button_register Now.gif http://img.gotomeeting.com/g2mimages/webinar/themes/business/defaultUserImag e.jpg http://img.gotomeeting.com/g2mimages/1x1.gif Please join us for this introduction of the new Agile Scrum project management solution from Daptiv. In this webinar you will learn about the importance of integrating Scrum development efforts into the broader business, how Daptiv's flexible on demand platform provides unprecedented value for Scrum project management, and learn how you can try Daptiv Scrum for free on your next Sprint. This Webinar is held every week on Friday, from: May 8, 2009 to Jun 5, 2009 10:00 AM - 11:00 AM PDT Register Now at: https://www2.gotomeeting.com/register/625629243 Once registered you will receive an email confirming your registration with information you need to join the Webinar. System Requirements PC-based attendees Required: WindowsR 2000, XP Home, XP Pro, 2003 Server, Vista MacintoshR-based attendees Required: Mac OSR X 10.4 (TigerR) or newer http://img.gotomeeting.com/g2mimages/1x1.gif Best, Rich Hawes | Sales Representative Daptiv, Inc. 1008 Western Ave., Suite 500 | Seattle, WA 98104 d: 206 239 7419 | f: 206 341 9123 www.daptiv.com | rhawes at daptiv.com This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. From stuart at lexacorp.com.pg Mon May 18 17:40:06 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 19 May 2009 08:40:06 +1000 Subject: [AccessD] Test - In-Reply-To: <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> References: <666366.77983.qm@web81306.mail.mud.yahoo.com>, <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER>, <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> Message-ID: <4A11E3C6.2812.18427D39@stuart.lexacorp.com.pg> It's quiet because there are no more possible questions. The experts on dbAccess have solved everything. On 18 May 2009 at 17:21, Jack and Pat wrote: > Same here. No traffic really, but I do see the emails from Bud and Andy. > Just a slow day.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Monday, May 18, 2009 4:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Test - > > Hi Bud > Well I'm seeing yours and I got one from Jim Dettman about 6 hours ago. So > it must be up, just quiet. > > Andy > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss > Sent: 18 May 2009 21:28 > To: accessd at databaseadvisors.com > Subject: [AccessD] Test - > > > I see no posts for 5/18. > ? > Is the site down? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Mon May 18 17:40:06 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 19 May 2009 08:40:06 +1000 Subject: [AccessD] Test - In-Reply-To: <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> References: <666366.77983.qm@web81306.mail.mud.yahoo.com>, <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER>, <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> Message-ID: <4A11E3C6.2812.18427D39@stuart.lexacorp.com.pg> It's quiet because there are no more possible questions. The experts on dbAccess have solved everything. On 18 May 2009 at 17:21, Jack and Pat wrote: > Same here. No traffic really, but I do see the emails from Bud and Andy. > Just a slow day.... > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey > Sent: Monday, May 18, 2009 4:40 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Test - > > Hi Bud > Well I'm seeing yours and I got one from Jim Dettman about 6 hours ago. So > it must be up, just quiet. > > Andy > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss > Sent: 18 May 2009 21:28 > To: accessd at databaseadvisors.com > Subject: [AccessD] Test - > > > I see no posts for 5/18. > ? > Is the site down? > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From marksimms at verizon.net Mon May 18 20:25:41 2009 From: marksimms at verizon.net (Mark Simms) Date: Mon, 18 May 2009 21:25:41 -0400 Subject: [AccessD] Test - In-Reply-To: <4A11E3C6.2812.18427D39@stuart.lexacorp.com.pg> References: <666366.77983.qm@web81306.mail.mud.yahoo.com>, <40CBDDBA90CA4B9ABBF17D46457EE578@MINSTER>, <0CD2D228FDAC4B028502A162CEFF0752@AMDXP> <4A11E3C6.2812.18427D39@stuart.lexacorp.com.pg> Message-ID: <001b01c9d820$b9a9dd00$0501a8c0@MSIMMSWS> Interestingly, if you look at Dice.com and other contract websites, there appears to be very little in the way of work right now in Access and/or Excel. However, both SQL Server and Sharepoint are showing at least some activity. > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Stuart McLachlan > Sent: Monday, May 18, 2009 6:40 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Test - > > It's quiet because there are no more possible questions. The > experts on dbAccess have solved everything. > > > On 18 May 2009 at 17:21, Jack and Pat wrote: > > > Same here. No traffic really, but I do see the emails from > Bud and Andy. > > Just a slow day.... > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Andy Lacey > > Sent: Monday, May 18, 2009 4:40 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Test - > > > > Hi Bud > > Well I'm seeing yours and I got one from Jim Dettman about > 6 hours ago. So > > it must be up, just quiet. > > > > Andy > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bud Goss > > Sent: 18 May 2009 21:28 > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Test - > > > > > > I see no posts for 5/18. > > ? > > Is the site down? > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Mon May 18 22:21:23 2009 From: dbdoug at gmail.com (Doug Steele) Date: Mon, 18 May 2009 20:21:23 -0700 Subject: [AccessD] Using Access 2000 file format with XP In-Reply-To: <4A11CFD1.3050105@colbyconsulting.com> References: <4A11CFD1.3050105@colbyconsulting.com> Message-ID: <4dd71a0c0905182021t6acf283fobdbae4e276ef99f9@mail.gmail.com> It happens in my Access 2003 back ends. Doug Steele On Mon, May 18, 2009 at 2:14 PM, jwcolby wrote: > I have a new client that is using Office XP (2002). Did I understand > correctly that the BE bloat > bug was finally fixed in SP3 of XP or was it even later than that? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Mon May 18 22:45:12 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 18 May 2009 23:45:12 -0400 Subject: [AccessD] Using Access 2000 file format with XP References: <4A11CFD1.3050105@colbyconsulting.com> Message-ID: <58B3DE0CF4F346E7833F6D28EEA5CCD5@jislaptopdev> ...wasn't aware that it had EVER been fixed. William -------------------------------------------------- From: "jwcolby" Sent: Monday, May 18, 2009 5:14 PM To: "Access Developers discussion and problem solving" Subject: [AccessD] Using Access 2000 file format with XP > I have a new client that is using Office XP (2002). Did I understand > correctly that the BE bloat > bug was finally fixed in SP3 of XP or was it even later than that? > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From pcs.accessd at gmail.com Tue May 19 01:10:12 2009 From: pcs.accessd at gmail.com (Borge Hansen) Date: Tue, 19 May 2009 16:10:12 +1000 Subject: [AccessD] [Accessd] Record Source for Reports Using SQL Db Backend - best practice In-Reply-To: References: Message-ID: Hi All, I came across an interesting Technet article: Optimizing Microsoft Office Access Applications Linked to SQL Server http://technet.microsoft.com/en-us/library/bb188204(SQL.90).aspx I am using .mdb Frontend against SQL Db backend. One suggestion on this post subject was to use temporary local table as record source for a report. I ended up using Pass Through Queries as record source for reports. Works great! ... That is, once you've figured out how to use them - especially how to dynamicly change the input parameters. Example: I have a Stored Procedure on the SQL Server with a number of input parameters. It's called usp_ReportRecordSource On the Frontend I have a Pass Through Query called qpt_usp_ReportRecordSource It consists of the following syntax: EXEC usp_ReportRecordSource '2009-05-10', 2009, 19, 2 The procedure that opens the Report first gathers and changes the input parameters like this: Dim strSQL As String 'set the parameters of the Pass Through Query that functions as record source for the Report strSQL = "EXEC usp_ReportRecordSource " & CurrentstrDate & ", " & CurrentlngYear & ", " & CurrentlngWeekNumber & ", " & CurrentlngWeekDayNumber If bshPassThroughFixup("qpt_usp_ReportRecordSource ", strSQL) = True Then DoCmd.OpenReport "rptStaffAvailableOnDay", acPreview DoCmd.OpenForm "frmSYSPrintFill" Else MyMsgBox "Exception: Exception encountered when attempting to set Parameters for the Pass Through Query of 'usp_ReportRecordSource'. Wait a little and try again. If the exception persists, contact HelpDesk", vbOKOnly End If where the bshPassThroughFixup does the following (taken from the Technet article): Public Function bshPassThroughFixup( _ QueryName As String, _ Optional SQL As String, _ Optional Connect As String, _ Optional ReturnsRecords As Boolean = True) As Boolean On Error GoTo EH ' Modifies pass-through query properties ' Inputs: ' QueryName: Name of the query ' SQL: Optional new SQL string ' Connect: Optional new connect string : 'if set overrides the default connect string created by function fncTestSQLConnection() ' ReturnsRecords: Optional setting for ReturnsRecords-- ' defaults to True (Yes) bshPassThroughFixup = False If fncTestSQLdbConnection() = True Then Dim db As DAO.Database Dim qdf As DAO.QueryDef Set db = CurrentDb Set qdf = db.QueryDefs(QueryName) If Len(SQL) > 0 Then qdf.SQL = SQL End If If Len(Connect) > 0 Then qdf.Connect = Connect Else qdf.Connect = mstrODBCConnect 'default global variable set by fncTestSQLConnection End If qdf.ReturnsRecords = ReturnsRecords qdf.Close Set qdf = Nothing bshPassThroughFixup = True Else MyMsgBox "Exception: Could not connect to the SQL Db! Try again later. If this exception persists then contact HelpDesk!", vbOKOnly End If EX: Exit Function EH: MyMsgBox "Exception in bshPassThroughFixup " & ": " & Err.Number & " " & Err.Description Resume EX End Function (fncTestSQLdbConnection() tests the connection to the SQL Db based and also sets the (default) global variable ODBC Connection String for the Pass Through Queries.... example of which could be: ODBC;Description=[odbc dsn name];DRIVER=SQL Server;SERVER=[YourServerName\SQL Instance Name];UID=[user id];PWD=[pass word];DATABASE=[sql db name];NETWORK=DBMSLPCN;ADDRESS=[YourServerName\SQL instance name,optional port number] Hope this might be helpful to some... Regards borge On Mon, May 11, 2009 at 4:07 PM, Anita Smith wrote: > Borge, > Regarding linked tables for temporary data you can still use SQL Server > tables for that. I also use that approach quite a lot. You will then have > to > add a user field or something so you don't overwrite or delete other users > temporary data. > cut ... From jwcolby at colbyconsulting.com Tue May 19 07:14:26 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 May 2009 08:14:26 -0400 Subject: [AccessD] SQL Server as a BE Message-ID: <4A12A2A2.1080205@colbyconsulting.com> One of my old clients had a company migrate their database to SQL Server. They were told they needed to do this for HIPAA compliance, so that they could easily encrypt personal information. Well... they told my client that they would never even know that it had happened and of course... things are broken, which the company is now trying to blame on Access. Bottom line, they are now being fired and I am coming back to pick up the pieces. I have only used SQL Server with small databases (which this is) and in those cases I used Windows Authentication. If they used SQL Server group / user can you give me a very basic rundown on how this would work (general terms). I understand the user / group metaphor, I have just never applied it to SQL Server. Inside of my existing SQL Server databases I use Windows authentication and my objects all require dbo to access. What happens if groups are used? I do love the "learn under fire" scenario. -- John W. Colby www.ColbyConsulting.com From prodevmg at yahoo.com Tue May 19 07:53:23 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 19 May 2009 05:53:23 -0700 (PDT) Subject: [AccessD] SQL Server as a BE In-Reply-To: <4A12A2A2.1080205@colbyconsulting.com> References: <4A12A2A2.1080205@colbyconsulting.com> Message-ID: <949088.95330.qm@web110210.mail.gq1.yahoo.com> In SQL Server they have?"Roles". You can still use your Windows Authentication but you will have to set up a userid on the sql server for?each user and then assign them a role. You can set up an Access form to assign people roles and pass the?T-Sql to set them up?through a pass through query. ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us ? ________________________________ From: jwcolby To: Access Developers discussion and problem solving Sent: Tuesday, May 19, 2009 7:14:26 AM Subject: [AccessD] SQL Server as a BE One of my old clients had a company migrate their database to SQL Server.? They were told they needed to do this for HIPAA compliance, so that they could easily encrypt personal information. Well... they told my client that they would never even know that it had happened and of course... things are broken, which the company is now trying to blame on Access.? Bottom line, they are now being fired and I am coming back to pick up the pieces. I have only used SQL Server with small databases (which this is) and in those cases I used Windows Authentication.? If they used SQL Server group / user can you give me a very basic rundown on how this would work (general terms).? I understand the user / group metaphor, I have just never applied it to SQL Server. Inside of my existing SQL Server databases I use Windows authentication and my objects all require dbo to access.? What happens if groups are used? I do love the "learn under fire" scenario. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue May 19 07:57:01 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 19 May 2009 08:57:01 -0400 Subject: [AccessD] SQL Server as a BE References: <4A12A2A2.1080205@colbyconsulting.com> <949088.95330.qm@web110210.mail.gq1.yahoo.com> Message-ID: <1CB30FE9059F433897196906242ED0DF@SusanOne> JC, Mike Gunderloy and I wrote a series of articles on SS security for TechRepublic.com. If you'd like to read them, I'll send some links. They're very basic/tutorial type articles. Susan H. In SQL Server they have "Roles". You can still use your Windows Authentication but you will have to set up a userid on the sql server for each user and then assign them a role. You can set up an Access form to assign people roles and pass the T-Sql to set them up through a pass through query. From ssharkins at gmail.com Tue May 19 07:57:44 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 19 May 2009 08:57:44 -0400 Subject: [AccessD] SQL Server as a BE References: <4A12A2A2.1080205@colbyconsulting.com> <949088.95330.qm@web110210.mail.gq1.yahoo.com> Message-ID: <0C876E5FE7D04BC18112AD597844F1A2@SusanOne> Also, and I apologize to everyone, I should've included this in my earlier response -- we have a SQL Server list. You might get more help there. Susan H. In SQL Server they have "Roles". You can still use your Windows Authentication but you will have to set up a userid on the sql server for each user and then assign them a role. You can set up an Access form to assign people roles and pass the T-Sql to set them up through a pass through query. From dwaters at usinternet.com Tue May 19 08:23:29 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 19 May 2009 08:23:29 -0500 Subject: [AccessD] SQL Server as a BE In-Reply-To: <1CB30FE9059F433897196906242ED0DF@SusanOne> References: <4A12A2A2.1080205@colbyconsulting.com><949088.95330.qm@web110210.mail.gq1.yahoo.com> <1CB30FE9059F433897196906242ED0DF@SusanOne> Message-ID: <608E4FA3996945A19E1CFF24F147CD8A@danwaters> Hi Susan, Can you post those links? I'd like to see them as well. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, May 19, 2009 7:57 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] SQL Server as a BE JC, Mike Gunderloy and I wrote a series of articles on SS security for TechRepublic.com. If you'd like to read them, I'll send some links. They're very basic/tutorial type articles. Susan H. In SQL Server they have "Roles". You can still use your Windows Authentication but you will have to set up a userid on the sql server for each user and then assign them a role. You can set up an Access form to assign people roles and pass the T-Sql to set them up through a pass through query. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue May 19 08:33:10 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 19 May 2009 09:33:10 -0400 Subject: [AccessD] SQL Server as a BE References: <4A12A2A2.1080205@colbyconsulting.com><949088.95330.qm@web110210.mail.gq1.yahoo.com><1CB30FE9059F433897196906242ED0DF@SusanOne> <608E4FA3996945A19E1CFF24F147CD8A@danwaters> Message-ID: <056A20F8651541E6B0A185D05A494031@SusanOne> http://articles.techrepublic.com.com/5100-10878_11-5035150.html http://articles.techrepublic.com.com/5100-10878_11-5054470.html http://articles.techrepublic.com.com/5100-10878_11-5061727.html?tag=rbxccnbtr1 http://articles.techrepublic.com.com/5100-10878_11-5068954.html?tag=rbxccnbtr1 http://articles.techrepublic.com.com/5100-10878_11-1061781.html?tag=rbxccnbtr1 http://articles.techrepublic.com.com/5100-10878_11-5055543.html?tag=rbxccnbtr1 http://articles.techrepublic.com.com/5100-10878_11-5083541.html ======I think that's it. Susan H. ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, May 19, 2009 9:23 AM Subject: Re: [AccessD] SQL Server as a BE > Hi Susan, > > Can you post those links? I'd like to see them as well. > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Tuesday, May 19, 2009 7:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SQL Server as a BE > > JC, Mike Gunderloy and I wrote a series of articles on SS security for > TechRepublic.com. If you'd like to read them, I'll send some links. > They're > very basic/tutorial type articles. > > Susan H. > > > In SQL Server they have "Roles". You can still use your Windows > Authentication but you will have to set up a userid on the sql server for > each user and then assign them a role. You can set up an Access form to > assign people roles and pass the T-Sql to set them up through a pass > through > > query. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 May 19 08:50:14 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 May 2009 09:50:14 -0400 Subject: [AccessD] SQL Server as a BE In-Reply-To: <0C876E5FE7D04BC18112AD597844F1A2@SusanOne> References: <4A12A2A2.1080205@colbyconsulting.com> <949088.95330.qm@web110210.mail.gq1.yahoo.com> <0C876E5FE7D04BC18112AD597844F1A2@SusanOne> Message-ID: <4A12B916.1030109@colbyconsulting.com> Yes, but this is specific to interfacing an Access database to SQL Server. Thanks, John W. Colby www.ColbyConsulting.com Susan Harkins wrote: > Also, and I apologize to everyone, I should've included this in my earlier > response -- we have a SQL Server list. You might get more help there. > > Susan H. > > > In SQL Server they have "Roles". You can still use your Windows > Authentication but you will have to set up a userid on the sql server for > each user and then assign them a role. You can set up an Access form to > assign people roles and pass the T-Sql to set them up through a pass through > query. > > From jwcolby at colbyconsulting.com Tue May 19 08:54:20 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 19 May 2009 09:54:20 -0400 Subject: [AccessD] SQL Server as a BE In-Reply-To: <056A20F8651541E6B0A185D05A494031@SusanOne> References: <4A12A2A2.1080205@colbyconsulting.com><949088.95330.qm@web110210.mail.gq1.yahoo.com><1CB30FE9059F433897196906242ED0DF@SusanOne> <608E4FA3996945A19E1CFF24F147CD8A@danwaters> <056A20F8651541E6B0A185D05A494031@SusanOne> Message-ID: <4A12BA0C.60208@colbyconsulting.com> Thanks Susan. John W. Colby www.ColbyConsulting.com Susan Harkins wrote: > http://articles.techrepublic.com.com/5100-10878_11-5035150.html > > http://articles.techrepublic.com.com/5100-10878_11-5054470.html > > http://articles.techrepublic.com.com/5100-10878_11-5061727.html?tag=rbxccnbtr1 > > http://articles.techrepublic.com.com/5100-10878_11-5068954.html?tag=rbxccnbtr1 > > http://articles.techrepublic.com.com/5100-10878_11-1061781.html?tag=rbxccnbtr1 > > http://articles.techrepublic.com.com/5100-10878_11-5055543.html?tag=rbxccnbtr1 > > http://articles.techrepublic.com.com/5100-10878_11-5083541.html > > ======I think that's it. > > Susan H. From rockysmolin at bchacc.com Tue May 19 09:38:08 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 19 May 2009 07:38:08 -0700 Subject: [AccessD] Number to Words Message-ID: <86970B36467E4B5DBCFE641B24F144DD@HAL9005> Dear List: I have a requirement to convert a number to it's equivalent into words. Found a couple of functions on the web. So it looks pretty straightforward. Cut and paste. But does anybody have any favorites. Or warnings? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From davidmcafee at gmail.com Tue May 19 12:22:06 2009 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 19 May 2009 10:22:06 -0700 Subject: [AccessD] SQL Server as a BE In-Reply-To: <4A12A2A2.1080205@colbyconsulting.com> References: <4A12A2A2.1080205@colbyconsulting.com> Message-ID: <8786a4c00905191022n7882a5b0y517ce3092ffbc312@mail.gmail.com> I have a simple routing that I use in my forms, as such: Here's a menu forum: Private Sub Form_Load() Me.cmdHelpDesk.Enabled = IsMemberOf("HelpDesk") Me.cmdRcv.Enabled = IsMemberOf("Receiving") Me.cmdService.Enabled = IsMemberOf("SvcTech") Me.cmdAccounting.Enabled = IsMemberOf("Accounting") DoCmd.Restore End Sub Here's my function: Public Function IsMemberOf(Role As String) As Boolean Dim rs As ADODB.Recordset Set rs = New ADODB.Recordset 'Call the stored procedure, passing it the parameter, returning recordset rs CurrentProject.Connection.stpCheckRole Role, rs 'Fill in the fields from the returned recordset If Not rs.BOF And Not rs.EOF Then If Nz(rs![Allowed], 0) = 1 Then IsMemberOf = True Else IsMemberOf = False End If Else IsMemberOf = False End If rs.Close Set rs = Nothing End Function Here is my sproc: CREATE PROCEDURE stpCheckRole(@Role AS VARCHAR(50))AS --debug variable declaration: --DECLARE @Role AS VARCHAR(50) SET @Role = 'SvcTechMgr' if (is_member(@Role) = 1) OR (is_member('db_owner') =1) SELECT 1 AS Allowed ELSE SELECT 0 AS Allowed HTH David McAfee On Tue, May 19, 2009 at 5:14 AM, jwcolby wrote: > One of my old clients had a company migrate their database to SQL Server. > They were told they > needed to do this for HIPAA compliance, so that they could easily encrypt > personal information. > > Well... they told my client that they would never even know that it had > happened and of course... > things are broken, which the company is now trying to blame on Access. > Bottom line, they are now > being fired and I am coming back to pick up the pieces. > > I have only used SQL Server with small databases (which this is) and in > those cases I used Windows > Authentication. If they used SQL Server group / user can you give me a > very basic rundown on how > this would work (general terms). I understand the user / group metaphor, I > have just never applied > it to SQL Server. > > Inside of my existing SQL Server databases I use Windows authentication and > my objects all require > dbo to access. What happens if groups are used? > > I do love the "learn under fire" scenario. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Tue May 19 17:29:30 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 May 2009 08:29:30 +1000 Subject: [AccessD] Number to Words In-Reply-To: <86970B36467E4B5DBCFE641B24F144DD@HAL9005> References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005> Message-ID: <4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg> On 19 May 2009 at 7:38, Rocky Smolin wrote: > Dear List: > > I have a requirement to convert a number to it's equivalent into words. > Found a couple of functions on the web. So it looks pretty straightforward. > Cut and paste. > > But does anybody have any favorites. Or warnings? > Here's my own routine to do it for money. It would be very simple to tweak it slightly if you want to use it for negative numbers (use Abs() and stick the word "Negative " or "Minus" at the start of the string), whole numbers (just drop all the "cents" part) or for varying decimal places ( a bit more work). Function moneywords(amount As Double) As String If amount = 0 Then moneywords = "Nothing": Exit Function Dim dollar As Long Dim hundredthousands As Long Dim thousands As Long Dim hundreds As Long Dim tens As Long Dim units As Long Dim cents As Long Dim money As String dollar = Int(amount) cents = (amount - dollar) * 100 thousands = Int(dollar / 1000) millions = Int(dollar / 1000000) hundredthousands = Int((dollar - (millions * 1000000)) / 100000) thousands = Int((dollar - (millions * 1000000) - (hundredthousands * 100000)) / 1000) hundreds = Int((dollar - (millions * 1000000) _ - (hundredthousands * 100000) - (thousands * 1000)) / 100) units = dollar - (millions * 1000000) - (hundredthousands * 100000) _ - thousands * 1000 - hundreds * 100 If dollar = 0 Then money = "Zero" Select Case millions Case 1 To 19 money = unitword(millions) & " Million" Case 20 To 99 money = money & " " & Trim(teenword(Int(millions / 10)) & _ " " & unitword(millions - Int(millions / 10) * 10)) & " Million" Case Is > 99 moneywords = "AT LEAST one hundred million dollar!" Exit Function End Select Select Case hundredthousands Case 1 To 9 money = money & " " & unitword(hundredthousands) & " Hundred" End Select Select Case thousands Case 0 If hundredthousands > 0 Then money = money & " Thousand" Case 1 To 19 If hundredthousands > 0 Then money = money & " and" money = money & " " & unitword(thousands) & " Thousand" Case 20 To 99 If hundredthousands > 0 Then money = money & " and" money = money & " " & Trim(teenword(Int(thousands / 10)) & _ " " & unitword(thousands - Int(thousands / 10) * 10)) & " Thousand" End Select Select Case hundreds Case 1 To 9 money = money & " " & unitword(hundreds) & " Hundred" End Select If (millions + hundredthousands + thousands + hundreds) > 0 _ And units > 0 Then money = money & " and" Select Case units Case 1 To 19 money = money & " " & unitword(units) Case 20 To 99 money = money & " " & Trim(teenword(Int(units / 10)) & _ " " & unitword(units - Int(units / 10) * 10)) End Select money = money & " dollar" Select Case cents Case 0 money = money & " Only" Case 1 To 19 money = money & " and " & unitword(cents) & " cents Exactly" Case 20 To 99 money = money & " and " & Trim(teenword(Int(cents / 10)) & _ " " & unitword(cents - Int(cents / 10) * 10)) & " cents Exactly" End Select moneywords = money End Function Function teenword(amount) As String Dim unitname(9) As String unitname(2) = "Twenty" unitname(3) = "Thirty" unitname(4) = "Forty" unitname(5) = "Fifty" unitname(6) = "Sixty" unitname(7) = "Seventy" unitname(8) = "Eighty" unitname(9) = "Ninety" teenword = unitname(amount) End Function Function unitword(amount) As String Dim unitname(19) As String unitname(1) = "One" unitname(2) = "Two" unitname(3) = "Three" unitname(4) = "Four" unitname(5) = "Five" unitname(6) = "Six" unitname(7) = "Seven" unitname(8) = "Eight" unitname(9) = "Nine" unitname(10) = "Ten" unitname(11) = "Eleven" unitname(12) = "Twelve" unitname(13) = "Thirteen" unitname(14) = "Fourteen" unitname(15) = "Fifteen" unitname(16) = "Sixteen" unitname(17) = "Seventeen" unitname(18) = "Eighteen" unitname(19) = "Nineteen" unitword = unitname(amount) End Function From davidmcafee at gmail.com Tue May 19 17:47:21 2009 From: davidmcafee at gmail.com (David McAfee) Date: Tue, 19 May 2009 15:47:21 -0700 Subject: [AccessD] Number to Words In-Reply-To: <4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg> References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005> <4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg> Message-ID: <8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com> Works good up to Ninety Nine Million Nine Hundred and Ninety Nine Thousand Nine Hundred and Ninety Nine dollar and Ninety Nine :) You forgot to Dim million as Long On Tue, May 19, 2009 at 3:29 PM, Stuart McLachlan wrote: > On 19 May 2009 at 7:38, Rocky Smolin wrote: > > > Dear List: > > > > I have a requirement to convert a number to it's equivalent into words. > > Found a couple of functions on the web. So it looks pretty > straightforward. > > Cut and paste. > > > > But does anybody have any favorites. Or warnings? > > > > Here's my own routine to do it for money. It would be very simple to tweak > it slightly if you > want to use it for negative numbers (use Abs() and stick the word "Negative > " or "Minus" at > the start of the string), whole numbers (just drop all the "cents" part) or > for varying decimal > places ( a bit more work). > > Function moneywords(amount As Double) As String > If amount = 0 Then moneywords = "Nothing": Exit Function > Dim dollar As Long > Dim hundredthousands As Long > Dim thousands As Long > Dim hundreds As Long > Dim tens As Long > Dim units As Long > Dim cents As Long > Dim money As String > dollar = Int(amount) > cents = (amount - dollar) * 100 > thousands = Int(dollar / 1000) > millions = Int(dollar / 1000000) > hundredthousands = Int((dollar - (millions * 1000000)) / 100000) > thousands = Int((dollar - (millions * 1000000) - (hundredthousands * > 100000)) / 1000) > hundreds = Int((dollar - (millions * 1000000) _ > - (hundredthousands * 100000) - (thousands * 1000)) / 100) > units = dollar - (millions * 1000000) - (hundredthousands * 100000) _ > - thousands * 1000 - hundreds * 100 > If dollar = 0 Then money = "Zero" > > Select Case millions > Case 1 To 19 > money = unitword(millions) & " Million" > Case 20 To 99 > money = money & " " & Trim(teenword(Int(millions / 10)) & _ > " " & unitword(millions - Int(millions / 10) * 10)) & " Million" > Case Is > 99 > moneywords = "AT LEAST one hundred million dollar!" > Exit Function > End Select > > Select Case hundredthousands > Case 1 To 9 > money = money & " " & unitword(hundredthousands) & " Hundred" > End Select > > Select Case thousands > Case 0 > If hundredthousands > 0 Then money = money & " Thousand" > Case 1 To 19 > If hundredthousands > 0 Then money = money & " and" > money = money & " " & unitword(thousands) & " Thousand" > Case 20 To 99 > If hundredthousands > 0 Then money = money & " and" > money = money & " " & Trim(teenword(Int(thousands / 10)) & _ > " " & unitword(thousands - Int(thousands / 10) * 10)) & " Thousand" > End Select > > Select Case hundreds > Case 1 To 9 > money = money & " " & unitword(hundreds) & " Hundred" > End Select > If (millions + hundredthousands + thousands + hundreds) > 0 _ > And units > 0 Then money = money & " and" > > Select Case units > Case 1 To 19 > money = money & " " & unitword(units) > Case 20 To 99 > money = money & " " & Trim(teenword(Int(units / 10)) & _ > " " & unitword(units - Int(units / 10) * 10)) > End Select > money = money & " dollar" > > Select Case cents > Case 0 > money = money & " Only" > Case 1 To 19 > money = money & " and " & unitword(cents) & " cents Exactly" > Case 20 To 99 > money = money & " and " & Trim(teenword(Int(cents / 10)) & _ > " " & unitword(cents - Int(cents / 10) * 10)) & " cents Exactly" > End Select > > moneywords = money > End Function > > Function teenword(amount) As String > Dim unitname(9) As String > unitname(2) = "Twenty" > unitname(3) = "Thirty" > unitname(4) = "Forty" > unitname(5) = "Fifty" > unitname(6) = "Sixty" > unitname(7) = "Seventy" > unitname(8) = "Eighty" > unitname(9) = "Ninety" > teenword = unitname(amount) > End Function > > Function unitword(amount) As String > Dim unitname(19) As String > > unitname(1) = "One" > unitname(2) = "Two" > unitname(3) = "Three" > unitname(4) = "Four" > unitname(5) = "Five" > unitname(6) = "Six" > unitname(7) = "Seven" > unitname(8) = "Eight" > unitname(9) = "Nine" > unitname(10) = "Ten" > unitname(11) = "Eleven" > unitname(12) = "Twelve" > unitname(13) = "Thirteen" > unitname(14) = "Fourteen" > unitname(15) = "Fifteen" > unitname(16) = "Sixteen" > unitname(17) = "Seventeen" > unitname(18) = "Eighteen" > unitname(19) = "Nineteen" > unitword = unitname(amount) > End Function > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From rockysmolin at bchacc.com Tue May 19 19:01:49 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 19 May 2009 17:01:49 -0700 Subject: [AccessD] Number to Words In-Reply-To: <8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com> References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg> <8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com> Message-ID: Since this is for the total on a purchase order I think going to ninety nine million will be adequate. Unless they get into some government contracts or bailouts. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Tuesday, May 19, 2009 3:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number to Words Works good up to Ninety Nine Million Nine Hundred and Ninety Nine Thousand Nine Hundred and Ninety Nine dollar and Ninety Nine :) You forgot to Dim million as Long On Tue, May 19, 2009 at 3:29 PM, Stuart McLachlan wrote: > On 19 May 2009 at 7:38, Rocky Smolin wrote: > > > Dear List: > > > > I have a requirement to convert a number to it's equivalent into words. > > Found a couple of functions on the web. So it looks pretty > straightforward. > > Cut and paste. > > > > But does anybody have any favorites. Or warnings? > > > > Here's my own routine to do it for money. It would be very simple to > tweak it slightly if you want to use it for negative numbers (use > Abs() and stick the word "Negative " or "Minus" at the start of the > string), whole numbers (just drop all the "cents" part) or for varying > decimal places ( a bit more work). > > Function moneywords(amount As Double) As String If amount = 0 Then > moneywords = "Nothing": Exit Function Dim dollar As Long Dim > hundredthousands As Long Dim thousands As Long Dim hundreds As Long > Dim tens As Long Dim units As Long Dim cents As Long Dim money As > String dollar = Int(amount) cents = (amount - dollar) * 100 thousands > = Int(dollar / 1000) millions = Int(dollar / 1000000) hundredthousands > = Int((dollar - (millions * 1000000)) / 100000) thousands = > Int((dollar - (millions * 1000000) - (hundredthousands * > 100000)) / 1000) > hundreds = Int((dollar - (millions * 1000000) _ > - (hundredthousands * 100000) - (thousands * 1000)) / 100) units = > dollar - (millions * 1000000) - (hundredthousands * 100000) _ > - thousands * 1000 - hundreds * 100 If dollar = 0 Then money = > "Zero" > > Select Case millions > Case 1 To 19 > money = unitword(millions) & " Million" > Case 20 To 99 > money = money & " " & Trim(teenword(Int(millions / 10)) & _ > " " & unitword(millions - Int(millions / 10) * 10)) & " Million" > Case Is > 99 > moneywords = "AT LEAST one hundred million dollar!" > Exit Function > End Select > > Select Case hundredthousands > Case 1 To 9 > money = money & " " & unitword(hundredthousands) & " Hundred" > End Select > > Select Case thousands > Case 0 > If hundredthousands > 0 Then money = money & " Thousand" > Case 1 To 19 > If hundredthousands > 0 Then money = money & " and" > money = money & " " & unitword(thousands) & " Thousand" > Case 20 To 99 > If hundredthousands > 0 Then money = money & " and" > money = money & " " & Trim(teenword(Int(thousands / 10)) & _ " " & > unitword(thousands - Int(thousands / 10) * 10)) & " Thousand" > End Select > > Select Case hundreds > Case 1 To 9 > money = money & " " & unitword(hundreds) & " Hundred" > End Select > If (millions + hundredthousands + thousands + hundreds) > 0 _ > And units > 0 Then money = money & " and" > > Select Case units > Case 1 To 19 > money = money & " " & unitword(units) > Case 20 To 99 > money = money & " " & Trim(teenword(Int(units / 10)) & _ " " & > unitword(units - Int(units / 10) * 10)) End Select money = money & " > dollar" > > Select Case cents > Case 0 > money = money & " Only" > Case 1 To 19 > money = money & " and " & unitword(cents) & " cents Exactly" > Case 20 To 99 > money = money & " and " & Trim(teenword(Int(cents / 10)) & _ " " & > unitword(cents - Int(cents / 10) * 10)) & " cents Exactly" > End Select > > moneywords = money > End Function > > Function teenword(amount) As String > Dim unitname(9) As String > unitname(2) = "Twenty" > unitname(3) = "Thirty" > unitname(4) = "Forty" > unitname(5) = "Fifty" > unitname(6) = "Sixty" > unitname(7) = "Seventy" > unitname(8) = "Eighty" > unitname(9) = "Ninety" > teenword = unitname(amount) > End Function > > Function unitword(amount) As String > Dim unitname(19) As String > > unitname(1) = "One" > unitname(2) = "Two" > unitname(3) = "Three" > unitname(4) = "Four" > unitname(5) = "Five" > unitname(6) = "Six" > unitname(7) = "Seven" > unitname(8) = "Eight" > unitname(9) = "Nine" > unitname(10) = "Ten" > unitname(11) = "Eleven" > unitname(12) = "Twelve" > unitname(13) = "Thirteen" > unitname(14) = "Fourteen" > unitname(15) = "Fifteen" > unitname(16) = "Sixteen" > unitname(17) = "Seventeen" > unitname(18) = "Eighteen" > unitname(19) = "Nineteen" > unitword = unitname(amount) > End Function > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue May 19 19:45:28 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 19 May 2009 20:45:28 -0400 Subject: [AccessD] Number to Words References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg><8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com> Message-ID: <7FC003148A354953B9552AA66300EC4E@SusanOne> Speak of the devil... there's an entire cottage industry out there doing nothing but putting contractors in touch with the right procurement agents. Susan H. > Since this is for the total on a purchase order I think going to ninety > nine > million will be adequate. Unless they get into some government contracts > or > bailouts. From rockysmolin at bchacc.com Tue May 19 20:44:06 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 19 May 2009 18:44:06 -0700 Subject: [AccessD] Number to Words In-Reply-To: <7FC003148A354953B9552AA66300EC4E@SusanOne> References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg><8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com> <7FC003148A354953B9552AA66300EC4E@SusanOne> Message-ID: <4087A3F8E1814314AAF0CF1A1525B21E@HAL9005> You have some contacts for us? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, May 19, 2009 5:45 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number to Words Speak of the devil... there's an entire cottage industry out there doing nothing but putting contractors in touch with the right procurement agents. Susan H. > Since this is for the total on a purchase order I think going to > ninety nine million will be adequate. Unless they get into some > government contracts or bailouts. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue May 19 20:50:12 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 19 May 2009 21:50:12 -0400 Subject: [AccessD] Number to Words References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg><8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com><7FC003148A354953B9552AA66300EC4E@SusanOne> <4087A3F8E1814314AAF0CF1A1525B21E@HAL9005> Message-ID: > You have some contacts for us? =======Unfortunately no. To get government work, you really have to network within the system. They actually have conferences for these people. But Rocky, they're going to award that contract to somebody -- if you're willing to learn the system, it might be you. However... most people who do take government contracts, say they're the hardest money they've ever earned. Susan H. From rockysmolin at bchacc.com Tue May 19 22:05:24 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 19 May 2009 20:05:24 -0700 Subject: [AccessD] Number to Words In-Reply-To: References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg><8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com><7FC003148A354953B9552AA66300EC4E@SusanOne><4087A3F8E1814314AAF0CF1A1525B21E@HAL9005> Message-ID: <42BCBE20219043C185CC9058B947152B@HAL9005> Well, then never mind. I don't care for hard work. Not even a little bit. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, May 19, 2009 6:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Number to Words > You have some contacts for us? =======Unfortunately no. To get government work, you really have to network within the system. They actually have conferences for these people. But Rocky, they're going to award that contract to somebody -- if you're willing to learn the system, it might be you. However... most people who do take government contracts, say they're the hardest money they've ever earned. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 20 08:40:22 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 09:40:22 -0400 Subject: [AccessD] Number to Words References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg><8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com><7FC003148A354953B9552AA66300EC4E@SusanOne><4087A3F8E1814314AAF0CF1A1525B21E@HAL9005> <42BCBE20219043C185CC9058B947152B@HAL9005> Message-ID: <270774643C344FF4801F9DA6E135E73C@SusanOne> Hence, the cottage industry -- others do most of the work for you, but you share the contract fee. Susan H. > Well, then never mind. I don't care for hard work. Not even a little > bit. > > Rocky > > > >> You have some contacts for us? > > =======Unfortunately no. To get government work, you really have to > network > within the system. They actually have conferences for these people. But > Rocky, they're going to award that contract to somebody -- if you're > willing > to learn the system, it might be you. However... most people who do take > government contracts, say they're the hardest money they've ever earned. From Chester_Kaup at kindermorgan.com Wed May 20 11:24:32 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 11:24:32 -0500 Subject: [AccessD] FW: Formula in Report not Calculating Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com> I have a report that is based on a parameter query. The query returns from a table a week number, department number, department description and 5 fields that have an aggregate domain function of sum. When I try to put in the detail section of the report one summation field divided by another summation field all I get in print preview is #Error. I also notice that I get 4 records for each week because there are 4 descriptions for each week even though the report does not display this field. Can I not put the formula in the detail section? Thanks. Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From ssharkins at gmail.com Wed May 20 11:37:11 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 12:37:11 -0400 Subject: [AccessD] FW: Formula in Report not Calculating References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com> Message-ID: <5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> >I have a report that is based on a parameter query. The query returns from >a table a week number, department number, department description and 5 >fields that have an aggregate domain function of sum. When I try to put in >the detail section of the report one summation field divided by another >summation field all I get in print preview is #Error. I also notice that I >get 4 records for each week because there are 4 descriptions for each week >even though the report does not display this field. Can I not put the >formula in the detail section? =======Chester, domain functions respond differently to different report sections. Also, you mention that the domain functions are actually in the query? Is this correct? Please share the expression that's returning #Error. http://articles.techrepublic.com.com/5100-10878_11-5034488.html You'll find that aggregates don't like the Detail section. However, you should be able to divide one field by another, which is what it sounds like you're doing. If all else fails, put the expression in the query. As for the description field problem -- are you saying you don't want a record for each description then? You can group by description and there's a property that inhibits repetitive values -- I can't recall what it is off the top of my head. Someone else will probably chime in and if you can't find it, I'll go looking for it. Susan H. From Chester_Kaup at kindermorgan.com Wed May 20 12:02:50 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 12:02:50 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com> <5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com> Also, you mention that the domain functions are actually in the query? Is this correct? YES Here is what the control source for the text box looks like =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales Analysis]![SumOfTY Plan vs Actual] -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 11:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating >I have a report that is based on a parameter query. The query returns from >a table a week number, department number, department description and 5 >fields that have an aggregate domain function of sum. When I try to put in >the detail section of the report one summation field divided by another >summation field all I get in print preview is #Error. I also notice that I >get 4 records for each week because there are 4 descriptions for each week >even though the report does not display this field. Can I not put the >formula in the detail section? =======Chester, domain functions respond differently to different report sections. Also, you mention that the domain functions are actually in the query? Is this correct? Please share the expression that's returning #Error. http://articles.techrepublic.com.com/5100-10878_11-5034488.html You'll find that aggregates don't like the Detail section. However, you should be able to divide one field by another, which is what it sounds like you're doing. If all else fails, put the expression in the query. As for the description field problem -- are you saying you don't want a record for each description then? You can group by description and there's a property that inhibits repetitive values -- I can't recall what it is off the top of my head. Someone else will probably chime in and if you can't find it, I'll go looking for it. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 20 12:21:40 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 13:21:40 -0400 Subject: [AccessD] FW: Formula in Report not Calculating References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com> Message-ID: <218108B2842F4AFFAFECD16A4295E05E@SusanOne> > Also, you mention that the domain functions are actually in the > query? Is this correct? YES > > Here is what the control source for the text box looks like > > =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales > Analysis]![SumOfTY Plan vs Actual] Are those field names or the names of report controls that contain the results of the aggregate functions from the query? Generally, it's a good idea to rename controls that you want to include in expressions -- especially where aggregates are concerned. Susan H. From kathryn at bassett.net Wed May 20 12:35:45 2009 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 20 May 2009 10:35:45 -0700 Subject: [AccessD] PHP code error Message-ID: <745D1A3F08B243999CC8552D9BD63A40@KathrynVista> I've tried this on dba-tech, the off-topic list, and a web design list, all with no answer. Can anyone here take a crack at it? Kathryn What's wrong with this code that it updates the collection name but not the description? addField("tblCScollectionName", true, "text", "", "1", "", ""); $tNGs->prepareValidation($formValidation); // End trigger // Start trigger $formValidation1 = new tNG_FormValidation(); $formValidation1->addField("tblCScollectionName", true, "text", "", "1", "", ""); $tNGs->prepareValidation($formValidation1); // End trigger // Make an insert transaction instance $ins_tblCScollections = new tNG_insert($conn_CSadmin); $tNGs->addTransaction($ins_tblCScollections); // Register triggers $ins_tblCScollections->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1"); $ins_tblCScollections->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation); $ins_tblCScollections->registerTrigger("END", "Trigger_Default_Redirect", 99, "admin/cs_admin.php"); // Add columns $ins_tblCScollections->setTable("tblCScollections"); $ins_tblCScollections->addColumn("tblCScollectionName", "STRING_TYPE", "POST", "tblCScollectionName"); $ins_tblCScollections->addColumn("tblCScollectionDescription", "STRING_TYPE", "POST", "tblCScollectionDescription"); $ins_tblCScollections->setPrimaryKey("tblCScollectionID", "NUMERIC_TYPE"); // Make an insert transaction instance $ins_tblCScollections1 = new tNG_insert($conn_CSadmin); $tNGs->addTransaction($ins_tblCScollections1); // Register triggers $ins_tblCScollections1->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert2"); $ins_tblCScollections1->registerTrigger("BEFORE", "Trigger_Default_FormValidation", 10, $formValidation1); $ins_tblCScollections1->registerTrigger("END", "Trigger_Default_Redirect", 99, "cs_insertcollections.php"); // Add columns $ins_tblCScollections1->setTable("tblCScollections"); $ins_tblCScollections1->addColumn("tblCScollectionName", "STRING_TYPE", "POST", "tblCScollectionName"); $ins_tblCScollections1->setPrimaryKey("tblCScollectionID", "NUMERIC_TYPE"); // Execute all the registered transactions $tNGs->executeTransactions(); // Get the transaction recordset $rstblCScollections = $tNGs->getRecordset("tblCScollections"); $row_rstblCScollections = mysql_fetch_assoc($rstblCScollections); $totalRows_rstblCScollections = mysql_num_rows($rstblCScollections); ?> Add Collections into the Collections Table displayValidationRules();?> Add Collections into the Collections Table getErrorMsg(); ?>
displayFieldHint("tblCStblCScollectionName");?> displayFieldError("tblCScollections", "tblCScollectionName"); ?>
displayFieldHint("tblCStblCScollectionName");?> displayFieldError("tblCScollections", "tblCScollectionName"); ?>

When finished adding Collections, go back to Admin page

Hopefully, -- Kathryn Rhinehart Bassett (Pasadena CA) "Genealogy is my bag" "GH is my soap" kathryn at bassett.net http://bassett.net _______________________________________________ dba-Tech mailing list dba-Tech at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/dba-tech Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed May 20 12:38:16 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 12:38:16 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <218108B2842F4AFFAFECD16A4295E05E@SusanOne> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com> <218108B2842F4AFFAFECD16A4295E05E@SusanOne> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> Those are the field names in the underlying query. I did notice that the Name and the Control Source on the property sheet for the fields SumOfTY Actual Sales and SumOfTY Plan vs Actual are the same. Would it be good to change the control name? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 12:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating > Also, you mention that the domain functions are actually in the > query? Is this correct? YES > > Here is what the control source for the text box looks like > > =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales > Analysis]![SumOfTY Plan vs Actual] Are those field names or the names of report controls that contain the results of the aggregate functions from the query? Generally, it's a good idea to rename controls that you want to include in expressions -- especially where aggregates are concerned. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed May 20 13:10:25 2009 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 20 May 2009 13:10:25 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com> <5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com> <218108B2842F4AFFAFECD16A4295E05E@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> Message-ID: Looks to me as your prefixing the field names with the report name has got it thinking you are referring to the controls of the same name. So YES, change the names of the controls if they are there. And if you are referring to fields in the underlying query you don't need anything except the field names themselves, probably in square brackets since they have embedded spaces in the names. GK On Wed, May 20, 2009 at 12:38 PM, Kaup, Chester wrote: > Those are the field names in the underlying query. > > I did notice that the Name and the Control Source on the property sheet for the fields SumOfTY Actual Sales and SumOfTY Plan vs Actual are the same. Would it be good to change the control name? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Wednesday, May 20, 2009 12:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > > >> Also, you mention that the domain functions are actually in the >> query? Is this correct? YES >> >> Here is what the control source for the text box looks like >> >> =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales >> Analysis]![SumOfTY Plan vs Actual] > > > Are those field names or the names of report controls that contain the > results of the aggregate functions from the query? Generally, it's a good > idea to rename controls that you want to include in expressions -- > especially where aggregates are concerned. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From garykjos at gmail.com Wed May 20 13:12:10 2009 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 20 May 2009 13:12:10 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com> <5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com> <218108B2842F4AFFAFECD16A4295E05E@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> Message-ID: I meant in the control source for the calculated control you are getting the error in. That should be just; =[SumOfTY Actual Sales]/[SumOfTY Plan vs Actual] On Wed, May 20, 2009 at 1:10 PM, Gary Kjos wrote: > Looks to me as your prefixing the field names with the report name has > got it thinking you are referring to the controls of the same name. So > YES, change the names of the controls if they are there. And if you > are referring to fields in the underlying query you don't need > anything except the field names themselves, probably in square > brackets since they have embedded spaces in the names. > > GK > > On Wed, May 20, 2009 at 12:38 PM, Kaup, Chester > wrote: >> Those are the field names in the underlying query. >> >> I did notice that the Name and the Control Source on the property sheet for the fields SumOfTY Actual Sales and SumOfTY Plan vs Actual are the same. Would it be good to change the control name? >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >> Sent: Wednesday, May 20, 2009 12:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] FW: Formula in Report not Calculating >> >> >> >>> Also, you mention that the domain functions are actually in the >>> query? Is this correct? YES >>> >>> Here is what the control source for the text box looks like >>> >>> =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales >>> Analysis]![SumOfTY Plan vs Actual] >> >> >> Are those field names or the names of report controls that contain the >> results of the aggregate functions from the query? Generally, it's a good >> idea to rename controls that you want to include in expressions -- >> especially where aggregates are concerned. >> >> Susan H. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > Gary Kjos > garykjos at gmail.com > -- Gary Kjos garykjos at gmail.com From marksimms at verizon.net Wed May 20 13:24:43 2009 From: marksimms at verizon.net (Mark Simms) Date: Wed, 20 May 2009 14:24:43 -0400 Subject: [AccessD] Number to Words In-Reply-To: References: <86970B36467E4B5DBCFE641B24F144DD@HAL9005><4A1332CA.31327.1D5F264E@stuart.lexacorp.com.pg><8786a4c00905191547m7da1d853m58c9302233b98fa9@mail.gmail.com><7FC003148A354953B9552AA66300EC4E@SusanOne> <4087A3F8E1814314AAF0CF1A1525B21E@HAL9005> Message-ID: <000401c9d978$3f2ebba0$0501a8c0@MSIMMSWS> > However... most people who do > take government contracts, say they're the hardest money > they've ever earned. > > Susan H. > The reverse is true for govt research GRANTS. From Chester_Kaup at kindermorgan.com Wed May 20 13:30:31 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 13:30:31 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com> <5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com> <218108B2842F4AFFAFECD16A4295E05E@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> That got rid of the formula error but still have the 4 identical records for each week -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, May 20, 2009 1:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Looks to me as your prefixing the field names with the report name has got it thinking you are referring to the controls of the same name. So YES, change the names of the controls if they are there. And if you are referring to fields in the underlying query you don't need anything except the field names themselves, probably in square brackets since they have embedded spaces in the names. GK On Wed, May 20, 2009 at 12:38 PM, Kaup, Chester wrote: > Those are the field names in the underlying query. > > I did notice that the Name and the Control Source on the property sheet for the fields SumOfTY Actual Sales and SumOfTY Plan vs Actual are the same. Would it be good to change the control name? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Wednesday, May 20, 2009 12:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > > >> Also, you mention that the domain functions are actually in the >> query? Is this correct? YES >> >> Here is what the control source for the text box looks like >> >> =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales >> Analysis]![SumOfTY Plan vs Actual] > > > Are those field names or the names of report controls that contain the > results of the aggregate functions from the query? Generally, it's a good > idea to rename controls that you want to include in expressions -- > especially where aggregates are concerned. > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 20 13:36:21 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 14:36:21 -0400 Subject: [AccessD] FW: Formula in Report not Calculating References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> Message-ID: Chester, I can't promise this will do what you're looking for, but give it a try: 1.) In the Detail section, double-click the Description control to display its properties. 2.) Set the Hide Duplicates property to Yes. Susan H. ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Wednesday, May 20, 2009 2:30 PM Subject: Re: [AccessD] FW: Formula in Report not Calculating > That got rid of the formula error but still have the 4 identical records > for each week > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Wednesday, May 20, 2009 1:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Looks to me as your prefixing the field names with the report name has > got it thinking you are referring to the controls of the same name. So > YES, change the names of the controls if they are there. And if you > are referring to fields in the underlying query you don't need > anything except the field names themselves, probably in square > brackets since they have embedded spaces in the names. > > GK > > On Wed, May 20, 2009 at 12:38 PM, Kaup, Chester > wrote: >> Those are the field names in the underlying query. >> >> I did notice that the Name and the Control Source on the property sheet >> for the fields SumOfTY Actual Sales and SumOfTY Plan vs Actual are the >> same. Would it be good to change the control name? >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >> Sent: Wednesday, May 20, 2009 12:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] FW: Formula in Report not Calculating >> >> >> >>> Also, you mention that the domain functions are actually in the >>> query? Is this correct? YES >>> >>> Here is what the control source for the text box looks like >>> >>> =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales >>> Analysis]![SumOfTY Plan vs Actual] >> >> >> Are those field names or the names of report controls that contain the >> results of the aggregate functions from the query? Generally, it's a good >> idea to rename controls that you want to include in expressions -- >> especially where aggregates are concerned. >> >> Susan H. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed May 20 14:04:35 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 14:04:35 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com> I am missing something simple here. Where is the Description control in the detail section of the report? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 1:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Chester, I can't promise this will do what you're looking for, but give it a try: 1.) In the Detail section, double-click the Description control to display its properties. 2.) Set the Hide Duplicates property to Yes. Susan H. ----- Original Message ----- From: "Kaup, Chester" To: "Access Developers discussion and problem solving" Sent: Wednesday, May 20, 2009 2:30 PM Subject: Re: [AccessD] FW: Formula in Report not Calculating > That got rid of the formula error but still have the 4 identical records > for each week > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Wednesday, May 20, 2009 1:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Looks to me as your prefixing the field names with the report name has > got it thinking you are referring to the controls of the same name. So > YES, change the names of the controls if they are there. And if you > are referring to fields in the underlying query you don't need > anything except the field names themselves, probably in square > brackets since they have embedded spaces in the names. > > GK > > On Wed, May 20, 2009 at 12:38 PM, Kaup, Chester > wrote: >> Those are the field names in the underlying query. >> >> I did notice that the Name and the Control Source on the property sheet >> for the fields SumOfTY Actual Sales and SumOfTY Plan vs Actual are the >> same. Would it be good to change the control name? >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins >> Sent: Wednesday, May 20, 2009 12:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] FW: Formula in Report not Calculating >> >> >> >>> Also, you mention that the domain functions are actually in the >>> query? Is this correct? YES >>> >>> Here is what the control source for the text box looks like >>> >>> =[Depatment Sales Analysis]![SumOfTY Actual Sales]/[Depatment Sales >>> Analysis]![SumOfTY Plan vs Actual] >> >> >> Are those field names or the names of report controls that contain the >> results of the aggregate functions from the query? Generally, it's a good >> idea to rename controls that you want to include in expressions -- >> especially where aggregates are concerned. >> >> Susan H. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > > -- > Gary Kjos > garykjos at gmail.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 20 14:11:04 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 15:11:04 -0400 Subject: [AccessD] FW: Formula in Report not Calculating References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com> Message-ID: <211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> Chester -- I thought earlier that you defined it as Description -- I'm talking about the control that's displaying the duplicate values. Susan H. >I am missing something simple here. Where is the Description control in the >detail section of the report? > >> That got rid of the formula error but still have the 4 identical records >> for each week From Chester_Kaup at kindermorgan.com Wed May 20 14:28:32 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 14:28:32 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com> <211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com> Unfortunately hiding the duplicates is of no help. I get lots of blank lines in the report and the totals at the bottom of the report includes the hidden controls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 2:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Chester -- I thought earlier that you defined it as Description -- I'm talking about the control that's displaying the duplicate values. Susan H. >I am missing something simple here. Where is the Description control in the >detail section of the report? > >> That got rid of the formula error but still have the 4 identical records >> for each week -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 20 14:33:18 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 15:33:18 -0400 Subject: [AccessD] FW: Formula in Report not Calculating References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com><211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com> Message-ID: <4404EA3E64144A2E825367EC7321D5B1@SusanOne> Are you trying to filter the aggregate records further? I'm sorry -- I really don't understand what you're trying to do. Perhaps you might try moving the aggregate functions to the report. Susan H. > Unfortunately hiding the duplicates is of no help. I get lots of blank > lines in the report and the totals at the bottom of the report includes > the hidden controls. From Elizabeth.J.Doering at wellsfargo.com Wed May 20 14:39:41 2009 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Wed, 20 May 2009 14:39:41 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com> <211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com> Message-ID: <4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp> If you don't want to display the field Description, exclude it from the query. Then it will also be excluded from your report. Thanks, Liz 612.667.2447 (o) This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, May 20, 2009 2:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Unfortunately hiding the duplicates is of no help. I get lots of blank lines in the report and the totals at the bottom of the report includes the hidden controls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 2:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Chester -- I thought earlier that you defined it as Description -- I'm talking about the control that's displaying the duplicate values. Susan H. >I am missing something simple here. Where is the Description control in >the detail section of the report? > >> That got rid of the formula error but still have the 4 identical >> records for each week -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Elizabeth.J.Doering at wellsfargo.com Wed May 20 14:53:17 2009 From: Elizabeth.J.Doering at wellsfargo.com (Elizabeth.J.Doering at wellsfargo.com) Date: Wed, 20 May 2009 14:53:17 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com> <211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com> <4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp> Message-ID: <4838EC790FF778449985FC3B8A47F87139A4F1C081@MSGCMSV21011.ent.wfb.bank.corp> Oh. And then your problem with extra rows in the detail will go away. I should have been a trifle more clear. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: Wednesday, May 20, 2009 2:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: Formula in Report not Calculating If you don't want to display the field Description, exclude it from the query. Then it will also be excluded from your report. Thanks, Liz 612.667.2447 (o) This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, May 20, 2009 2:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Unfortunately hiding the duplicates is of no help. I get lots of blank lines in the report and the totals at the bottom of the report includes the hidden controls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 2:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Chester -- I thought earlier that you defined it as Description -- I'm talking about the control that's displaying the duplicate values. Susan H. >I am missing something simple here. Where is the Description control in >the detail section of the report? > >> That got rid of the formula error but still have the 4 identical >> records for each week -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed May 20 16:18:10 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 16:18:10 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <4838EC790FF778449985FC3B8A47F87139A4F1C081@MSGCMSV21011.ent.wfb.bank.corp> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com> <211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com> <4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp> <4838EC790FF778449985FC3B8A47F87139A4F1C081@MSGCMSV21011.ent.wfb.bank.corp> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740E0D@houex1.kindermorgan.com> Here is what part of the report looks like. Notice duplicates. Week TY Sales TY Actual LY Actual Pct chg Plan Vs Pct Chg TY vs Number Plan Sales Sales Actual LY 1 950 971 876 46.24 9.22 1 950 971 876 46.24 9.22 1 950 971 876 46.24 9.22 1 950 971 876 46.24 9.22 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: Wednesday, May 20, 2009 2:53 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: Formula in Report not Calculating Oh. And then your problem with extra rows in the detail will go away. I should have been a trifle more clear. :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Elizabeth.J.Doering at wellsfargo.com Sent: Wednesday, May 20, 2009 2:40 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] FW: Formula in Report not Calculating If you don't want to display the field Description, exclude it from the query. Then it will also be excluded from your report. Thanks, Liz 612.667.2447 (o) This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, May 20, 2009 2:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Unfortunately hiding the duplicates is of no help. I get lots of blank lines in the report and the totals at the bottom of the report includes the hidden controls. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 2:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Chester -- I thought earlier that you defined it as Description -- I'm talking about the control that's displaying the duplicate values. Susan H. >I am missing something simple here. Where is the Description control in >the detail section of the report? > >> That got rid of the formula error but still have the 4 identical >> records for each week -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 20 16:28:19 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 May 2009 17:28:19 -0400 Subject: [AccessD] FW: Formula in Report not Calculating References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com><211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com><4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp><4838EC790FF778449985FC3B8A47F87139A4F1C081@MSGCMSV21011.ent.wfb.bank.corp> <0B2BF8524B73A248A2F1B81BA751ED3C066E740E0D@houex1.kindermorgan.com> Message-ID: <48683A7F57164432AAA21260187CC213@SusanOne> Are those duplicates also in your query? Susan H. > Here is what part of the report looks like. Notice duplicates. > > Week TY Sales TY Actual LY Actual Pct chg Plan Vs Pct Chg TY > vs > Number Plan Sales Sales Actual LY > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, May 20, 2009 2:53 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Oh. And then your problem with extra rows in the detail will go away. > > I should have been a trifle more clear. :) > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, May 20, 2009 2:40 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > If you don't want to display the field Description, exclude it from the > query. Then it will also be excluded from your report. > > > Thanks, > > Liz > > 612.667.2447 (o) > > This message may contain confidential and/or privileged information. If > you are not the addressee or authorized to receive this for the addressee, > you must not use, copy, disclose, or take any action based on this message > or any information herein. If you have received this message in error, > please advise the sender immediately by reply e-mail and delete this > message. Thank you for your cooperation. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, May 20, 2009 2:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Unfortunately hiding the duplicates is of no help. I get lots of blank > lines in the report and the totals at the bottom of the report includes > the hidden controls. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Wednesday, May 20, 2009 2:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Chester -- I thought earlier that you defined it as Description -- I'm > talking about the control that's displaying the duplicate values. > > Susan H. > >>I am missing something simple here. Where is the Description control in >>the detail section of the report? >> >>> That got rid of the formula error but still have the 4 identical >>> records for each week > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed May 20 16:40:59 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 20 May 2009 16:40:59 -0500 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <48683A7F57164432AAA21260187CC213@SusanOne> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com><211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com><4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp><4838EC790FF778449985FC3B8A47F87139A4F1C081@MSGCMSV21011.ent.wfb.bank.corp> <0B2BF8524B73A248A2F1B81BA751ED3C066E740E0D@houex1.kindermorgan.com> <48683A7F57164432AAA21260187CC213@SusanOne> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E740E1D@houex1.kindermorgan.com> They are in the query result because it has another field named Department Description that is different in each record but is not shown in the report. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Are those duplicates also in your query? Susan H. > Here is what part of the report looks like. Notice duplicates. > > Week TY Sales TY Actual LY Actual Pct chg Plan Vs Pct Chg TY > vs > Number Plan Sales Sales Actual LY > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, May 20, 2009 2:53 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Oh. And then your problem with extra rows in the detail will go away. > > I should have been a trifle more clear. :) > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, May 20, 2009 2:40 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > If you don't want to display the field Description, exclude it from the > query. Then it will also be excluded from your report. > > > Thanks, > > Liz > > 612.667.2447 (o) > > This message may contain confidential and/or privileged information. If > you are not the addressee or authorized to receive this for the addressee, > you must not use, copy, disclose, or take any action based on this message > or any information herein. If you have received this message in error, > please advise the sender immediately by reply e-mail and delete this > message. Thank you for your cooperation. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, May 20, 2009 2:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Unfortunately hiding the duplicates is of no help. I get lots of blank > lines in the report and the totals at the bottom of the report includes > the hidden controls. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Wednesday, May 20, 2009 2:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Chester -- I thought earlier that you defined it as Description -- I'm > talking about the control that's displaying the duplicate values. > > Susan H. > >>I am missing something simple here. Where is the Description control in >>the detail section of the report? >> >>> That got rid of the formula error but still have the 4 identical >>> records for each week > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Wed May 20 16:49:47 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 20 May 2009 22:49:47 +0100 Subject: [AccessD] FW: Formula in Report not Calculating In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E740E1D@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E740D51@houex1.kindermorgan.com><5DC8B6B7F2A44094BC861FAF9C6946CF@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D61@houex1.kindermorgan.com><218108B2842F4AFFAFECD16A4295E05E@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740D6D@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740D98@houex1.kindermorgan.com><0B2BF8524B73A248A2F1B81BA751ED3C066E740DAE@houex1.kindermorgan.com><211689BBDFDD4DA1BDE13AAD0A9A4F8B@SusanOne><0B2BF8524B73A248A2F1B81BA751ED3C066E740DC4@houex1.kindermorgan.com><4838EC790FF778449985FC3B8A47F87139A4F1BF3A@MSGCMSV21011.ent.wfb.bank.corp><4838EC790FF778449985FC3B8A47F87139A4F1C081@MSGCMSV21011.ent.wfb.bank.corp> <0B2BF8524B73A248A2F1B81BA751ED3C066E740E0D@houex1.kindermorgan.com> <48683A7F57164432AAA21260187CC213@SusanOne> <0B2BF8524B73A248A2F1B81BA751ED3C066E740E1D@houex1.kindermorgan.com> Message-ID: <4a147aff.0707d00a.768c.08eb@mx.google.com> Chester, Jumping in a bit late, but it sounds to be as if your query needs sorting out. Susan asked the appropriate question and your reply indicated this was the reason. You need to put the expression that creates the duplicates into a sub-query which only returns on response and then link that to your query. I come across this frequently. If you cannot find which tbale/field "is the culprit", count the records in the query, then delete each of the table/query until the number reduces to what you know is the right answer and then work on that. Probably not explaining it too well. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: 20 May 2009 22:41 To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating They are in the query result because it has another field named Department Description that is different in each record but is not shown in the report. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 20, 2009 4:28 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Formula in Report not Calculating Are those duplicates also in your query? Susan H. > Here is what part of the report looks like. Notice duplicates. > > Week TY Sales TY Actual LY Actual Pct chg Plan Vs Pct Chg TY > vs > Number Plan Sales Sales Actual LY > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > 1 950 971 876 46.24 9.22 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, May 20, 2009 2:53 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Oh. And then your problem with extra rows in the detail will go away. > > I should have been a trifle more clear. :) > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Elizabeth.J.Doering at wellsfargo.com > Sent: Wednesday, May 20, 2009 2:40 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > If you don't want to display the field Description, exclude it from the > query. Then it will also be excluded from your report. > > > Thanks, > > Liz > > 612.667.2447 (o) > > This message may contain confidential and/or privileged information. If > you are not the addressee or authorized to receive this for the addressee, > you must not use, copy, disclose, or take any action based on this message > or any information herein. If you have received this message in error, > please advise the sender immediately by reply e-mail and delete this > message. Thank you for your cooperation. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Wednesday, May 20, 2009 2:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Unfortunately hiding the duplicates is of no help. I get lots of blank > lines in the report and the totals at the bottom of the report includes > the hidden controls. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Wednesday, May 20, 2009 2:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] FW: Formula in Report not Calculating > > Chester -- I thought earlier that you defined it as Description -- I'm > talking about the control that's displaying the duplicate values. > > Susan H. > >>I am missing something simple here. Where is the Description control in >>the detail section of the report? >> >>> That got rid of the formula error but still have the 4 identical >>> records for each week > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed May 20 17:29:27 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 20 May 2009 18:29:27 -0400 Subject: [AccessD] An interesting "feature" in SQL Server Message-ID: <4A148447.8080508@colbyconsulting.com> I am starting work on a database at an old client that was converted to SQL Server. I discovered that if I enter records into a table that contains a bit field, and that bit field is allowed to store a null value, then any time I try to edit any field in that record (at least through ODBC) I get a "you have attempted to update a record being edited by another user" kind of error message and the update fails. I had to go into Management studio and set the bit to either a zero or a -1 at which point the edits work normally after that. Loverly. -- John W. Colby www.ColbyConsulting.com From jedi at charm.net Wed May 20 19:44:59 2009 From: jedi at charm.net (Michael Bahr) Date: Wed, 20 May 2009 20:44:59 -0400 Subject: [AccessD] PHP code error In-Reply-To: <745D1A3F08B243999CC8552D9BD63A40@KathrynVista> Message-ID: <2009520204459.507884@spooky2> Hi Kathryn, is there an actual error message or just not the expected results? I would **guess** that tblCScollectionName is part of the form validation but tblCScollectionDescription is not.(?) Try adding the field to your code like below. This is only a guess. Also there is a $formValidation1 variable not used--either remove it or comment it out. // Start trigger $formValidation = new tNG_FormValidation(); $formValidation->addField("tblCScollectionName", true, "text", "", "1", "", ""); ==>$formValidation->addField("tblCScollectionDescription ", true, "text", "", "1", "", ""); $tNGs->prepareValidation($formValidation); // End trigger Note: this is hard to read. I suggest using an editor the does not line-wrap (like Ultra-Edit) and try adding blank lines in between the "code groups with comments". It makes for much easier reading and debugging. Add copious amounts of space between php code and html code. HTH, Mike... > I've tried this on dba-tech, the off-topic list, and a web design > list, all with no answer. Can anyone here take a crack at it? > Kathryn > > What's wrong with this code that it updates the collection name but > not the description? > > > // Load the common classes > require_once('../includes/common/KT_common.php'); > > // Load the tNG classes > require_once('../includes/tng/tNG.inc.php'); > > // Make a transaction dispatcher instance > $tNGs = new tNG_dispatcher("../"); > > // Make unified connection variable > $conn_CSadmin = new KT_connection($CSadmin, $database_CSadmin); > > // Start trigger > $formValidation = new tNG_FormValidation(); > $formValidation->addField("tblCScollectionName", true, "text", "", > "1", "", ""); $tNGs->prepareValidation($formValidation); // End > trigger // Start trigger $formValidation1 = new > tNG_FormValidation(); > $formValidation1->addField("tblCScollectionName", true, "text", "", > "1", "", ""); $tNGs->prepareValidation($formValidation1); // End > trigger // Make an insert transaction instance > $ins_tblCScollections = new tNG_insert($conn_CSadmin); $tNGs- > >addTransaction($ins_tblCScollections); // Register triggers > $ins_tblCScollections->registerTrigger("STARTER", > "Trigger_Default_Starter", 1, "POST", "KT_Insert1"); > $ins_tblCScollections->registerTrigger("BEFORE", > "Trigger_Default_FormValidation", 10, $formValidation); > $ins_tblCScollections->registerTrigger("END", > "Trigger_Default_Redirect", 99, "admin/cs_admin.php"); // Add > columns $ins_tblCScollections->setTable("tblCScollections"); > $ins_tblCScollections->addColumn("tblCScollectionName", > "STRING_TYPE", "POST", "tblCScollectionName"); > $ins_tblCScollections->addColumn("tblCScollectionDescription", > "STRING_TYPE", "POST", "tblCScollectionDescription"); > $ins_tblCScollections->setPrimaryKey("tblCScollectionID", > "NUMERIC_TYPE"); // Make an insert transaction instance > $ins_tblCScollections1 = new tNG_insert($conn_CSadmin); $tNGs- > >addTransaction($ins_tblCScollections1); // Register triggers > $ins_tblCScollections1->registerTrigger("STARTER", > "Trigger_Default_Starter", 1, "POST", "KT_Insert2"); > $ins_tblCScollections1->registerTrigger("BEFORE", > "Trigger_Default_FormValidation", 10, $formValidation1); > $ins_tblCScollections1->registerTrigger("END", > "Trigger_Default_Redirect", 99, "cs_insertcollections.php"); // Add > columns $ins_tblCScollections1->setTable("tblCScollections"); > $ins_tblCScollections1->addColumn("tblCScollectionName", > "STRING_TYPE", "POST", "tblCScollectionName"); > $ins_tblCScollections1->setPrimaryKey("tblCScollectionID", > "NUMERIC_TYPE"); // Execute all the registered transactions $tNGs- > >executeTransactions(); // Get the transaction recordset > $rstblCScollections = $tNGs->getRecordset("tblCScollections"); > $row_rstblCScollections = mysql_fetch_assoc($rstblCScollections); > $totalRows_rstblCScollections = > mysql_num_rows($rstblCScollections); ?> //W3C//DTD XHTML 1.0 Transitional//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> xmlns="http://www.w3.org/1999/xhtml"> > /> Add Collections into the Collections Table > type="text/css" media="all" /> > > >displayValidationRules();?> > > > Add Collections into the Collections > Table getErrorMsg(); ?>
method="post" id="form2" action=" KT_escapeAttribute(KT_getFullUri()); ?>"> > > > > > >
> displayFieldHint("tblCStblCScollectionName");?> > displayFieldError("tblCScollections", > "tblCScollectionName"); ?>
> displayFieldHint("tblCStblCScollectionName");?> > displayFieldError("tblCScollections", > "tblCScollectionName"); ?>
id="KT_Insert2" value="Insert record" />
>
> >

When finished adding Collections, href="/admin/cs_admin.php">go back to Admin page

> > > > Hopefully, > > -- > Kathryn Rhinehart Bassett (Pasadena CA) > "Genealogy is my bag" "GH is my soap" > kathryn at bassett.net > http://bassett.net > > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com From anitatiedemann at gmail.com Wed May 20 19:50:46 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Thu, 21 May 2009 10:50:46 +1000 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <4A148447.8080508@colbyconsulting.com> References: <4A148447.8080508@colbyconsulting.com> Message-ID: John, I have stopped using bit fields as they play up on Access continous forms when using tick boxes. Microsoft has a patch but it doesn't always fix the problem. Anita On Thu, May 21, 2009 at 8:29 AM, jwcolby wrote: > I am starting work on a database at an old client that was converted to SQL > Server. I discovered > that if I enter records into a table that contains a bit field, and that > bit field is allowed to > store a null value, then any time I try to edit any field in that record > (at least through ODBC) I > get a "you have attempted to update a record being edited by another user" > kind of error message and > the update fails. I had to go into Management studio and set the bit to > either a zero or a -1 at > which point the edits work normally after that. > > Loverly. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From kathryn at bassett.net Wed May 20 20:27:42 2009 From: kathryn at bassett.net (Kathryn Bassett) Date: Wed, 20 May 2009 18:27:42 -0700 Subject: [AccessD] PHP code error In-Reply-To: <2009520204459.507884@spooky2> References: <745D1A3F08B243999CC8552D9BD63A40@KathrynVista> <2009520204459.507884@spooky2> Message-ID: <8CD1EC0D783040C98AD83AA3F8F39BFC@KathrynVista> Haven't a clue. I'm trying to use Dreamweaver to do it. I don't know the code at all. tblCScollectionName is the field that holds the name of the collection and tblCScollectionDescription is the field that holds the description of the collection. I may have to wait til I can "talk" to someone who is conversant with Dreamweaver if the code itself doesn't tell someone something. Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Michael Bahr > Sent: Wednesday, May 20, 2009 5:45 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] PHP code error > > Hi Kathryn, is there an actual error message or just not the > expected results? I would **guess** that tblCScollectionName > is part of the form validation but tblCScollectionDescription > is not.(?) Try adding the field to your code like below. > This is only a guess. > > Also there is a $formValidation1 variable not used--either > remove it or comment it out. > > // Start trigger > $formValidation = new tNG_FormValidation(); > $formValidation->addField("tblCScollectionName", true, > "text", "", "1", "", ""); > ==>$formValidation->addField("tblCScollectionDescription ", > true, "text", "", "1", "", ""); > $tNGs->prepareValidation($formValidation); > // End trigger > > Note: this is hard to read. I suggest using an editor the > does not line-wrap (like Ultra-Edit) and try adding blank > lines in between the "code groups with comments". It makes > for much easier reading and debugging. Add copious amounts > of space between php code and html code. > > HTH, Mike... From rusty.hammond at cpiqpc.com Thu May 21 08:38:14 2009 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 21 May 2009 08:38:14 -0500 Subject: [AccessD] An interesting "feature" in SQL Server Message-ID: <49A286ABF515E94A8505CD14DEB7217006D787EC@CPIEMAIL-EVS1.CPIQPC.NET> Anita, Do you happen to a have a link to that microsoft patch or at least any articles at microsoft talking about the issue? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Anita Smith Sent: Wednesday, May 20, 2009 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] An interesting "feature" in SQL Server John, I have stopped using bit fields as they play up on Access continous forms when using tick boxes. Microsoft has a patch but it doesn't always fix the problem. Anita On Thu, May 21, 2009 at 8:29 AM, jwcolby wrote: > I am starting work on a database at an old client that was converted > to SQL Server. I discovered that if I enter records into a table that > contains a bit field, and that bit field is allowed to store a null > value, then any time I try to edit any field in that record (at least > through ODBC) I get a "you have attempted to update a record being > edited by another user" > kind of error message and > the update fails. I had to go into Management studio and set the bit > to either a zero or a -1 at which point the edits work normally after > that. > > Loverly. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From JHewson at nciinc.com Wed May 20 22:41:48 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Wed, 20 May 2009 22:41:48 -0500 Subject: [AccessD] An interesting "feature" in SQL Server References: <4A148447.8080508@colbyconsulting.com> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> When I use bit fields with Access I make the default 0 and then I don't have to worry about it. I deal with the 0 which makes it easy to control. Jim ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Anita Smith Sent: Wed 5/20/2009 19:50 To: Access Developers discussion and problem solving Subject: Re: [AccessD] An interesting "feature" in SQL Server John, I have stopped using bit fields as they play up on Access continous forms when using tick boxes. Microsoft has a patch but it doesn't always fix the problem. Anita On Thu, May 21, 2009 at 8:29 AM, jwcolby wrote: > I am starting work on a database at an old client that was converted to SQL > Server. I discovered > that if I enter records into a table that contains a bit field, and that > bit field is allowed to > store a null value, then any time I try to edit any field in that record > (at least through ODBC) I > get a "you have attempted to update a record being edited by another user" > kind of error message and > the update fails. I had to go into Management studio and set the bit to > either a zero or a -1 at > which point the edits work normally after that. > > Loverly. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ ################################################################################ NCI is a company dedicated to trust, integrity, and performance. If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From garykjos at gmail.com Thu May 21 09:34:13 2009 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 May 2009 09:34:13 -0500 Subject: [AccessD] Test - Are we down? Message-ID: Just checking to see if the lists are alive -- Gary Kjos garykjos at gmail.com From jimdettman at verizon.net Thu May 21 11:56:24 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 21 May 2009 12:56:24 -0400 Subject: [AccessD] Test - Are we down? In-Reply-To: References: Message-ID: <186FE759CFEE4709864CCA880DD7BC07@XPS> I don't know, but I posted a e-mail this morning and it never made it to the list. Let's see if this one makes it... Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Thursday, May 21, 2009 10:34 AM To: Access Developers discussion and problem solving Subject: [AccessD] Test - Are we down? Just checking to see if the lists are alive -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu May 21 10:01:06 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 May 2009 11:01:06 -0400 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: References: <4A148447.8080508@colbyconsulting.com> Message-ID: <4A156CB2.5030704@colbyconsulting.com> What do you use? Int? John W. Colby www.ColbyConsulting.com Anita Smith wrote: > John, > I have stopped using bit fields as they play up on Access continous forms > when using tick boxes. Microsoft has a patch but it doesn't always fix the > problem. > Anita > On Thu, May 21, 2009 at 8:29 AM, jwcolby wrote: > >> I am starting work on a database at an old client that was converted to SQL >> Server. I discovered >> that if I enter records into a table that contains a bit field, and that >> bit field is allowed to >> store a null value, then any time I try to edit any field in that record >> (at least through ODBC) I >> get a "you have attempted to update a record being edited by another user" >> kind of error message and >> the update fails. I had to go into Management studio and set the bit to >> either a zero or a -1 at >> which point the edits work normally after that. >> >> Loverly. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> From rusty.hammond at cpiqpc.com Thu May 21 12:24:55 2009 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Thu, 21 May 2009 12:24:55 -0500 Subject: [AccessD] An interesting "feature" in SQL Server Message-ID: <49A286ABF515E94A8505CD14DEB7217006D787FB@CPIEMAIL-EVS1.CPIQPC.NET> I always set them to 0 too, but I have a case in an Access 2003 adp where the check box is getting checked as soon I start entering data in another field for a new record. I was hoping Anita had a link to the Microsoft fix that I could look at. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Wednesday, May 20, 2009 10:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] An interesting "feature" in SQL Server When I use bit fields with Access I make the default 0 and then I don't have to worry about it. I deal with the 0 which makes it easy to control. Jim ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Anita Smith Sent: Wed 5/20/2009 19:50 To: Access Developers discussion and problem solving Subject: Re: [AccessD] An interesting "feature" in SQL Server John, I have stopped using bit fields as they play up on Access continous forms when using tick boxes. Microsoft has a patch but it doesn't always fix the problem. Anita On Thu, May 21, 2009 at 8:29 AM, jwcolby wrote: > I am starting work on a database at an old client that was converted > to SQL Server. I discovered that if I enter records into a table that > contains a bit field, and that bit field is allowed to store a null > value, then any time I try to edit any field in that record (at least > through ODBC) I get a "you have attempted to update a record being > edited by another user" > kind of error message and > the update fails. I had to go into Management studio and set the bit > to either a zero or a -1 at which point the edits work normally after > that. > > Loverly. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ############################################################################ #### If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### ############################################################################ #### NCI is a company dedicated to trust, integrity, and performance. If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ############################################################################ #### ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From garykjos at gmail.com Thu May 21 12:26:14 2009 From: garykjos at gmail.com (Gary Kjos) Date: Thu, 21 May 2009 12:26:14 -0500 Subject: [AccessD] Test - Are we down? In-Reply-To: <186FE759CFEE4709864CCA880DD7BC07@XPS> References: <186FE759CFEE4709864CCA880DD7BC07@XPS> Message-ID: Yes, we were down. Were. Bryan has corrected the issue and so we are back and going again. Thanks BRYAN! Thanks to Jeff Barrows too for messaging me offline to ask if we were down so I started checking into it and then bugged Bryan offlist to have him look into what the deal was. GK On Thu, May 21, 2009 at 11:56 AM, Jim Dettman wrote: > > ?I don't know, but I posted a e-mail this morning and it never made it to > the list. ?Let's see if this one makes it... > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos > Sent: Thursday, May 21, 2009 10:34 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Test - Are we down? > > Just checking to see if the lists are alive > > -- > Gary Kjos > garykjos at gmail.com -- Gary Kjos garykjos at gmail.com From jimdettman at verizon.net Thu May 21 07:45:48 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 21 May 2009 08:45:48 -0400 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <4A148447.8080508@colbyconsulting.com> References: <4A148447.8080508@colbyconsulting.com> Message-ID: That one has been around for a while: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q278696 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, May 20, 2009 6:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] An interesting "feature" in SQL Server I am starting work on a database at an old client that was converted to SQL Server. I discovered that if I enter records into a table that contains a bit field, and that bit field is allowed to store a null value, then any time I try to edit any field in that record (at least through ODBC) I get a "you have attempted to update a record being edited by another user" kind of error message and the update fails. I had to go into Management studio and set the bit to either a zero or a -1 at which point the edits work normally after that. Loverly. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at verizon.net Thu May 21 12:50:25 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Thu, 21 May 2009 13:50:25 -0400 Subject: [AccessD] FW: An interesting "feature" in SQL Server Message-ID: <9DC550AA0E7F49D9B64C427C86A21B93@XPS> Well since were back up, I'll post this again... Jim. -----Original Message----- From: Jim Dettman [mailto:jimdettman at verizon.net] Sent: Thursday, May 21, 2009 8:46 AM To: 'Access Developers discussion and problem solving' Subject: RE: [AccessD] An interesting "feature" in SQL Server That one has been around for a while: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q278696 Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, May 20, 2009 6:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] An interesting "feature" in SQL Server I am starting work on a database at an old client that was converted to SQL Server. I discovered that if I enter records into a table that contains a bit field, and that bit field is allowed to store a null value, then any time I try to edit any field in that record (at least through ODBC) I get a "you have attempted to update a record being edited by another user" kind of error message and the update fails. I had to go into Management studio and set the bit to either a zero or a -1 at which point the edits work normally after that. Loverly. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu May 21 13:14:13 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 May 2009 14:14:13 -0400 Subject: [AccessD] FW: An interesting "feature" in SQL Server In-Reply-To: <9DC550AA0E7F49D9B64C427C86A21B93@XPS> References: <9DC550AA0E7F49D9B64C427C86A21B93@XPS> Message-ID: <4A1599F5.2000301@colbyconsulting.com> And this was exactly the problem I was having, and exactly the solution I figured out. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > Well since were back up, I'll post this again... > > Jim. > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at verizon.net] > Sent: Thursday, May 21, 2009 8:46 AM > To: 'Access Developers discussion and problem solving' > Subject: RE: [AccessD] An interesting "feature" in SQL Server > > > > That one has been around for a while: > > http://support.microsoft.com/default.aspx?scid=kb;en-us;Q278696 > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Wednesday, May 20, 2009 6:29 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] An interesting "feature" in SQL Server > > I am starting work on a database at an old client that was converted to SQL > Server. I discovered > that if I enter records into a table that contains a bit field, and that bit > field is allowed to > store a null value, then any time I try to edit any field in that record > (at least through ODBC) I > get a "you have attempted to update a record being edited by another user" > kind of error message and > the update fails. I had to go into Management studio and set the bit to > either a zero or a -1 at > which point the edits work normally after that. > > Loverly. > From davidmcafee at gmail.com Thu May 21 14:14:51 2009 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 21 May 2009 12:14:51 -0700 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> References: <4A148447.8080508@colbyconsulting.com> <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> Message-ID: <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com> I do this too, but out of habit I always use ISNULL(MyBitField,0) in my sprocs and views and NZ(mychkbox,0) when passing values to my sprocs. On Wed, May 20, 2009 at 8:41 PM, Hewson, Jim wrote: > When I use bit fields with Access I make the default 0 and then I don't > have to worry about it. > I deal with the 0 which makes it easy to control. > Jim > > From fuller.artful at gmail.com Thu May 21 16:15:01 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 21 May 2009 17:15:01 -0400 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com> References: <4A148447.8080508@colbyconsulting.com> <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com> Message-ID: <29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> That's a good approach, David. The rest of this thread really causes skin rash due to its misunderstanding of the purpose of NULL values. NULL is a valid value. I've said this before and I'm saying it again. Force a NULL value to anything else (which includes defaulting a column to some value) is IMO a fundamental design error, indicative of one of two problems: 1. you don't understand the data domain 2. the domain itself is incoherent. My $.02. Arthur From robert at servicexp.com Thu May 21 16:19:47 2009 From: robert at servicexp.com (Robert) Date: Thu, 21 May 2009 17:19:47 -0400 Subject: [AccessD] What do you guys think about this... In-Reply-To: <2009520204459.507884@spooky2> References: <745D1A3F08B243999CC8552D9BD63A40@KathrynVista> <2009520204459.507884@spooky2> Message-ID: <001a01c9da59$e18ba660$a4a2f320$@com> Looks very interesting, but.... http://www.everythingaccess.com/simplyvba-global-error-handler.htm WBR Robert From jwcolby at colbyconsulting.com Thu May 21 16:32:16 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 May 2009 17:32:16 -0400 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> References: <4A148447.8080508@colbyconsulting.com> <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com> <29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> Message-ID: <4A15C860.90005@colbyconsulting.com> Oh boy, here we go again. John W. Colby www.ColbyConsulting.com Arthur Fuller wrote: > That's a good approach, David. The rest of this thread really causes skin > rash due to its misunderstanding of the purpose of NULL values. NULL is a > valid value. I've said this before and I'm saying it again. Force a NULL > value to anything else (which includes defaulting a column to some value) is > IMO a fundamental design error, indicative of one of two problems: > > 1. you don't understand the data domain > 2. the domain itself is incoherent. > > My $.02. > Arthur From dwaters at usinternet.com Thu May 21 16:46:19 2009 From: dwaters at usinternet.com (Dan Waters) Date: Thu, 21 May 2009 16:46:19 -0500 Subject: [AccessD] What do you guys think about this... In-Reply-To: <001a01c9da59$e18ba660$a4a2f320$@com> References: <745D1A3F08B243999CC8552D9BD63A40@KathrynVista><2009520204459.507884@spooky2> <001a01c9da59$e18ba660$a4a2f320$@com> Message-ID: I've been using this for several months now at three different customers. Getting started is a learning curve, but the results are worth it. For each error, you can log the entire call stack, and the values of each variable in each procedure in the call stack. I've also added additional variables in some procedures just to give me more information if an error occurs. For error logging, I set up 3 tables with a 1-many relationship between them, and appropriate reports. Also, Wayne Phillips of EverythingAccess.com spent some time explaining to me how to set this up in a system with a Main.mdb and a referenced Library.mdb. I would suggest that you give it a try if resolving errors is something you need to do. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Sent: Thursday, May 21, 2009 4:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] What do you guys think about this... Looks very interesting, but.... http://www.everythingaccess.com/simplyvba-global-error-handler.htm WBR Robert -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From davidmcafee at gmail.com Thu May 21 16:53:13 2009 From: davidmcafee at gmail.com (David McAfee) Date: Thu, 21 May 2009 14:53:13 -0700 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <4A15C860.90005@colbyconsulting.com> References: <4A148447.8080508@colbyconsulting.com> <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com> <29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> <4A15C860.90005@colbyconsulting.com> Message-ID: <8786a4c00905211453h3f211e4cmc7e002fd6240191a@mail.gmail.com> Oh come on John, it wasnt like he called you a "Natural Key, Bound Form" guy. Now those are fighting words! ;) On Thu, May 21, 2009 at 2:32 PM, jwcolby wrote: > Oh boy, here we go again. > > John W. Colby > www.ColbyConsulting.com > > > Arthur Fuller wrote: > > That's a good approach, David. The rest of this thread really causes skin > > rash due to its misunderstanding of the purpose of NULL values. NULL is a > > valid value. I've said this before and I'm saying it again. Force a NULL > > value to anything else (which includes defaulting a column to some value) > is > > IMO a fundamental design error, indicative of one of two problems: > > > > 1. you don't understand the data domain > > 2. the domain itself is incoherent. > > > > My $.02. > > Arthur > From stuart at lexacorp.com.pg Thu May 21 17:21:04 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 22 May 2009 08:21:04 +1000 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <8786a4c00905211453h3f211e4cmc7e002fd6240191a@mail.gmail.com> References: <4A148447.8080508@colbyconsulting.com>, <4A15C860.90005@colbyconsulting.com>, <8786a4c00905211453h3f211e4cmc7e002fd6240191a@mail.gmail.com> Message-ID: <4A15D3D0.8864.27A42E31@stuart.lexacorp.com.pg> You mean "Natural Key, Unbound Form, Null is a Value" guy. :-) On 21 May 2009 at 14:53, David McAfee wrote: > Oh come on John, it wasnt like he called you a "Natural Key, Bound Form" > guy. Now those are fighting words! ;) > > > > On Thu, May 21, 2009 at 2:32 PM, jwcolby wrote: > > > Oh boy, here we go again. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Arthur Fuller wrote: > > > That's a good approach, David. The rest of this thread really causes skin > > > rash due to its misunderstanding of the purpose of NULL values. NULL is a > > > valid value. I've said this before and I'm saying it again. Force a NULL > > > value to anything else (which includes defaulting a column to some value) > > is > > > IMO a fundamental design error, indicative of one of two problems: > > > > > > 1. you don't understand the data domain > > > 2. the domain itself is incoherent. > > > > > > My $.02. > > > Arthur > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu May 21 17:40:52 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 22 May 2009 08:40:52 +1000 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> References: <4A148447.8080508@colbyconsulting.com>, <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com>, <29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> Message-ID: <4A15D874.29760.27B64DF1@stuart.lexacorp.com.pg> Here, Here! The yes/No field in Access is very badly designed. No field type sould be non-Nullable in any well designed DBMS. You can define a Yes/No field as Not Required and/or give it a Default Value of Null, but it can still only hold 0 or -1 You are far better off storing Yes/NO values as a Nullable Byte/Integer/Long and using a tri- State checkbox on it (Incidentally, how do they store -1 in a single bit? and why does changing a Yes/NO to a Byte convert a Yes values to 255? ) -- Stuart On 21 May 2009 at 17:15, Arthur Fuller wrote: > That's a good approach, David. The rest of this thread really causes skin > rash due to its misunderstanding of the purpose of NULL values. NULL is a > valid value. I've said this before and I'm saying it again. Force a NULL > value to anything else (which includes defaulting a column to some value) is > IMO a fundamental design error, indicative of one of two problems: > > 1. you don't understand the data domain > 2. the domain itself is incoherent. > > My $.02. > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Thu May 21 17:47:46 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 21 May 2009 18:47:46 -0400 Subject: [AccessD] Linked to SQL Server in a domain Message-ID: <4A15DA12.4010806@colbyconsulting.com> Guys, I am a tad out of my comfort zone here. I am working on a database that links to a SQL Server using ODBC. The database was "upgraded" by another company which is in the process of being fired. The links work but I do not know where the DSN file resides. I created a new database and a DSN for new tables that I created in that database and it works just fine for me, logged on to the server (which is where I work - remote desktop), but it does not work for another user that I have helping me test. Those new links to the new table gives an ODBC error when she just tries to open the tables directly in the table tab of the db window. I am assuming that is because the DSN file I used to do the link is not on her computer? Is that the way this works? How do I discover where the DSN file is for the database that existed already when I first got in? I tried looking at the TDF cnn data and it isn't referenced in there. I found this: http://support.microsoft.com/kb/892490 Which looks like the magic key. Does anyone use this code or something similar? Any comments, warnings? Unfortunately at this point I am not able to log in to any other workstation there to test this code from another workstation. I will have to get that figured out as well. Any help appreciated. -- John W. Colby www.ColbyConsulting.com From ssharkins at gmail.com Thu May 21 18:03:49 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 21 May 2009 19:03:49 -0400 Subject: [AccessD] Linked to SQL Server in a domain References: <4A15DA12.4010806@colbyconsulting.com> Message-ID: <98FC46285CCD41BB942F61C5CADB0557@SusanOne> > I am assuming that is because the DSN file I used to do the link is not on > her computer? Is that > the way this works? How do I discover where the DSN file is for the > database that existed already > when I first got in? I tried looking at the TDF cnn data and it isn't > referenced in there. Yes, the DSN must be on each client system. Via Control Panel, Administrative Tools, Data Sources (ODBC) you'll find existing DSN's listed in the System DSN and File DSN tabs. Susan H. From JHewson at nciinc.com Thu May 21 22:45:29 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Thu, 21 May 2009 22:45:29 -0500 Subject: [AccessD] Linked to SQL Server in a domain References: <4A15DA12.4010806@colbyconsulting.com> <98FC46285CCD41BB942F61C5CADB0557@SusanOne> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A87566BA@sanex101.nciinc.com> The DSN does not have to be on each client system. It could reside on a common UNC path that everyone has read/write permissions. I had a similar situation where a Access database FE tapped into a SQL Server data repository. By having the DSN on a common mapped drive everyone could copy the FE to their machine and still use it with SQL Server without problems. Jim ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Susan Harkins Sent: Thu 5/21/2009 18:03 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked to SQL Server in a domain > I am assuming that is because the DSN file I used to do the link is not on > her computer? Is that > the way this works? How do I discover where the DSN file is for the > database that existed already > when I first got in? I tried looking at the TDF cnn data and it isn't > referenced in there. Yes, the DSN must be on each client system. Via Control Panel, Administrative Tools, Data Sources (ODBC) you'll find existing DSN's listed in the System DSN and File DSN tabs. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From anitatiedemann at gmail.com Thu May 21 22:50:11 2009 From: anitatiedemann at gmail.com (Anita Smith) Date: Fri, 22 May 2009 13:50:11 +1000 Subject: [AccessD] An interesting "feature" in SQL Server In-Reply-To: <49A286ABF515E94A8505CD14DEB7217006D787EC@CPIEMAIL-EVS1.CPIQPC.NET> References: <49A286ABF515E94A8505CD14DEB7217006D787EC@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: Rusty, Here is a link to ms http://support.microsoft.com/kb/945674 Anita From accessd at shaw.ca Fri May 22 00:00:47 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 21 May 2009 22:00:47 -0700 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <4A15DA12.4010806@colbyconsulting.com> References: <4A15DA12.4010806@colbyconsulting.com> Message-ID: Hi John: I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since 1997 and Access does not work with ODBC. There is a simple and stupid way to up date an old Access MDB to a MS SQL BE using connection/links. This system actually works fine for delete, add and update... but as soon as you start grabbing recordsets of data for reports, subforms or start rolling out a new application to a remote desktops the whole system grinds to a halt. At that point you have reached the end of the usefulness of the ODBC connections. Unfortunately there is no short cut, the client and you just have to bite the bullet and go straight ADO-OLE... It is not that difficult but the nice gui interface within Access can not do it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, May 21, 2009 3:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked to SQL Server in a domain Guys, I am a tad out of my comfort zone here. I am working on a database that links to a SQL Server using ODBC. The database was "upgraded" by another company which is in the process of being fired. The links work but I do not know where the DSN file resides. I created a new database and a DSN for new tables that I created in that database and it works just fine for me, logged on to the server (which is where I work - remote desktop), but it does not work for another user that I have helping me test. Those new links to the new table gives an ODBC error when she just tries to open the tables directly in the table tab of the db window. I am assuming that is because the DSN file I used to do the link is not on her computer? Is that the way this works? How do I discover where the DSN file is for the database that existed already when I first got in? I tried looking at the TDF cnn data and it isn't referenced in there. I found this: http://support.microsoft.com/kb/892490 Which looks like the magic key. Does anyone use this code or something similar? Any comments, warnings? Unfortunately at this point I am not able to log in to any other workstation there to test this code from another workstation. I will have to get that figured out as well. Any help appreciated. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Fri May 22 00:20:31 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 22 May 2009 00:20:31 -0500 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <4A15DA12.4010806@colbyconsulting.com> References: <4A15DA12.4010806@colbyconsulting.com> Message-ID: I've used this process before. I was moving an Access BE to a SQL Server Backend, and in the process, I created a new backend .mdb that had these DSNless linked tables, so that 99% of the Front End stuff worked fine without having to have DSN's on the client machines. The only quirk I remember is that you couldn't 'relink' the tables, you had to delete the linked tables and recreate them if something changed. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Thursday, May 21, 2009 5:48 PM To: Access Developers discussion and problem solving Subject: [AccessD] Linked to SQL Server in a domain Guys, I am a tad out of my comfort zone here. I am working on a database that links to a SQL Server using ODBC. The database was "upgraded" by another company which is in the process of being fired. The links work but I do not know where the DSN file resides. I created a new database and a DSN for new tables that I created in that database and it works just fine for me, logged on to the server (which is where I work - remote desktop), but it does not work for another user that I have helping me test. Those new links to the new table gives an ODBC error when she just tries to open the tables directly in the table tab of the db window. I am assuming that is because the DSN file I used to do the link is not on her computer? Is that the way this works? How do I discover where the DSN file is for the database that existed already when I first got in? I tried looking at the TDF cnn data and it isn't referenced in there. I found this: http://support.microsoft.com/kb/892490 Which looks like the magic key. Does anyone use this code or something similar? Any comments, warnings? Unfortunately at this point I am not able to log in to any other workstation there to test this code from another workstation. I will have to get that figured out as well. Any help appreciated. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Gustav at cactus.dk Fri May 22 02:28:42 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 22 May 2009 09:28:42 +0200 Subject: [AccessD] Linked to SQL Server in a domain Message-ID: Hi Jim That is not my experience. We had several apps running at clients for years using A97, ODBC and the SQL Server prior to 2000 (version 7? Can't remember) without a single issue. So at least in some cases ODBC works. /gustav >>> accessd at shaw.ca 22-05-2009 07:00 >>> Hi John: I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since 1997 and Access does not work with ODBC. There is a simple and stupid way to up date an old Access MDB to a MS SQL BE using connection/links. This system actually works fine for delete, add and update... but as soon as you start grabbing recordsets of data for reports, subforms or start rolling out a new application to a remote desktops the whole system grinds to a halt. At that point you have reached the end of the usefulness of the ODBC connections. Unfortunately there is no short cut, the client and you just have to bite the bullet and go straight ADO-OLE... It is not that difficult but the nice gui interface within Access can not do it. Jim From Gustav at cactus.dk Fri May 22 03:31:04 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 22 May 2009 10:31:04 +0200 Subject: [AccessD] Linked to SQL Server in a domain Message-ID: Hi John A DSN can be created either as an Registry entry (which may be duplicated in the ODBC.INI file for the benefit of 16-bit apps, but let's forget that) or as a DSN file - in both cases either for the User or the System. The DSN file is nothing more than a text file given the extension .dsn and can easily be moved. However, on another machine you still need to create a DSN for the database but, by referring to the file, no parameters need to be typed. If no DSN file is available, a new DSN must be created from scratch. Alternatively, a DSN can be created by code. This is probably not worth the efforts for a single user, but if you prefer this method I have extensive code for the purpose. Finally, a DNS-less connection can be made as explained in the article. I find this method a bit over-hyped, one reason could be that many can't find out how to create a DSN. It is not the answer to everything but is well suited in some situations - as always, it depends. As you can see in the code in the article, it is just another method to pass the same information as contained in a DSN. /gustav >>> jwcolby at colbyconsulting.com 22-05-2009 00:47 >>> Guys, I am a tad out of my comfort zone here. I am working on a database that links to a SQL Server using ODBC. The database was "upgraded" by another company which is in the process of being fired. The links work but I do not know where the DSN file resides. I created a new database and a DSN for new tables that I created in that database and it works just fine for me, logged on to the server (which is where I work - remote desktop), but it does not work for another user that I have helping me test. Those new links to the new table gives an ODBC error when she just tries to open the tables directly in the table tab of the db window. I am assuming that is because the DSN file I used to do the link is not on her computer? Is that the way this works? How do I discover where the DSN file is for the database that existed already when I first got in? I tried looking at the TDF cnn data and it isn't referenced in there. I found this: http://support.microsoft.com/kb/892490 Which looks like the magic key. Does anyone use this code or something similar? Any comments, warnings? Unfortunately at this point I am not able to log in to any other workstation there to test this code from another workstation. I will have to get that figured out as well. Any help appreciated. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Fri May 22 07:25:00 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 May 2009 08:25:00 -0400 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: References: <4A15DA12.4010806@colbyconsulting.com> Message-ID: <4A16999C.9030800@colbyconsulting.com> Jim, The client is a very small company (6 or so employees) that helps seniors with their medical insurance plans, researching billing issues and so forth. They wanted a new network administrator (which I am definitely not) so they went out and hired a new company to do this. This company advised them that in order to be HIPAA compliant they needed to move the data into SQL Server (for encryption reasons AFAICT). It seems this company quoted a very low ball price to convert the system to SQL Server, and in the end it APPEARS that all they did was run the upgrade wizard. AFAICS out in the SQL Server there are no views or stored procedures at all, only the data. Even there they appear to have screwed some stuff up. The database, which I did not write but which I maintained and added new functionality to for many years, was working fine (as stated by the company owner) before the upgrade but has "a bunch of problems" since the upgrade. The owner is in the process of hiring a new network admin company and has asked me to come back and straighten out the problems in the db. To be honest I was just brought back in a few days ago so I really don't know the details yet on the "bunch of problems". In any event, the DB FE uses simple ODBC links to get at the data. They have very few employees and performance seems to be pretty adequate doing things this way. I understand (form a theoretical perspective) the concept of using ADO recordsets for the bound forms and as data sources for the combos etc. hitting stored procedures out on the SQL Server but none of that is presently used. I am trying to come in and get some additional functionality happening quickly, for example a fairly strong login to the database and possibly additional presentation layer security. I really don't want to get bogged down in trying to move the database away from ODBC at this point, though I would love to take this opportunity to do this as things settle down. John W. Colby www.ColbyConsulting.com Jim Lawrence wrote: > Hi John: > > I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since > 1997 and Access does not work with ODBC. There is a simple and stupid way to > up date an old Access MDB to a MS SQL BE using connection/links. > > This system actually works fine for delete, add and update... but as soon as > you start grabbing recordsets of data for reports, subforms or start rolling > out a new application to a remote desktops the whole system grinds to a > halt. At that point you have reached the end of the usefulness of the ODBC > connections. > > Unfortunately there is no short cut, the client and you just have to bite > the bullet and go straight ADO-OLE... It is not that difficult but the nice > gui interface within Access can not do it. > > Jim From jimdettman at verizon.net Fri May 22 08:49:18 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Fri, 22 May 2009 09:49:18 -0400 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: References: Message-ID: <0342A29ECA26410F95DA5D087380FF2E@XPS> Just one drawback to creating a DSN; once on the machine, users find out that they can then use it to access the data form Excel, etc. Opens things up a bit, which you might not want. And like you, I find that ODBC works perfectly fine. Once again, it's a matter of understanding what the product is doing. In most cases, I find poor ODBC performance is related to using JET specific expressions in queries, which then causes most of the processing to be carried out client side. Last, for John, with ODBC, when you attempt a connection, ODBC is only worried about the connection string. A DSN is nothing more then a shortcut way of providing that. You don't need a DSN if you supply all the required information. Anything that is not supplied when you attempt a connect is prompted for. A DSN can be user specific, system based (applies to the entire PC), or file based. As the others have said, lots of code floating around to create them if you want to use them. Just be aware that once defined, the end use can then use that to connect to the DB outside of your app. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 22, 2009 4:31 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked to SQL Server in a domain Hi John A DSN can be created either as an Registry entry (which may be duplicated in the ODBC.INI file for the benefit of 16-bit apps, but let's forget that) or as a DSN file - in both cases either for the User or the System. The DSN file is nothing more than a text file given the extension .dsn and can easily be moved. However, on another machine you still need to create a DSN for the database but, by referring to the file, no parameters need to be typed. If no DSN file is available, a new DSN must be created from scratch. Alternatively, a DSN can be created by code. This is probably not worth the efforts for a single user, but if you prefer this method I have extensive code for the purpose. Finally, a DNS-less connection can be made as explained in the article. I find this method a bit over-hyped, one reason could be that many can't find out how to create a DSN. It is not the answer to everything but is well suited in some situations - as always, it depends. As you can see in the code in the article, it is just another method to pass the same information as contained in a DSN. /gustav >>> jwcolby at colbyconsulting.com 22-05-2009 00:47 >>> Guys, I am a tad out of my comfort zone here. I am working on a database that links to a SQL Server using ODBC. The database was "upgraded" by another company which is in the process of being fired. The links work but I do not know where the DSN file resides. I created a new database and a DSN for new tables that I created in that database and it works just fine for me, logged on to the server (which is where I work - remote desktop), but it does not work for another user that I have helping me test. Those new links to the new table gives an ODBC error when she just tries to open the tables directly in the table tab of the db window. I am assuming that is because the DSN file I used to do the link is not on her computer? Is that the way this works? How do I discover where the DSN file is for the database that existed already when I first got in? I tried looking at the TDF cnn data and it isn't referenced in there. I found this: http://support.microsoft.com/kb/892490 Which looks like the magic key. Does anyone use this code or something similar? Any comments, warnings? Unfortunately at this point I am not able to log in to any other workstation there to test this code from another workstation. I will have to get that figured out as well. Any help appreciated. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebarro at verizon.net Fri May 22 08:57:47 2009 From: ebarro at verizon.net (Eric Barro) Date: Fri, 22 May 2009 06:57:47 -0700 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <4A16999C.9030800@colbyconsulting.com> References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> Message-ID: John, I recommend that you look into moving away from ODBC at this point. I've had a similar experience in the past converting from Access to a SQL datasource and I was using ODBC through DSN connections. There would be timeout issues and locking issues and it was not working so I changed the datasource to use ADO recordsets. Eric -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 22, 2009 5:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked to SQL Server in a domain Jim, The client is a very small company (6 or so employees) that helps seniors with their medical insurance plans, researching billing issues and so forth. They wanted a new network administrator (which I am definitely not) so they went out and hired a new company to do this. This company advised them that in order to be HIPAA compliant they needed to move the data into SQL Server (for encryption reasons AFAICT). It seems this company quoted a very low ball price to convert the system to SQL Server, and in the end it APPEARS that all they did was run the upgrade wizard. AFAICS out in the SQL Server there are no views or stored procedures at all, only the data. Even there they appear to have screwed some stuff up. The database, which I did not write but which I maintained and added new functionality to for many years, was working fine (as stated by the company owner) before the upgrade but has "a bunch of problems" since the upgrade. The owner is in the process of hiring a new network admin company and has asked me to come back and straighten out the problems in the db. To be honest I was just brought back in a few days ago so I really don't know the details yet on the "bunch of problems". In any event, the DB FE uses simple ODBC links to get at the data. They have very few employees and performance seems to be pretty adequate doing things this way. I understand (form a theoretical perspective) the concept of using ADO recordsets for the bound forms and as data sources for the combos etc. hitting stored procedures out on the SQL Server but none of that is presently used. I am trying to come in and get some additional functionality happening quickly, for example a fairly strong login to the database and possibly additional presentation layer security. I really don't want to get bogged down in trying to move the database away from ODBC at this point, though I would love to take this opportunity to do this as things settle down. John W. Colby www.ColbyConsulting.com From dwaters at usinternet.com Fri May 22 09:14:04 2009 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 22 May 2009 09:14:04 -0500 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <4A16999C.9030800@colbyconsulting.com> References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> Message-ID: <16ACFCE45E2F4C8FB1BE5E612FB55058@danwaters> Hi John, To get up and running quickly, you can simply create ODBC table links to all the SQL Server tables. Once having done that, you can use all the DAO code you already have. I did some data transfer speed analysis at two customers. On a LAN using ODBC table links, data transfer between an Access FE and Access BE is about 10% faster than between an Access FE and a SQL Server BE. (The Access FE does maintain an open connection to the Access BE.) So, users won't notice. Later on you can rewrite your Access FE to connect to the BE using OLEDB connections - my experiments showed a 5X to 10X data transfer speed improvement. But if users on a LAN are happy with performance as is, it doesn't make much sense to do some significant recoding for a higher speed they won't notice. If you do change to using OLEDB connections, your Access FE can be an .mdb or a .adp - there are pros and cons to both. I have a customer who uses my system with ODBC table links (Access FE/Access BE) on a WAN and they are OK with it. The WAN has good bandwidth, and they aren't heavy users. SQL Server does have a robust security layer. You can apply granular permissions to SS objects by User or by Windows Permissions Group. Again to get started quickly, get all your users into a single Group, select Windows Authentication, and apply that Group to all the SS objects. Of course you can get more detailed later if you want to. I think the HIPAA requirement may or may not be valid for this company - it depends on the actual data content that is being recorded. And, I doubt if HIPAA actually specifies encryption (but it might lead you there). In theory, your customer will be responsible for knowing how the HIPAA requirements actually apply to them, and they are supposed to let you know what you need to do. However, because you know much more about actually securing data in a database, you and your customer will need to get that figured out together. HTH! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 22, 2009 7:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked to SQL Server in a domain Jim, The client is a very small company (6 or so employees) that helps seniors with their medical insurance plans, researching billing issues and so forth. They wanted a new network administrator (which I am definitely not) so they went out and hired a new company to do this. This company advised them that in order to be HIPAA compliant they needed to move the data into SQL Server (for encryption reasons AFAICT). It seems this company quoted a very low ball price to convert the system to SQL Server, and in the end it APPEARS that all they did was run the upgrade wizard. AFAICS out in the SQL Server there are no views or stored procedures at all, only the data. Even there they appear to have screwed some stuff up. The database, which I did not write but which I maintained and added new functionality to for many years, was working fine (as stated by the company owner) before the upgrade but has "a bunch of problems" since the upgrade. The owner is in the process of hiring a new network admin company and has asked me to come back and straighten out the problems in the db. To be honest I was just brought back in a few days ago so I really don't know the details yet on the "bunch of problems". In any event, the DB FE uses simple ODBC links to get at the data. They have very few employees and performance seems to be pretty adequate doing things this way. I understand (form a theoretical perspective) the concept of using ADO recordsets for the bound forms and as data sources for the combos etc. hitting stored procedures out on the SQL Server but none of that is presently used. I am trying to come in and get some additional functionality happening quickly, for example a fairly strong login to the database and possibly additional presentation layer security. I really don't want to get bogged down in trying to move the database away from ODBC at this point, though I would love to take this opportunity to do this as things settle down. John W. Colby www.ColbyConsulting.com Jim Lawrence wrote: > Hi John: > > I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since > 1997 and Access does not work with ODBC. There is a simple and stupid way to > up date an old Access MDB to a MS SQL BE using connection/links. > > This system actually works fine for delete, add and update... but as soon as > you start grabbing recordsets of data for reports, subforms or start rolling > out a new application to a remote desktops the whole system grinds to a > halt. At that point you have reached the end of the usefulness of the ODBC > connections. > > Unfortunately there is no short cut, the client and you just have to bite > the bullet and go straight ADO-OLE... It is not that difficult but the nice > gui interface within Access can not do it. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri May 22 09:31:25 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 May 2009 10:31:25 -0400 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <0342A29ECA26410F95DA5D087380FF2E@XPS> References: <0342A29ECA26410F95DA5D087380FF2E@XPS> Message-ID: <4A16B73D.2020808@colbyconsulting.com> Jim, Thanks for that info. This is a small enough office that I (and the owner) does not think that the employees are a worry. If they end up doing stuff outside of the application we can deal with that. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > Just one drawback to creating a DSN; once on the machine, users find out > that they can then use it to access the data form Excel, etc. Opens things > up a bit, which you might not want. > > And like you, I find that ODBC works perfectly fine. Once again, it's a > matter of understanding what the product is doing. In most cases, I find > poor ODBC performance is related to using JET specific expressions in > queries, which then causes most of the processing to be carried out client > side. > > Last, for John, with ODBC, when you attempt a connection, ODBC is only > worried about the connection string. A DSN is nothing more then a shortcut > way of providing that. You don't need a DSN if you supply all the required > information. Anything that is not supplied when you attempt a connect is > prompted for. > > A DSN can be user specific, system based (applies to the entire PC), or > file based. As the others have said, lots of code floating around to create > them if you want to use them. Just be aware that once defined, the end use > can then use that to connect to the DB outside of your app. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Friday, May 22, 2009 4:31 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Linked to SQL Server in a domain > > Hi John > > A DSN can be created either as an Registry entry (which may be duplicated in > the ODBC.INI file for the benefit of 16-bit apps, but let's forget that) or > as a DSN file - in both cases either for the User or the System. > > The DSN file is nothing more than a text file given the extension .dsn and > can easily be moved. However, on another machine you still need to create a > DSN for the database but, by referring to the file, no parameters need to be > typed. > > If no DSN file is available, a new DSN must be created from scratch. > > Alternatively, a DSN can be created by code. This is probably not worth the > efforts for a single user, but if you prefer this method I have extensive > code for the purpose. > > Finally, a DNS-less connection can be made as explained in the article. I > find this method a bit over-hyped, one reason could be that many can't find > out how to create a DSN. It is not the answer to everything but is well > suited in some situations - as always, it depends. As you can see in the > code in the article, it is just another method to pass the same information > as contained in a DSN. > > /gustav > > >>>> jwcolby at colbyconsulting.com 22-05-2009 00:47 >>> > Guys, > > I am a tad out of my comfort zone here. I am working on a database that > links to a SQL Server using > ODBC. The database was "upgraded" by another company which is in the > process of being fired. The > links work but I do not know where the DSN file resides. > > I created a new database and a DSN for new tables that I created in that > database and it works just > fine for me, logged on to the server (which is where I work - remote > desktop), but it does not work > for another user that I have helping me test. Those new links to the new > table gives an ODBC error > when she just tries to open the tables directly in the table tab of the db > window. > > I am assuming that is because the DSN file I used to do the link is not on > her computer? Is that > the way this works? How do I discover where the DSN file is for the > database that existed already > when I first got in? I tried looking at the TDF cnn data and it isn't > referenced in there. > > I found this: > > http://support.microsoft.com/kb/892490 > > Which looks like the magic key. Does anyone use this code or something > similar? Any comments, > warnings? > > Unfortunately at this point I am not able to log in to any other workstation > there to test this code > from another workstation. I will have to get that figured out as well. > > Any help appreciated. > From sturner at mseco.com Fri May 22 09:33:52 2009 From: sturner at mseco.com (Steve Turner) Date: Fri, 22 May 2009 09:33:52 -0500 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <4A16999C.9030800@colbyconsulting.com> References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> Message-ID: <31B7F3CC8CC4454F87FCBEFF82B6189202DAA44B@PE2850-03.mseco.com> John, I have had the same problem using SQL Express with ODBC connections to a Pervasive Database. We have a custom timesheet program written in VB6 and data stored in SQL Express. We have to copy the same Access 2k database for the three users that do the Access reports from the SQL db. We link to a GL data in Pervasive to get expense data from there. I found that you have to set the DSN names to be the same on each machine when creating the links on each machine. Pervasive has a management tool that will let you find the DSN's and delete them if necessary. Every now and then the link to a table will break for no reason and you have to relink it to get back to going. The biggest problem is trying to write a new VBA code or a query with someone else in the database. They have to exit for you to save. Running reports are no problem. We use XP SP3 on the workstations with Server2003 on the servers and Access 2000. Also if someone writes a new report or changes a query you have to copy it into your copy of the db. This is a screwy workaround but we get by. Steve A. Turner -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 22, 2009 7:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked to SQL Server in a domain Jim, The client is a very small company (6 or so employees) that helps seniors with their medical insurance plans, researching billing issues and so forth. They wanted a new network administrator (which I am definitely not) so they went out and hired a new company to do this. This company advised them that in order to be HIPAA compliant they needed to move the data into SQL Server (for encryption reasons AFAICT). It seems this company quoted a very low ball price to convert the system to SQL Server, and in the end it APPEARS that all they did was run the upgrade wizard. AFAICS out in the SQL Server there are no views or stored procedures at all, only the data. Even there they appear to have screwed some stuff up. The database, which I did not write but which I maintained and added new functionality to for many years, was working fine (as stated by the company owner) before the upgrade but has "a bunch of problems" since the upgrade. The owner is in the process of hiring a new network admin company and has asked me to come back and straighten out the problems in the db. To be honest I was just brought back in a few days ago so I really don't know the details yet on the "bunch of problems". In any event, the DB FE uses simple ODBC links to get at the data. They have very few employees and performance seems to be pretty adequate doing things this way. I understand (form a theoretical perspective) the concept of using ADO recordsets for the bound forms and as data sources for the combos etc. hitting stored procedures out on the SQL Server but none of that is presently used. I am trying to come in and get some additional functionality happening quickly, for example a fairly strong login to the database and possibly additional presentation layer security. I really don't want to get bogged down in trying to move the database away from ODBC at this point, though I would love to take this opportunity to do this as things settle down. John W. Colby www.ColbyConsulting.com Jim Lawrence wrote: > Hi John: > > I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since > 1997 and Access does not work with ODBC. There is a simple and stupid way to > up date an old Access MDB to a MS SQL BE using connection/links. > > This system actually works fine for delete, add and update... but as soon as > you start grabbing recordsets of data for reports, subforms or start rolling > out a new application to a remote desktops the whole system grinds to a > halt. At that point you have reached the end of the usefulness of the ODBC > connections. > > Unfortunately there is no short cut, the client and you just have to bite > the bullet and go straight ADO-OLE... It is not that difficult but the nice > gui interface within Access can not do it. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Fri May 22 09:36:06 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 May 2009 10:36:06 -0400 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> Message-ID: <4A16B856.4000707@colbyconsulting.com> The problem is that the owner has her sister working there as her access person. Her sister has taken Access classes and even a SQL Server class (quite expensive apparently) and is quite comfortable doing much of the day to day stuff in Access. Of course this implies linked tables so that her queries and stuff works. My perspective on this is that Microsoft is pushing SQL Server Express as a BE for Access. As such one should not be required to be a SQL Server guru in order to use SQL Server as the data store for Access or the whole point of Access / SQL server goes down the drain. John W. Colby www.ColbyConsulting.com Eric Barro wrote: > John, > > I recommend that you look into moving away from ODBC at this point. I've had > a similar experience in the past converting from Access to a SQL datasource > and I was using ODBC through DSN connections. There would be timeout issues > and locking issues and it was not working so I changed the datasource to use > ADO recordsets. > > Eric > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, May 22, 2009 5:25 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Linked to SQL Server in a domain > > Jim, > > The client is a very small company (6 or so employees) that helps seniors > with their medical insurance plans, researching billing issues and so forth. > They wanted a new network administrator (which I am definitely not) so they > went out and hired a new company to do this. > > This company advised them that in order to be HIPAA compliant they needed to > move the data into SQL Server (for encryption reasons AFAICT). It seems > this company quoted a very low ball price to convert the system to SQL > Server, and in the end it APPEARS that all they did was run the upgrade > wizard. AFAICS out in the SQL Server there are no views or stored > procedures at all, only the data. > Even there they appear to have screwed some stuff up. The database, which > I did not write but which I maintained and added new functionality to for > many years, was working fine (as stated by the company owner) before the > upgrade but has "a bunch of problems" since the upgrade. > > The owner is in the process of hiring a new network admin company and has > asked me to come back and straighten out the problems in the db. To be > honest I was just brought back in a few days ago so I really don't know the > details yet on the "bunch of problems". > > In any event, the DB FE uses simple ODBC links to get at the data. They > have very few employees and performance seems to be pretty adequate doing > things this way. I understand (form a theoretical > perspective) the concept of using ADO recordsets for the bound forms and as > data sources for the combos etc. hitting stored procedures out on the SQL > Server but none of that is presently used. > > I am trying to come in and get some additional functionality happening > quickly, for example a fairly strong login to the database and possibly > additional presentation layer security. I really don't want to get bogged > down in trying to move the database away from ODBC at this point, though I > would love to take this opportunity to do this as things settle down. > > John W. Colby > www.ColbyConsulting.com > From ssharkins at gmail.com Fri May 22 10:17:51 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 22 May 2009 11:17:51 -0400 Subject: [AccessD] Linked to SQL Server in a domain References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> <4A16B856.4000707@colbyconsulting.com> Message-ID: <689536A3FBCA458D92879BC8BBF01276@SusanOne> > My perspective on this is that Microsoft is pushing SQL Server Express as > a BE for Access. As such > one should not be required to be a SQL Server guru in order to use SQL > Server as the data store for > Access or the whole point of Access / SQL server goes down the drain. ========You really don't have to be a guru as wizards do most everything for you, but Express really is a complicated beast in its own right. You still have to have knowledge... there's no such thing as SQL Server For Dummies, outside of the book. :) Susan H. From rusty.hammond at cpiqpc.com Fri May 22 10:28:19 2009 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 22 May 2009 10:28:19 -0500 Subject: [AccessD] An interesting "feature" in SQL Server Message-ID: <49A286ABF515E94A8505CD14DEB7217006D78804@CPIEMAIL-EVS1.CPIQPC.NET> Thanks. I'll take a look. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Anita Smith Sent: Thursday, May 21, 2009 10:50 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] An interesting "feature" in SQL Server Rusty, Here is a link to ms http://support.microsoft.com/kb/945674 Anita -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From accessd at shaw.ca Fri May 22 12:28:50 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 May 2009 10:28:50 -0700 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: References: Message-ID: Hi Gustav: My first major conversion project was over 10 years ago when a client was trying to get some decent performance out of an Access/Oracle application. They were initially using the query/link/pass-through technology and they had all but given up on the project... I tried out the ADO-OLE method and had stellar results. I did briefly work with ODBC but found that unless the application was supported locally it was too difficult to try and get a client to install the driver... through the phone or via email. On the other hand ADO, with its remote capabilities, is built in to all Windows systems. Hardware Performance has dramatically improved in the last 10 plus years so some of the issues of the past are irrelevant now but I have never looked back. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 22, 2009 12:29 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked to SQL Server in a domain Hi Jim That is not my experience. We had several apps running at clients for years using A97, ODBC and the SQL Server prior to 2000 (version 7? Can't remember) without a single issue. So at least in some cases ODBC works. /gustav >>> accessd at shaw.ca 22-05-2009 07:00 >>> Hi John: I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since 1997 and Access does not work with ODBC. There is a simple and stupid way to up date an old Access MDB to a MS SQL BE using connection/links. This system actually works fine for delete, add and update... but as soon as you start grabbing recordsets of data for reports, subforms or start rolling out a new application to a remote desktops the whole system grinds to a halt. At that point you have reached the end of the usefulness of the ODBC connections. Unfortunately there is no short cut, the client and you just have to bite the bullet and go straight ADO-OLE... It is not that difficult but the nice gui interface within Access can not do it. Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri May 22 12:57:26 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 22 May 2009 19:57:26 +0200 Subject: [AccessD] Linked to SQL Server in a domain Message-ID: Hi Jim I believe Oracle was and still is a different matter. As I remember, you had to install an "Oracle client", a monster app with all sorts of tweaks and settings. On the other hand, the only trouble I've seen with the SQL Server ODBC client was that in the old days it defaulted to Named Pipes. Change this to TCP/IP and you were off. Of course, if you design an app from scratch you would hardly aim for ODBC these days. /gustav >>> accessd at shaw.ca 22-05-2009 19:28 >>> Hi Gustav: My first major conversion project was over 10 years ago when a client was trying to get some decent performance out of an Access/Oracle application. They were initially using the query/link/pass-through technology and they had all but given up on the project... I tried out the ADO-OLE method and had stellar results. I did briefly work with ODBC but found that unless the application was supported locally it was too difficult to try and get a client to install the driver... through the phone or via email. On the other hand ADO, with its remote capabilities, is built in to all Windows systems. Hardware Performance has dramatically improved in the last 10 plus years so some of the issues of the past are irrelevant now but I have never looked back. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, May 22, 2009 12:29 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Linked to SQL Server in a domain Hi Jim That is not my experience. We had several apps running at clients for years using A97, ODBC and the SQL Server prior to 2000 (version 7? Can't remember) without a single issue. So at least in some cases ODBC works. /gustav >>> accessd at shaw.ca 22-05-2009 07:00 >>> Hi John: I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since 1997 and Access does not work with ODBC. There is a simple and stupid way to up date an old Access MDB to a MS SQL BE using connection/links. This system actually works fine for delete, add and update... but as soon as you start grabbing recordsets of data for reports, subforms or start rolling out a new application to a remote desktops the whole system grinds to a halt. At that point you have reached the end of the usefulness of the ODBC connections. Unfortunately there is no short cut, the client and you just have to bite the bullet and go straight ADO-OLE... It is not that difficult but the nice gui interface within Access can not do it. Jim From accessd at shaw.ca Fri May 22 13:26:38 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 May 2009 11:26:38 -0700 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: <4A16999C.9030800@colbyconsulting.com> References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> Message-ID: <29C7FF7739F3457AB2DF5FD936DC637C@creativesystemdesigns.com> Just doing all your work through MS SQL, via SPs and setting the security in the SQL server should be more than enough security. On the other hand as MS SQL is secure you could just have a table (maybe encrypted) where you just cross reference the username and password... Below is some code I used with a simple configuration. Note that I have used ADO as I have no ODBC references at all to referr to: Public Function GetUserInfo() As Boolean 'Given: gstrConnection = "Provider=SQLOLEDB;Initial Catalog=Registration;Data Source=imgserver;Integrated Security=SSPI" On Error GoTo Err_GetUserInfo Dim lsUserCode As String Dim objCmd As ADODB.Command Dim adoRS As ADODB.Recordset GetUserInfo = False lsUserCode = GetUser() gsUserID = Left(lsUserCode, 4) Set objCmd = New ADODB.Command With objCmd .ActiveConnection = gstrConnection .CommandText = "REGetUser" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("@chrUserID", adChar, adParamInput, 15, lsUserCode) End With Set adoRS = New ADODB.Recordset adoRS.Open objCmd, , adOpenForwardOnly, adLockReadOnly With adoRS If .BOF = False And .EOF = False Then gbAccessLevel = !AccessLevelCode GetUserInfo = True Else MsgBox "The user login credentials does not" & vbCr & _ "match a known user. Please contact" & vbCr & _ "the Application Administrator to have" & vbCr & _ "the appropriate security established.", vbCritical gbAccessLevel = 0 End If End With Exit_GetUserInfo: adoRS.Close Set adoRS = Nothing Set objCmd = Nothing Exit Function Err_GetUserInfo: If Err.Number = -2147467259 Or Err.Number = -2147217843 _ Or Err.Number = 3706 Then If MsgBox("The application could not achieve a" & vbCr & _ "connection to the SQL Server. Please" & vbCr & _ "contact System Support to have the" & vbCr & _ "appropriate permissions set up." & vbCr & _ "(" & Err.Number & " - " & Err.Source & " - " & _ Err.Description & ")" & vbCrLf & _ "CHECK Server Connection?", vbCritical + vbYesNo + vbDefaultButton1) = vbYes Then CheckConnection End If ElseIf Err.Number = 429 Or Err.Number = 430 Then If MsgBox("The required ADO (Active Data Object) and" & vbCr & _ "ActiveX components have not been set-up or" & vbCr & _ "referenced on the current work-station. Please" & vbCr & _ "contact your System Support person and them update" & vbCr & _ "this computer with a full ACCESS97 installation." & vbCr & _ "(" & Err.Number & " - " & Err.Source & " - " & _ Err.Description & ")" & vbCrLf & vbCr & _ "RUN FULL REFERENCE CHECK?", vbCritical + vbYesNo + vbDefaultButton1) = vbYes Then CheckReferences End If ElseIf Err.Number = 3706 Or Err.Number = 3021 Then MsgBox "The REGISTRY requires adjustment." & vbCr & _ "Please contact your System Support person" & vbCr & _ "and have them update the Registry in this computer." & vbCr & _ "(" & Err.Number & " - " & Err.Source & " - " & _ Err.Description & ")", vbCritical, "Registry Error" Else ShowErrMsg ("GetUserInfo") End If GetUserInfo = False On Error GoTo 0 GoTo Exit_GetUserInfo End Function I hope this helps and if you need further code fragments I can send that along as well. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Friday, May 22, 2009 5:25 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Linked to SQL Server in a domain Jim, The client is a very small company (6 or so employees) that helps seniors with their medical insurance plans, researching billing issues and so forth. They wanted a new network administrator (which I am definitely not) so they went out and hired a new company to do this. This company advised them that in order to be HIPAA compliant they needed to move the data into SQL Server (for encryption reasons AFAICT). It seems this company quoted a very low ball price to convert the system to SQL Server, and in the end it APPEARS that all they did was run the upgrade wizard. AFAICS out in the SQL Server there are no views or stored procedures at all, only the data. Even there they appear to have screwed some stuff up. The database, which I did not write but which I maintained and added new functionality to for many years, was working fine (as stated by the company owner) before the upgrade but has "a bunch of problems" since the upgrade. The owner is in the process of hiring a new network admin company and has asked me to come back and straighten out the problems in the db. To be honest I was just brought back in a few days ago so I really don't know the details yet on the "bunch of problems". In any event, the DB FE uses simple ODBC links to get at the data. They have very few employees and performance seems to be pretty adequate doing things this way. I understand (form a theoretical perspective) the concept of using ADO recordsets for the bound forms and as data sources for the combos etc. hitting stored procedures out on the SQL Server but none of that is presently used. I am trying to come in and get some additional functionality happening quickly, for example a fairly strong login to the database and possibly additional presentation layer security. I really don't want to get bogged down in trying to move the database away from ODBC at this point, though I would love to take this opportunity to do this as things settle down. John W. Colby www.ColbyConsulting.com Jim Lawrence wrote: > Hi John: > > I have been working with MS Access to ADO-OLE to MS SQL/Oracle DBs since > 1997 and Access does not work with ODBC. There is a simple and stupid way to > up date an old Access MDB to a MS SQL BE using connection/links. > > This system actually works fine for delete, add and update... but as soon as > you start grabbing recordsets of data for reports, subforms or start rolling > out a new application to a remote desktops the whole system grinds to a > halt. At that point you have reached the end of the usefulness of the ODBC > connections. > > Unfortunately there is no short cut, the client and you just have to bite > the bullet and go straight ADO-OLE... It is not that difficult but the nice > gui interface within Access can not do it. > > Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri May 22 13:49:58 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 22 May 2009 11:49:58 -0700 Subject: [AccessD] Linked to SQL Server in a domain In-Reply-To: References: <4A15DA12.4010806@colbyconsulting.com> <4A16999C.9030800@colbyconsulting.com> Message-ID: Everyone may already know this little trick for connecting to a MS SQL DB but if not it might prove useful: 1. on your desktop, select New and then select Text Document. 2. Rename the text to anything with a 'UDL' extension. Example: text.udl 3. Now open the new file and you will see an ODBC template for filling out. 4. Just fill the fields out and test until a connection with your MS SQL or a variety of other DBs for that matter, is established. 5. When completed you can then rename the file text.udl back to text.txt and you have a complete list of tried and tested connection strings suitable for use in your code. Hope this helps someone. Jim From rusty.hammond at cpiqpc.com Fri May 22 13:59:44 2009 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 22 May 2009 13:59:44 -0500 Subject: [AccessD] Linked to SQL Server in a domain Message-ID: <49A286ABF515E94A8505CD14DEB7217006D78806@CPIEMAIL-EVS1.CPIQPC.NET> Very cool. Thanks for the tip. Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 22, 2009 1:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Linked to SQL Server in a domain Everyone may already know this little trick for connecting to a MS SQL DB but if not it might prove useful: 1. on your desktop, select New and then select Text Document. 2. Rename the text to anything with a 'UDL' extension. Example: text.udl 3. Now open the new file and you will see an ODBC template for filling out. 4. Just fill the fields out and test until a connection with your MS SQL or a variety of other DBs for that matter, is established. 5. When completed you can then rename the file text.udl back to text.txt and you have a complete list of tried and tested connection strings suitable for use in your code. Hope this helps someone. Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From jwcolby at colbyconsulting.com Fri May 22 15:25:46 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Fri, 22 May 2009 16:25:46 -0400 Subject: [AccessD] SKDatabase Message-ID: <4A170A4A.8080200@colbyconsulting.com> Does anyone know what SKDatabase is? I opened my local server (on my laptop) which I use to run my billing database and there is this thing called SKDatabase. When I google it I get nothing worth persuing but TONS of hits. Pretty weird actually. -- John W. Colby www.ColbyConsulting.com From kathryn at bassett.net Fri May 22 15:51:57 2009 From: kathryn at bassett.net (Kathryn Bassett) Date: Fri, 22 May 2009 13:51:57 -0700 Subject: [AccessD] SKDatabase In-Reply-To: <4A170A4A.8080200@colbyconsulting.com> References: <4A170A4A.8080200@colbyconsulting.com> Message-ID: <00a701c9db1f$25a7c1b0$70f74510$@net> Probably SiteKeeper by Diskeeper - here's an old review http://www.gtpcc.org/gtpcc/sitekeeper3.htm and the website is http://www.diskeeper.com/sitekeeper/sitekeeper.aspx and the manual is http://files.diskeeper.com/pdf/Sitekeeper_Manual.pdf Kathryn > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd- > bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Friday, May 22, 2009 1:26 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] SKDatabase > > Does anyone know what SKDatabase is? I opened my local server (on my > laptop) which I use to run my > billing database and there is this thing called SKDatabase. When I > google it I get nothing worth > persuing but TONS of hits. Pretty weird actually. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri May 22 16:14:35 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 22 May 2009 17:14:35 -0400 Subject: [AccessD] Nice article with Franciso Message-ID: http://www.devx.com:80/dbzone/Article/41808 I was impressed by how quickly he supplied the T-SQL code -- I asked and in minutes... I had what I needed. :) Susan H. From wdhindman at dejpolsystems.com Sun May 24 05:38:37 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sun, 24 May 2009 06:38:37 -0400 Subject: [AccessD] An interesting "feature" in SQL Server References: <4A148447.8080508@colbyconsulting.com> <7E02B06E41E5404589EDDDA2BAA1C5A87566AE@sanex101.nciinc.com> <8786a4c00905211214m7bdd5a3cr364b8d87c414d8c5@mail.gmail.com><29f585dd0905211415s660953edp3352e7181245ae6f@mail.gmail.com> <4A15C860.90005@colbyconsulting.com> Message-ID: ...Arthur reminds me of the preacher on Sunday morning who somehow knows you were out drinking the night before :) William -------------------------------------------------- From: "jwcolby" Sent: Thursday, May 21, 2009 5:32 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] An interesting "feature" in SQL Server > Oh boy, here we go again. > > John W. Colby > www.ColbyConsulting.com > > > Arthur Fuller wrote: >> That's a good approach, David. The rest of this thread really causes skin >> rash due to its misunderstanding of the purpose of NULL values. NULL is a >> valid value. I've said this before and I'm saying it again. Force a NULL >> value to anything else (which includes defaulting a column to some value) >> is >> IMO a fundamental design error, indicative of one of two problems: >> >> 1. you don't understand the data domain >> 2. the domain itself is incoherent. >> >> My $.02. >> Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stephen at bondsoftware.co.nz Mon May 25 04:01:05 2009 From: stephen at bondsoftware.co.nz (Stephen) Date: Mon, 25 May 2009 21:01:05 +1200 Subject: [AccessD] test Message-ID: <569E08FC48047F4F848850B118195FBE0385A3@server.BondSoftware.local> Silent for a couple of days ... Same with dba-Tech From jwcolby at colbyconsulting.com Mon May 25 07:21:45 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 25 May 2009 08:21:45 -0400 Subject: [AccessD] test In-Reply-To: <569E08FC48047F4F848850B118195FBE0385A3@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE0385A3@server.BondSoftware.local> Message-ID: <4A1A8D59.3020308@colbyconsulting.com> Nothing to say. ;) John W. Colby www.ColbyConsulting.com Stephen wrote: > Silent for a couple of days ... Same with dba-Tech > From andy at minstersystems.co.uk Mon May 25 07:40:50 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Mon, 25 May 2009 13:40:50 +0100 Subject: [AccessD] test In-Reply-To: <4A1A8D59.3020308@colbyconsulting.com> Message-ID: <099455F799DD417EAA38A0C787FF5408@MINSTER> Public holiday in UK so won't be much happening here. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 25 May 2009 13:22 To: Access Developers discussion and problem solving Subject: Re: [AccessD] test Nothing to say. ;) John W. Colby www.ColbyConsulting.com Stephen wrote: > Silent for a couple of days ... Same with dba-Tech > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon May 25 07:47:48 2009 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 25 May 2009 07:47:48 -0500 Subject: [AccessD] test In-Reply-To: <569E08FC48047F4F848850B118195FBE0385A3@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE0385A3@server.BondSoftware.local> Message-ID: Holiday weekend I guess. GK On Mon, May 25, 2009 at 4:01 AM, Stephen wrote: > Silent for a couple of days ... Same with dba-Tech > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From jwcolby at colbyconsulting.com Mon May 25 10:32:28 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 25 May 2009 11:32:28 -0400 Subject: [AccessD] VMWare VM can't get to the network Message-ID: <4A1ABA0C.9010600@colbyconsulting.com> Guys, I am trying to get VMWare player working with a virtual machine on my vista laptop (dev machine). The VM itself comes up and functions but no connection to my network. I can't ping any of the machines on my network, nor can the network ping the vm. I uninstalled, downloaded the latest and reinstalled player but no joy. I edited the vmx file to change the mac address, no joy. I don't know where to go on this. A VM isn't very useful if you can't get out to the network. -- John W. Colby www.ColbyConsulting.com From jwcolby at colbyconsulting.com Mon May 25 11:05:48 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 25 May 2009 12:05:48 -0400 Subject: [AccessD] VMWare VM can't get to the network In-Reply-To: <4A1ABA0C.9010600@colbyconsulting.com> References: <4A1ABA0C.9010600@colbyconsulting.com> Message-ID: <4A1AC1DC.6040903@colbyconsulting.com> Just an update, the VM itself is on a usb hard drive. I move that to my server running VMWare Server and the VM runs fine and gets out to the network and internet so it is something on my laptop causing the issue. Really a PITA. I have had many problems getting the laptop to reliably run VMs. It works, it doesn't work, it works, it doesn't work. ATM it doesn't work. Sigh. John W. Colby www.ColbyConsulting.com jwcolby wrote: > Guys, > > I am trying to get VMWare player working with a virtual machine on my vista laptop (dev machine). > The VM itself comes up and functions but no connection to my network. I can't ping any of the > machines on my network, nor can the network ping the vm. > > I uninstalled, downloaded the latest and reinstalled player but no joy. > > I edited the vmx file to change the mac address, no joy. > > I don't know where to go on this. A VM isn't very useful if you can't get out to the network. > From max.wanadoo at gmail.com Mon May 25 11:10:32 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Mon, 25 May 2009 17:10:32 +0100 Subject: [AccessD] VMWare VM can't get to the network In-Reply-To: <4A1AC1DC.6040903@colbyconsulting.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> Message-ID: <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> John, if it is a vista laptop and it runs ok on non-vista machine then could it be the UAM security (or whatever vista calls the blocking of everything) Just a thought? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 25 May 2009 17:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] VMWare VM can't get to the network Just an update, the VM itself is on a usb hard drive. I move that to my server running VMWare Server and the VM runs fine and gets out to the network and internet so it is something on my laptop causing the issue. Really a PITA. I have had many problems getting the laptop to reliably run VMs. It works, it doesn't work, it works, it doesn't work. ATM it doesn't work. Sigh. John W. Colby www.ColbyConsulting.com jwcolby wrote: > Guys, > > I am trying to get VMWare player working with a virtual machine on my vista laptop (dev machine). > The VM itself comes up and functions but no connection to my network. I can't ping any of the > machines on my network, nor can the network ping the vm. > > I uninstalled, downloaded the latest and reinstalled player but no joy. > > I edited the vmx file to change the mac address, no joy. > > I don't know where to go on this. A VM isn't very useful if you can't get out to the network. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at Marlow.com Mon May 25 11:14:09 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Mon, 25 May 2009 11:14:09 -0500 Subject: [AccessD] VMWare VM can't get to the network In-Reply-To: <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> References: <4A1ABA0C.9010600@colbyconsulting.com><4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> Message-ID: Or the Window's Firewall. JWC, just out of curiousity, why do you use VMWare over Virtual PC? Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Monday, May 25, 2009 11:11 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] VMWare VM can't get to the network John, if it is a vista laptop and it runs ok on non-vista machine then could it be the UAM security (or whatever vista calls the blocking of everything) Just a thought? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 25 May 2009 17:06 To: Access Developers discussion and problem solving Subject: Re: [AccessD] VMWare VM can't get to the network Just an update, the VM itself is on a usb hard drive. I move that to my server running VMWare Server and the VM runs fine and gets out to the network and internet so it is something on my laptop causing the issue. Really a PITA. I have had many problems getting the laptop to reliably run VMs. It works, it doesn't work, it works, it doesn't work. ATM it doesn't work. Sigh. John W. Colby www.ColbyConsulting.com jwcolby wrote: > Guys, > > I am trying to get VMWare player working with a virtual machine on my vista laptop (dev machine). > The VM itself comes up and functions but no connection to my network. I can't ping any of the > machines on my network, nor can the network ping the vm. > > I uninstalled, downloaded the latest and reinstalled player but no joy. > > I edited the vmx file to change the mac address, no joy. > > I don't know where to go on this. A VM isn't very useful if you can't get out to the network. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From accessd at shaw.ca Mon May 25 13:16:04 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 25 May 2009 11:16:04 -0700 Subject: [AccessD] VMWare VM can't get to the network In-Reply-To: <4A1AC1DC.6040903@colbyconsulting.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> Message-ID: <3C962FA7F8EE46B5A0262AFA69297888@creativesystemdesigns.com> Hi John: Laptops tend to be a little fussy... proprietary hardware and all. I have found if you can get a piece of software to run stability on the portable it will run anywhere else. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Monday, May 25, 2009 9:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] VMWare VM can't get to the network Just an update, the VM itself is on a usb hard drive. I move that to my server running VMWare Server and the VM runs fine and gets out to the network and internet so it is something on my laptop causing the issue. Really a PITA. I have had many problems getting the laptop to reliably run VMs. It works, it doesn't work, it works, it doesn't work. ATM it doesn't work. Sigh. John W. Colby www.ColbyConsulting.com jwcolby wrote: > Guys, > > I am trying to get VMWare player working with a virtual machine on my vista laptop (dev machine). > The VM itself comes up and functions but no connection to my network. I can't ping any of the > machines on my network, nor can the network ping the vm. > > I uninstalled, downloaded the latest and reinstalled player but no joy. > > I edited the vmx file to change the mac address, no joy. > > I don't know where to go on this. A VM isn't very useful if you can't get out to the network. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon May 25 14:12:51 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 25 May 2009 15:12:51 -0400 Subject: [AccessD] VMWare VM can't get to the network In-Reply-To: References: <4A1ABA0C.9010600@colbyconsulting.com><4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> Message-ID: <4A1AEDB3.2020907@colbyconsulting.com> Windows firewall is off. My software firewall is off (for testing this). I started out using it because it was able to do usb stuff where Virtual PC wasn't able to. They seemed to be similar enough that it didn't matter. John W. Colby www.ColbyConsulting.com Drew Wutka wrote: > Or the Window's Firewall. > > JWC, just out of curiousity, why do you use VMWare over Virtual PC? > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo > Sent: Monday, May 25, 2009 11:11 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] VMWare VM can't get to the network > > John, if it is a vista laptop and it runs ok on non-vista machine then > could > it be the UAM security (or whatever vista calls the blocking of > everything) > > Just a thought? > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 25 May 2009 17:06 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VMWare VM can't get to the network > > Just an update, the VM itself is on a usb hard drive. I move that to my > server running VMWare > Server and the VM runs fine and gets out to the network and internet so > it > is something on my laptop > causing the issue. > > Really a PITA. I have had many problems getting the laptop to reliably > run > VMs. It works, it > doesn't work, it works, it doesn't work. > > ATM it doesn't work. Sigh. > > John W. Colby > www.ColbyConsulting.com > > > jwcolby wrote: >> Guys, >> >> I am trying to get VMWare player working with a virtual machine on my > vista laptop (dev machine). >> The VM itself comes up and functions but no connection to my network. > I > can't ping any of the >> machines on my network, nor can the network ping the vm. >> >> I uninstalled, downloaded the latest and reinstalled player but no > joy. >> I edited the vmx file to change the mac address, no joy. >> >> I don't know where to go on this. A VM isn't very useful if you can't > get > out to the network. From jwcolby at colbyconsulting.com Mon May 25 14:13:27 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 25 May 2009 15:13:27 -0400 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> Message-ID: <4A1AEDD7.1050803@colbyconsulting.com> I have that stuff turned off on this laptop. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > John, if it is a vista laptop and it runs ok on non-vista machine then could > it be the UAM security (or whatever vista calls the blocking of everything) > > Just a thought? > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 25 May 2009 17:06 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VMWare VM can't get to the network > > Just an update, the VM itself is on a usb hard drive. I move that to my > server running VMWare > Server and the VM runs fine and gets out to the network and internet so it > is something on my laptop > causing the issue. > > Really a PITA. I have had many problems getting the laptop to reliably run > VMs. It works, it > doesn't work, it works, it doesn't work. > > ATM it doesn't work. Sigh. > > John W. Colby > www.ColbyConsulting.com > > > jwcolby wrote: >> Guys, >> >> I am trying to get VMWare player working with a virtual machine on my > vista laptop (dev machine). >> The VM itself comes up and functions but no connection to my network. I > can't ping any of the >> machines on my network, nor can the network ping the vm. >> >> I uninstalled, downloaded the latest and reinstalled player but no joy. >> >> I edited the vmx file to change the mac address, no joy. >> >> I don't know where to go on this. A VM isn't very useful if you can't get > out to the network. From max.wanadoo at gmail.com Mon May 25 18:00:00 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 26 May 2009 00:00:00 +0100 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4A1AEDD7.1050803@colbyconsulting.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> <4A1AEDD7.1050803@colbyconsulting.com> Message-ID: <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com> Me too, but it STILL caused me problems. My gut reaction is to blame Vista if it work ok on XP Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 25 May 2009 20:13 To: Access Developers discussion and problem solving Subject: Re: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network I have that stuff turned off on this laptop. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > John, if it is a vista laptop and it runs ok on non-vista machine then could > it be the UAM security (or whatever vista calls the blocking of everything) > > Just a thought? > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 25 May 2009 17:06 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] VMWare VM can't get to the network > > Just an update, the VM itself is on a usb hard drive. I move that to my > server running VMWare > Server and the VM runs fine and gets out to the network and internet so it > is something on my laptop > causing the issue. > > Really a PITA. I have had many problems getting the laptop to reliably run > VMs. It works, it > doesn't work, it works, it doesn't work. > > ATM it doesn't work. Sigh. > > John W. Colby > www.ColbyConsulting.com > > > jwcolby wrote: >> Guys, >> >> I am trying to get VMWare player working with a virtual machine on my > vista laptop (dev machine). >> The VM itself comes up and functions but no connection to my network. I > can't ping any of the >> machines on my network, nor can the network ping the vm. >> >> I uninstalled, downloaded the latest and reinstalled player but no joy. >> >> I edited the vmx file to change the mac address, no joy. >> >> I don't know where to go on this. A VM isn't very useful if you can't get > out to the network. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon May 25 19:25:01 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Mon, 25 May 2009 20:25:01 -0400 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> <4A1AEDD7.1050803@colbyconsulting.com> <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com> Message-ID: <4A1B36DD.50105@colbyconsulting.com> Of course it is SOMETHING on the laptop. This thing has worked in the past, then for whatever reason it stopped. I went so far as to uninstall VMWare, clean the registry, reboot, reinstall (with a much newer version), and it still doesn't work. The sad part is that I could do a lot of good work if I could get the VM working. I want to build a 2007 runtime database but I am not going to pollute my dev machine with 2007. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Me too, but it STILL caused me problems. > > My gut reaction is to blame Vista if it work ok on XP > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 25 May 2009 20:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network > > I have that stuff turned off on this laptop. > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: >> John, if it is a vista laptop and it runs ok on non-vista machine then > could >> it be the UAM security (or whatever vista calls the blocking of > everything) >> Just a thought? >> >> Max >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: 25 May 2009 17:06 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] VMWare VM can't get to the network >> >> Just an update, the VM itself is on a usb hard drive. I move that to my >> server running VMWare >> Server and the VM runs fine and gets out to the network and internet so it >> is something on my laptop >> causing the issue. >> >> Really a PITA. I have had many problems getting the laptop to reliably > run >> VMs. It works, it >> doesn't work, it works, it doesn't work. >> >> ATM it doesn't work. Sigh. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> jwcolby wrote: >>> Guys, >>> >>> I am trying to get VMWare player working with a virtual machine on my >> vista laptop (dev machine). >>> The VM itself comes up and functions but no connection to my network. I >> can't ping any of the >>> machines on my network, nor can the network ping the vm. >>> >>> I uninstalled, downloaded the latest and reinstalled player but no joy. >>> >>> I edited the vmx file to change the mac address, no joy. >>> >>> I don't know where to go on this. A VM isn't very useful if you can't > get >> out to the network. From stuart at lexacorp.com.pg Mon May 25 20:31:00 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 26 May 2009 11:31:00 +1000 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4A1B36DD.50105@colbyconsulting.com> References: <4A1ABA0C.9010600@colbyconsulting.com>, <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com>, <4A1B36DD.50105@colbyconsulting.com> Message-ID: <4A1B4654.29264.3CEB85B2@stuart.lexacorp.com.pg> You could try switching to Sun VirtualBox. I have no problems getting multiple VMs to network on a Vista Business laptop. On 25 May 2009 at 20:25, jwcolby wrote: > Of course it is SOMETHING on the laptop. This thing has worked in the past, then for whatever > reason it stopped. I went so far as to uninstall VMWare, clean the registry, reboot, reinstall > (with a much newer version), and it still doesn't work. > > The sad part is that I could do a lot of good work if I could get the VM working. I want to build a > 2007 runtime database but I am not going to pollute my dev machine with 2007. > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: > > Me too, but it STILL caused me problems. > > > > My gut reaction is to blame Vista if it work ok on XP > > > > Max > > > > > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > > Sent: 25 May 2009 20:13 > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network > > > > I have that stuff turned off on this laptop. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > Max Wanadoo wrote: > >> John, if it is a vista laptop and it runs ok on non-vista machine then > > could > >> it be the UAM security (or whatever vista calls the blocking of > > everything) > >> Just a thought? > >> > >> Max > >> > >> > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > >> Sent: 25 May 2009 17:06 > >> To: Access Developers discussion and problem solving > >> Subject: Re: [AccessD] VMWare VM can't get to the network > >> > >> Just an update, the VM itself is on a usb hard drive. I move that to my > >> server running VMWare > >> Server and the VM runs fine and gets out to the network and internet so it > >> is something on my laptop > >> causing the issue. > >> > >> Really a PITA. I have had many problems getting the laptop to reliably > > run > >> VMs. It works, it > >> doesn't work, it works, it doesn't work. > >> > >> ATM it doesn't work. Sigh. > >> > >> John W. Colby > >> www.ColbyConsulting.com > >> > >> > >> jwcolby wrote: > >>> Guys, > >>> > >>> I am trying to get VMWare player working with a virtual machine on my > >> vista laptop (dev machine). > >>> The VM itself comes up and functions but no connection to my network. I > >> can't ping any of the > >>> machines on my network, nor can the network ping the vm. > >>> > >>> I uninstalled, downloaded the latest and reinstalled player but no joy. > >>> > >>> I edited the vmx file to change the mac address, no joy. > >>> > >>> I don't know where to go on this. A VM isn't very useful if you can't > > get > >> out to the network. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Mon May 25 22:08:45 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Mon, 25 May 2009 23:08:45 -0400 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4A1B4654.29264.3CEB85B2@stuart.lexacorp.com.pg> References: <4A1ABA0C.9010600@colbyconsulting.com> <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com> <4A1B36DD.50105@colbyconsulting.com> <4A1B4654.29264.3CEB85B2@stuart.lexacorp.com.pg> Message-ID: <29f585dd0905252008m38ecc284n2a4ee5272e25a462@mail.gmail.com> Me too. I run VirtualBox and have Ubuntu and XP VMs on it, both capable of hitting the net. My base OS is Vista. A. On Mon, May 25, 2009 at 9:31 PM, Stuart McLachlan wrote: > You could try switching to Sun VirtualBox. I have no problems getting > multiple VMs to > network on a Vista Business laptop. > > > From max.wanadoo at gmail.com Tue May 26 01:24:05 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 26 May 2009 07:24:05 +0100 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4A1B36DD.50105@colbyconsulting.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> <4A1AEDD7.1050803@colbyconsulting.com> <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com> <4A1B36DD.50105@colbyconsulting.com> Message-ID: <4a1b8b08.1c07d00a.6ac6.ffffb4e0@mx.google.com> Comodo? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 26 May 2009 01:25 To: Access Developers discussion and problem solving Subject: Re: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network Of course it is SOMETHING on the laptop. This thing has worked in the past, then for whatever reason it stopped. I went so far as to uninstall VMWare, clean the registry, reboot, reinstall (with a much newer version), and it still doesn't work. The sad part is that I could do a lot of good work if I could get the VM working. I want to build a 2007 runtime database but I am not going to pollute my dev machine with 2007. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Me too, but it STILL caused me problems. > > My gut reaction is to blame Vista if it work ok on XP > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 25 May 2009 20:13 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network > > I have that stuff turned off on this laptop. > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: >> John, if it is a vista laptop and it runs ok on non-vista machine then > could >> it be the UAM security (or whatever vista calls the blocking of > everything) >> Just a thought? >> >> Max >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby >> Sent: 25 May 2009 17:06 >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] VMWare VM can't get to the network >> >> Just an update, the VM itself is on a usb hard drive. I move that to my >> server running VMWare >> Server and the VM runs fine and gets out to the network and internet so it >> is something on my laptop >> causing the issue. >> >> Really a PITA. I have had many problems getting the laptop to reliably > run >> VMs. It works, it >> doesn't work, it works, it doesn't work. >> >> ATM it doesn't work. Sigh. >> >> John W. Colby >> www.ColbyConsulting.com >> >> >> jwcolby wrote: >>> Guys, >>> >>> I am trying to get VMWare player working with a virtual machine on my >> vista laptop (dev machine). >>> The VM itself comes up and functions but no connection to my network. I >> can't ping any of the >>> machines on my network, nor can the network ping the vm. >>> >>> I uninstalled, downloaded the latest and reinstalled player but no joy. >>> >>> I edited the vmx file to change the mac address, no joy. >>> >>> I don't know where to go on this. A VM isn't very useful if you can't > get >> out to the network. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue May 26 06:42:55 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 26 May 2009 07:42:55 -0400 Subject: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network In-Reply-To: <4a1b8b08.1c07d00a.6ac6.ffffb4e0@mx.google.com> References: <4A1ABA0C.9010600@colbyconsulting.com> <4A1AC1DC.6040903@colbyconsulting.com> <4a1ac2fc.0af6660a.7aa6.1e85@mx.google.com> <4A1AEDD7.1050803@colbyconsulting.com> <4a1b22f3.0d375e0a.5a33.ffff8fac@mx.google.com> <4A1B36DD.50105@colbyconsulting.com> <4a1b8b08.1c07d00a.6ac6.ffffb4e0@mx.google.com> Message-ID: <4A1BD5BF.3020200@colbyconsulting.com> Turned off. John W. Colby www.ColbyConsulting.com Max Wanadoo wrote: > Comodo? > > Max > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: 26 May 2009 01:25 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] SPAM-LOW: Re: VMWare VM can't get to the network > > Of course it is SOMETHING on the laptop. This thing has worked in the past, > then for whatever > reason it stopped. I went so far as to uninstall VMWare, clean the > registry, reboot, reinstall > (with a much newer version), and it still doesn't work. > > The sad part is that I could do a lot of good work if I could get the VM > working. I want to build a > 2007 runtime database but I am not going to pollute my dev machine with > 2007. > > John W. Colby > www.ColbyConsulting.com > > > Max Wanadoo wrote: >> Me too, but it STILL caused me problems. >> >> My gut reaction is to blame Vista if it work ok on XP >> >> Max From Chester_Kaup at kindermorgan.com Tue May 26 10:40:41 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 26 May 2009 10:40:41 -0500 Subject: [AccessD] Too few parameters expected 1 Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. From rockysmolin at bchacc.com Tue May 26 10:52:59 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 26 May 2009 08:52:59 -0700 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> Message-ID: Chester: When I get that error message, I copy the SQL into the SQL view of a query and then go to the design view. Usually I can see the problem right away that way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 8:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Too few parameters expected 1 Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue May 26 11:00:17 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 26 May 2009 11:00:17 -0500 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E74126D@houex1.kindermorgan.com> Forgot to add if I replace API12 with '42415017530000' the code works fine. API14 also shows to have a value in it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 10:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Too few parameters expected 1 Chester: When I get that error message, I copy the SQL into the SQL view of a query and then go to the design view. Usually I can see the problem right away that way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 8:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Too few parameters expected 1 Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue May 26 11:10:19 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 May 2009 11:10:19 -0500 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E74126D@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E74126D@houex1.kindermorgan.com> Message-ID: <5DF4A18F17A148FE9655513E967F8637@danwaters> Hi Chester, Perhaps this confirms the syntax issue. '" & API14 & "' is the same as '42415017530000' Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Too few parameters expected 1 Forgot to add if I replace API12 with '42415017530000' the code works fine. API14 also shows to have a value in it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 10:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Too few parameters expected 1 Chester: When I get that error message, I copy the SQL into the SQL view of a query and then go to the design view. Usually I can see the problem right away that way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 8:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Too few parameters expected 1 Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Tue May 26 11:17:39 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 26 May 2009 11:17:39 -0500 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: <5DF4A18F17A148FE9655513E967F8637@danwaters> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> <0B2BF8524B73A248A2F1B81BA751ED3C066E74126D@houex1.kindermorgan.com> <5DF4A18F17A148FE9655513E967F8637@danwaters> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E74127F@houex1.kindermorgan.com> That got it. Thanks. Darn quotes get me a lot. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, May 26, 2009 11:10 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Too few parameters expected 1 Hi Chester, Perhaps this confirms the syntax issue. '" & API14 & "' is the same as '42415017530000' Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 11:00 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Too few parameters expected 1 Forgot to add if I replace API12 with '42415017530000' the code works fine. API14 also shows to have a value in it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 10:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Too few parameters expected 1 Chester: When I get that error message, I copy the SQL into the SQL view of a query and then go to the design view. Usually I can see the problem right away that way. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 8:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Too few parameters expected 1 Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 May 26 12:34:51 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 26 May 2009 13:34:51 -0400 Subject: [AccessD] Thunderbird junk filter Message-ID: <4A1C283B.9050003@colbyconsulting.com> Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com From max.wanadoo at gmail.com Tue May 26 13:23:30 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 26 May 2009 19:23:30 +0100 Subject: [AccessD] Thunderbird junk filter In-Reply-To: <4A1C283B.9050003@colbyconsulting.com> References: <4A1C283B.9050003@colbyconsulting.com> Message-ID: <4a1c33a5.0707d00a.4b2a.ffffa578@mx.google.com> I route all my email through GoogleMail which handles spam just great. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 26 May 2009 18:35 To: Access Developers discussion and problem solving Subject: [AccessD] Thunderbird junk filter Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue May 26 13:31:49 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 May 2009 11:31:49 -0700 Subject: [AccessD] I'm Back Message-ID: Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte From Lambert.Heenan at aiuholdings.com Tue May 26 13:42:50 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Tue, 26 May 2009 14:42:50 -0400 Subject: [AccessD] Thunderbird junk filter In-Reply-To: <4a1c33a5.0707d00a.4b2a.ffffa578@mx.google.com> References: <4A1C283B.9050003@colbyconsulting.com> <4a1c33a5.0707d00a.4b2a.ffffa578@mx.google.com> Message-ID: Took the words right out of my mouth! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Tuesday, May 26, 2009 2:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Thunderbird junk filter I route all my email through GoogleMail which handles spam just great. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: 26 May 2009 18:35 To: Access Developers discussion and problem solving Subject: [AccessD] Thunderbird junk filter Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com From jimdettman at verizon.net Tue May 26 13:52:31 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 26 May 2009 14:52:31 -0400 Subject: [AccessD] Thunderbird junk filter In-Reply-To: <4A1C283B.9050003@colbyconsulting.com> References: <4A1C283B.9050003@colbyconsulting.com> Message-ID: Have the rules as far off topic postings been relaxed? I'm asking, not complaining. It seems to me that with the so many of us using a variety of tools, and the number of off topic posts that appear here anyway, everyone would be better served with one combined list. I think the DBA board should consider combining the VB, SQL, and Tech lists into AccessD. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, May 26, 2009 1:35 PM To: Access Developers discussion and problem solving Subject: [AccessD] Thunderbird junk filter Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue May 26 14:16:28 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 26 May 2009 12:16:28 -0700 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: Humerus - so named because that's your funny bone? Dang - sounds painful. How'd you do it - or is that too embarrassing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Tue May 26 14:16:53 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 26 May 2009 20:16:53 +0100 Subject: [AccessD] Thunderbird junk filter In-Reply-To: References: <4A1C283B.9050003@colbyconsulting.com> Message-ID: <4a1c402a.0407560a.63f4.3877@mx.google.com> Totally Agree - here is one vote. All based on Access of course. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 26 May 2009 19:53 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Thunderbird junk filter Have the rules as far off topic postings been relaxed? I'm asking, not complaining. It seems to me that with the so many of us using a variety of tools, and the number of off topic posts that appear here anyway, everyone would be better served with one combined list. I think the DBA board should consider combining the VB, SQL, and Tech lists into AccessD. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, May 26, 2009 1:35 PM To: Access Developers discussion and problem solving Subject: [AccessD] Thunderbird junk filter Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue May 26 14:35:55 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 May 2009 12:35:55 -0700 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: The lower end is where your funny bone lives. I broke the shoulder part. Total clumsiness on my part. Light went out over my desk and I got up in the dark to turn another on. I stepped on a small heater I couldn't see and had forgotten about and took a header into the wall and onto the floor. Had 4 stitches above my left eye and a fractured shoulder as a momento. I'm going to keep a flashlight next to my desk from now on!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I'm Back Humerus - so named because that's your funny bone? Dang - sounds painful. How'd you do it - or is that too embarrassing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue May 26 14:44:26 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 May 2009 14:44:26 -0500 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: <8BC828F6E47E4796BAE8DD475496D33F@danwaters> Well - just goes to show that backups are important! ;-) Sorry Charlotte - I do hope you're on the mend and feeling much better by now! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I'm Back The lower end is where your funny bone lives. I broke the shoulder part. Total clumsiness on my part. Light went out over my desk and I got up in the dark to turn another on. I stepped on a small heater I couldn't see and had forgotten about and took a header into the wall and onto the floor. Had 4 stitches above my left eye and a fractured shoulder as a momento. I'm going to keep a flashlight next to my desk from now on!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I'm Back Humerus - so named because that's your funny bone? Dang - sounds painful. How'd you do it - or is that too embarrassing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Tue May 26 14:45:47 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 May 2009 14:45:47 -0500 Subject: [AccessD] Thunderbird junk filter In-Reply-To: <4a1c402a.0407560a.63f4.3877@mx.google.com> References: <4A1C283B.9050003@colbyconsulting.com> <4a1c402a.0407560a.63f4.3877@mx.google.com> Message-ID: <3BD1A2CCE92F4482BADA765698E07CF5@danwaters> Sounds good to me as well. However - perhaps 'special use' groups (like the Scrum group) would have a place. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: Tuesday, May 26, 2009 2:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Thunderbird junk filter Totally Agree - here is one vote. All based on Access of course. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: 26 May 2009 19:53 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Thunderbird junk filter Have the rules as far off topic postings been relaxed? I'm asking, not complaining. It seems to me that with the so many of us using a variety of tools, and the number of off topic posts that appear here anyway, everyone would be better served with one combined list. I think the DBA board should consider combining the VB, SQL, and Tech lists into AccessD. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, May 26, 2009 1:35 PM To: Access Developers discussion and problem solving Subject: [AccessD] Thunderbird junk filter Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue May 26 15:17:47 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 26 May 2009 13:17:47 -0700 Subject: [AccessD] Thunderbird junk filter In-Reply-To: References: <4A1C283B.9050003@colbyconsulting.com> Message-ID: I would be for that. It's like going to school every day - even if I don't think I'll ever use the info. I have a delete key and deleting threads I'm not interested in has never been a burden. I'd particularly like to see the SQL posts. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Tuesday, May 26, 2009 11:53 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Thunderbird junk filter Have the rules as far off topic postings been relaxed? I'm asking, not complaining. It seems to me that with the so many of us using a variety of tools, and the number of off topic posts that appear here anyway, everyone would be better served with one combined list. I think the DBA board should consider combining the VB, SQL, and Tech lists into AccessD. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, May 26, 2009 1:35 PM To: Access Developers discussion and problem solving Subject: [AccessD] Thunderbird junk filter Does anyone know how to adjust the Thunderbird junk filter? I am getting a fair amount of junk, which I click the junk for but it just continues to deposit it into my in box. Things with obvious clues like my own email address in the from even though what you see in the from is not my email address (spoofed address). It seems like this would be an instant "send to junk". -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Tue May 26 15:21:46 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 26 May 2009 13:21:46 -0700 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: Oh. Nothing humerus about that! Recovering OK? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I'm Back The lower end is where your funny bone lives. I broke the shoulder part. Total clumsiness on my part. Light went out over my desk and I got up in the dark to turn another on. I stepped on a small heater I couldn't see and had forgotten about and took a header into the wall and onto the floor. Had 4 stitches above my left eye and a fractured shoulder as a momento. I'm going to keep a flashlight next to my desk from now on!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I'm Back Humerus - so named because that's your funny bone? Dang - sounds painful. How'd you do it - or is that too embarrassing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 May 26 15:39:45 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 26 May 2009 16:39:45 -0400 Subject: [AccessD] Thunderbird junk filter In-Reply-To: References: <4A1C283B.9050003@colbyconsulting.com> Message-ID: <4A1C5391.5080808@colbyconsulting.com> LOL. No I don't think so however with absolutely no posts for days at a time I take liberties when I need other kinds of help. John W. Colby www.ColbyConsulting.com Jim Dettman wrote: > Have the rules as far off topic postings been relaxed? I'm asking, not > complaining. > > It seems to me that with the so many of us using a variety of tools, and > the number of off topic posts that appear here anyway, everyone would be > better served with one combined list. > > I think the DBA board should consider combining the VB, SQL, and Tech lists > into AccessD. > > Jim. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, May 26, 2009 1:35 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Thunderbird junk filter > > Does anyone know how to adjust the Thunderbird junk filter? I am getting a > fair amount of junk, > which I click the junk for but it just continues to deposit it into my in > box. Things with obvious > clues like my own email address in the from even though what you see in the > from is not my email > address (spoofed address). > > It seems like this would be an instant "send to junk". > From jwcolby at colbyconsulting.com Tue May 26 15:40:32 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 26 May 2009 16:40:32 -0400 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: <4A1C53C0.7000506@colbyconsulting.com> LOL, of course we missed you. You were missing? ;) John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > Did you miss me? Aside from the Bermuda stalker, that is! I fractured > me left humerus and the greater tuberosity 5 weeks ago and this is the > first day back at work. Couldn't figure out how to connect from my > Vista laptop, so I suffered list withdrawal for 5 weeks! > > Charlotte From stuart at lexacorp.com.pg Tue May 26 15:42:53 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 May 2009 06:42:53 +1000 Subject: [AccessD] Thunderbird junk filter In-Reply-To: <4a1c402a.0407560a.63f4.3877@mx.google.com> References: <4A1C283B.9050003@colbyconsulting.com>, , <4a1c402a.0407560a.63f4.3877@mx.google.com> Message-ID: <4A1C544D.31972.410A1A39@stuart.lexacorp.com.pg> I beg to disagree. Just because some list members occassionally slip up and post to Access instead of Tech or SQL, is no reason to combine them. I use a comprehensive set of Autofilters to keep all of my messages organised. I really don't want to have to manual move Access, SQL, VB and miscellaneous Tech discussions into different folders. -- Stuart On 26 May 2009 at 20:16, Max Wanadoo wrote: > Totally Agree - here is one vote. All based on Access of course. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: 26 May 2009 19:53 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Thunderbird junk filter > > > Have the rules as far off topic postings been relaxed? I'm asking, not > complaining. > > It seems to me that with the so many of us using a variety of tools, and > the number of off topic posts that appear here anyway, everyone would be > better served with one combined list. > > I think the DBA board should consider combining the VB, SQL, and Tech lists > into AccessD. > > Jim. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, May 26, 2009 1:35 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Thunderbird junk filter > > Does anyone know how to adjust the Thunderbird junk filter? I am getting a > fair amount of junk, > which I click the junk for but it just continues to deposit it into my in > box. Things with obvious > clues like my own email address in the from even though what you see in the > from is not my email > address (spoofed address). > > It seems like this would be an instant "send to junk". > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue May 26 15:48:03 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 26 May 2009 13:48:03 -0700 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: Hope you are feeling better!... which was worse; the loss of mobility or no access to your friends on the List? ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue May 26 15:47:30 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 May 2009 13:47:30 -0700 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: Shoulder aches and it won't be fully healed for a week or so (assuming I don't mess it up again). Aside from that, I'm just avoiding arm wrestling. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 1:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I'm Back Oh. Nothing humerus about that! Recovering OK? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 12:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I'm Back The lower end is where your funny bone lives. I broke the shoulder part. Total clumsiness on my part. Light went out over my desk and I got up in the dark to turn another on. I stepped on a small heater I couldn't see and had forgotten about and took a header into the wall and onto the floor. Had 4 stitches above my left eye and a fractured shoulder as a momento. I'm going to keep a flashlight next to my desk from now on!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, May 26, 2009 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I'm Back Humerus - so named because that's your funny bone? Dang - sounds painful. How'd you do it - or is that too embarrassing? Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 May 26 15:48:01 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 May 2009 13:48:01 -0700 Subject: [AccessD] I'm Back In-Reply-To: <4A1C53C0.7000506@colbyconsulting.com> References: <4A1C53C0.7000506@colbyconsulting.com> Message-ID: Bbllrrrpppttt!!! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, May 26, 2009 1:41 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I'm Back LOL, of course we missed you. You were missing? ;) John W. Colby www.ColbyConsulting.com Charlotte Foust wrote: > Did you miss me? Aside from the Bermuda stalker, that is! I > fractured me left humerus and the greater tuberosity 5 weeks ago and > this is the first day back at work. Couldn't figure out how to > connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! > > Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Tue May 26 15:49:57 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 26 May 2009 13:49:57 -0700 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: Hmmn ... I think the loss of mobility, but the list was a close second! Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Tuesday, May 26, 2009 1:48 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] I'm Back Hope you are feeling better!... which was worse; the loss of mobility or no access to your friends on the List? ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, May 26, 2009 11:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 May 26 16:04:28 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 26 May 2009 17:04:28 -0400 Subject: [AccessD] Here's a weird one Message-ID: <4A1C595C.3050803@colbyconsulting.com> On my server (suddenly) opening a module in Access triggers VMWare Standalone to try and install. Any module, any container. -- John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue May 26 16:04:35 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 May 2009 07:04:35 +1000 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E74127F@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com>, <5DF4A18F17A148FE9655513E967F8637@danwaters>, <0B2BF8524B73A248A2F1B81BA751ED3C066E74127F@houex1.kindermorgan.com> Message-ID: <4A1C5963.1463.411DF9A0@stuart.lexacorp.com.pg> Three simple rules: *Anything* that is defined locally such as a variable or function which uses a local variable needs to be embedded using: " & myVar & " . (Think about it - only the current procedure knows about AP14, the Jet engine doesn't know what it is.) If the item is a string, you also need a single quote before and after that: ' " & ... " ' If it is a string which can contain single quotes, you need to "escape" them by doubling them: ' " & Replace(strMyString," ' "," ' ' ") & " ' (extra spaces added above for clarity) -- Stuart On 26 May 2009 at 11:17, Kaup, Chester wrote: > That got it. Thanks. Darn quotes get me a lot. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Tuesday, May 26, 2009 11:10 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Too few parameters expected 1 > > Hi Chester, > > Perhaps this confirms the syntax issue. > > '" & API14 & "' is the same as '42415017530000' > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, May 26, 2009 11:00 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Too few parameters expected 1 > > Forgot to add if I replace API12 with '42415017530000' the code works fine. > API14 also shows to have a value in it. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, May 26, 2009 10:53 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Too few parameters expected 1 > > Chester: > > When I get that error message, I copy the SQL into the SQL view of a query > and then go to the design view. Usually I can see the problem right away > that way. > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester > Sent: Tuesday, May 26, 2009 8:41 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Too few parameters expected 1 > > Here is the code the generates the error. The SQL statement does not seem to > be reading the variable API14. It is dimmed as text. > > Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") > Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") > RS2.MoveFirst > API14 = RS2.Fields(0) > > strSql = "SELECT dbo_DSS_StatusChanges.PID, > dbo_DSS_CompletionMaster.Well_Number, > DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, > Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM > dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON > dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE > (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), > Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY > dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number > ORDER BY dbo_DSS_CompletionMaster.Well_Number;" > > > Set RS3 = MyDb.OpenRecordset(strSql) > > > Chester Kaup > Engineering Technician > Kinder Morgan CO2 Company, LLP > Office (432) 688-3797 > FAX (432) 688-3799 > > ? > No trees were killed in the sending of this message. However a large number > of electrons were terribly inconvenienced. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Tue May 26 16:22:31 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 May 2009 07:22:31 +1000 Subject: [AccessD] Here's a weird one In-Reply-To: <4A1C595C.3050803@colbyconsulting.com> References: <4A1C595C.3050803@colbyconsulting.com> Message-ID: <4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> That IS weird. Sooner you drop VMWare and go over to VirtualBox the better :-) On 26 May 2009 at 17:04, jwcolby wrote: > On my server (suddenly) opening a module in Access triggers VMWare Standalone to try and install. > Any module, any container. > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Tue May 26 16:23:03 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Tue, 26 May 2009 22:23:03 +0100 Subject: [AccessD] Thunderbird junk filter In-Reply-To: <4A1C544D.31972.410A1A39@stuart.lexacorp.com.pg> References: <4A1C283B.9050003@colbyconsulting.com>, , <4a1c402a.0407560a.63f4.3877@mx.google.com> <4A1C544D.31972.410A1A39@stuart.lexacorp.com.pg> Message-ID: <4a1c5dbb.1c05d00a.7232.ffffdcd3@mx.google.com> Good point.. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: 26 May 2009 21:43 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Thunderbird junk filter I beg to disagree. Just because some list members occassionally slip up and post to Access instead of Tech or SQL, is no reason to combine them. I use a comprehensive set of Autofilters to keep all of my messages organised. I really don't want to have to manual move Access, SQL, VB and miscellaneous Tech discussions into different folders. -- Stuart On 26 May 2009 at 20:16, Max Wanadoo wrote: > Totally Agree - here is one vote. All based on Access of course. > > Max > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman > Sent: 26 May 2009 19:53 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Thunderbird junk filter > > > Have the rules as far off topic postings been relaxed? I'm asking, not > complaining. > > It seems to me that with the so many of us using a variety of tools, and > the number of off topic posts that appear here anyway, everyone would be > better served with one combined list. > > I think the DBA board should consider combining the VB, SQL, and Tech lists > into AccessD. > > Jim. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, May 26, 2009 1:35 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Thunderbird junk filter > > Does anyone know how to adjust the Thunderbird junk filter? I am getting a > fair amount of junk, > which I click the junk for but it just continues to deposit it into my in > box. Things with obvious > clues like my own email address in the from even though what you see in the > from is not my email > address (spoofed address). > > It seems like this would be an instant "send to junk". > > -- > John W. Colby > www.ColbyConsulting.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue May 26 16:45:41 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 26 May 2009 17:45:41 -0400 Subject: [AccessD] Here's a weird one In-Reply-To: <4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> References: <4A1C595C.3050803@colbyconsulting.com> <4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> Message-ID: <4A1C6305.7080004@colbyconsulting.com> ROTFL. John W. Colby www.ColbyConsulting.com Stuart McLachlan wrote: > That IS weird. > > Sooner you drop VMWare and go over to VirtualBox the better :-) > > > On 26 May 2009 at 17:04, jwcolby wrote: > >> On my server (suddenly) opening a module in Access triggers VMWare Standalone to try and install. >> Any module, any container. >> >> -- >> John W. Colby >> www.ColbyConsulting.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > From garykjos at gmail.com Tue May 26 19:28:09 2009 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 26 May 2009 19:28:09 -0500 Subject: [AccessD] Thunderbird junk filter In-Reply-To: References: <4A1C283B.9050003@colbyconsulting.com> Message-ID: No but list traffic has been way down of late so we will sometimes let things go as they often die out as fast as or faster than we can convince people to end a thread anyway. Occasional off topics are tolerated by the moderators to varying degrees depending on the moderator. And since we are all volunteer moderators who have actual work to do, sometimes the thread has started, bloomed and ended before any of us speaks up. I beleive we have seperate lists so people who DON'T CARE about certain subject matter need not be subjected to it. Everyone is welcome to subscribe to all the public lists. Not like it's a hugely different crowd on the other lists for the most part. I subscribe to most of the lists even though I don't read every single thread on every list. As Stuart pointed out having the lists separate also allows members to use e-mail rules to move incoming messages to folders. So at this point, while I wouldn't say it would never happen, I wouldn't bet on it happening soon. The decision would be made by the Database Advisors Board of Directors who are elected by the Database Advisors Shareholders. You can see who is in those groups on our website http://www.databaseadvisors.com/ GK On Tue, May 26, 2009 at 1:52 PM, Jim Dettman wrote: > > ?Have the rules as far off topic postings been relaxed? ?I'm asking, not > complaining. > > ?It seems to me that with the so many of us using a variety of tools, and > the number of off topic posts that appear here anyway, everyone would be > better served with one combined list. > > ?I think the DBA board should consider combining the VB, SQL, and Tech lists > into AccessD. > > Jim. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby > Sent: Tuesday, May 26, 2009 1:35 PM > To: Access Developers discussion and problem solving > Subject: [AccessD] Thunderbird junk filter > > Does anyone know how to adjust the Thunderbird junk filter? ?I am getting a > fair amount of junk, > which I click the junk for but it just continues to deposit it into my in > box. ?Things with obvious > clues like my own email address in the from even though what you see in the > from is not my email > address (spoofed address). > > It seems like this would be an instant "send to junk". > > -- > John W. Colby > www.ColbyConsulting.com > -- -- Gary Kjos garykjos at gmail.com From wdhindman at dejpolsystems.com Wed May 27 00:58:39 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 01:58:39 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com><4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> <4A1C6305.7080004@colbyconsulting.com> Message-ID: <67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> Group ...I'm running the following code within a private sub in my startup form: Dim chkref As Reference For Each chkref In Application.References strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") & " ref: " & chkref.Name _ & " " & chkref.Major & "." & chkref.Minor & " " & chkref.FullPath & vbNewLine Next ...works like a charm ...except that the log reads as follows: OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? William From max.wanadoo at gmail.com Wed May 27 01:41:58 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Wed, 27 May 2009 07:41:58 +0100 Subject: [AccessD] Access Check References In-Reply-To: <67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> References: <4A1C595C.3050803@colbyconsulting.com><4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> <4A1C6305.7080004@colbyconsulting.com> <67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> Message-ID: <4a1ce0bb.1c07d00a.2895.773f@mx.google.com> Hello my friend, William. I would put a break point in. Goto Immediate Window and type in each part of the properties you reference to see which property returns which value. ? Chkref.name ? Chkref.major ? Chkref.minor ? Chkref.fullpath Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: 27 May 2009 06:59 To: Access Developers discussion and problem solving Subject: [AccessD] Access Check References Group ...I'm running the following code within a private sub in my startup form: Dim chkref As Reference For Each chkref In Application.References strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") & " ref: " & chkref.Name _ & " " & chkref.Major & "." & chkref.Minor & " " & chkref.FullPath & vbNewLine Next ...works like a charm ...except that the log reads as follows: OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? William -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed May 27 02:07:33 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 03:07:33 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com><4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> <4A1C6305.7080004@colbyconsulting.com><67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> <4a1ce0bb.1c07d00a.2895.773f@mx.google.com> Message-ID: <6B5866BCD62040B4A4FBF5C8D2F71EF5@jislaptopdev> Max ...its the major and minor that are throwing me for a loop ...name and path appear ok ...I even tried deleting the dao reference, compiling, closing, opening, resetting it, and then compiling once more ...no change ...wtfo? ...first time I've tried to check references and log them when starting ...did not expect this result ...didn't need it either. William -------------------------------------------------- From: "Max Wanadoo" Sent: Wednesday, May 27, 2009 2:41 AM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access Check References > Hello my friend, William. > > I would put a break point in. Goto Immediate Window and type in each part > of the properties you reference to see which property returns which value. > > ? Chkref.name > ? Chkref.major > ? Chkref.minor > ? Chkref.fullpath > > > Max > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: 27 May 2009 06:59 > To: Access Developers discussion and problem solving > Subject: [AccessD] Access Check References > > Group > > ...I'm running the following code within a private sub in my startup form: > > Dim chkref As Reference > > For Each chkref In Application.References > strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") > & " ref: " & chkref.Name _ > & " " & chkref.Major & "." & chkref.Minor & " " & > chkref.FullPath & vbNewLine > Next > > ...works like a charm ...except that the log reads as follows: > > OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > Shared\VBA\VBA6\VBE6.DLL > OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB > OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb > OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll > > ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? > > William > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed May 27 02:29:28 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 May 2009 17:29:28 +1000 Subject: [AccessD] Access Check References In-Reply-To: <67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> References: <4A1C595C.3050803@colbyconsulting.com>, <67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> Message-ID: <4A1CEBD8.18423.57D9CC@stuart.lexacorp.com.pg> Looks to me like: Name Major Minor FullPath VBA 4 0 C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL Access 9 0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB DAO 5 0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll etc. What's the problem? On 27 May 2009 at 1:58, William Hindman wrote: > Group > > ...I'm running the following code within a private sub in my startup form: > > Dim chkref As Reference > > For Each chkref In Application.References > strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") > & " ref: " & chkref.Name _ > & " " & chkref.Major & "." & chkref.Minor & " " & > chkref.FullPath & vbNewLine > Next > > ...works like a charm ...except that the log reads as follows: > > OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > Shared\VBA\VBA6\VBE6.DLL > OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB > OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb > OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll > > ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? > > William > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Wed May 27 02:30:27 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 May 2009 09:30:27 +0200 Subject: [AccessD] Access Check References Message-ID: Hi William Go to Tools, References and note that the top two can't me unmarked - native to ("built in") Access, can't be removed. The OLE reference may often be deselected. The remaining two, DAO, ADODB, you probably use in your code. If you don't know, unmark each and compile and you will see. You may expand your code a bit: For Each chkref In Application.References strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference ", "OK ") & chkref.BuiltIn & " ref: " & chkref.Name _ & " " & chkref.Major & "." & chkref.Minor & " " & chkref.FullPath & vbNewLine Next Note too, that this only lists the references, it doesn't actually verify them. How to do this has been discussed several times - I can find links should you wish that. /gustav >>> wdhindman at dejpolsystems.com 27-05-2009 07:58 >>> Group ...I'm running the following code within a private sub in my startup form: Dim chkref As Reference For Each chkref In Application.References strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") & " ref: " & chkref.Name _ & " " & chkref.Major & "." & chkref.Minor & " " & chkref.FullPath & vbNewLine Next ...works like a charm ...except that the log reads as follows: OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft Shared\VBA\VBA6\VBE6.DLL OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? William From wdhindman at dejpolsystems.com Wed May 27 04:30:34 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 05:30:34 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com>, <67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> <4A1CEBD8.18423.57D9CC@stuart.lexacorp.com.pg> Message-ID: <4D8573C2882C4E2CACD3F62C49DF7EDC@jislaptopdev> ...duh ...good question ..."I" think its as follows: VBA 4.0 ...should be VBA 6.0 Access 9.0 ...should be access 11.0 DAO 5.0 ...should be DAO 3.6 ...but maybe NOT ...I've never actually looked at the references this way before. ...so tell me, what is correct and where can I find any "reference" to those reference numbers, eh ...I'm more than a bit confused, apparently a result of getting old ...or so I'm told by the kids. William -------------------------------------------------- From: "Stuart McLachlan" Sent: Wednesday, May 27, 2009 3:29 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Access Check References > Looks to me like: > > Name Major Minor FullPath > VBA 4 0 C:\Program Files\Common Files\Microsoft > Shared\VBA\VBA6\VBE6.DLL > Access 9 0 C:\Program Files\Microsoft > Office\OFFICE11\MSACC.OLB > DAO 5 0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > etc. > > What's the problem? > > > On 27 May 2009 at 1:58, William Hindman wrote: > >> Group >> >> ...I'm running the following code within a private sub in my startup >> form: >> >> Dim chkref As Reference >> >> For Each chkref In Application.References >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", >> "OK") >> & " ref: " & chkref.Name _ >> & " " & chkref.Major & "." & chkref.Minor & " " & >> chkref.FullPath & vbNewLine >> Next >> >> ...works like a charm ...except that the log reads as follows: >> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >> Shared\VBA\VBA6\VBE6.DLL >> OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb >> OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll >> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >> >> William >> >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed May 27 04:41:26 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 05:41:26 -0400 Subject: [AccessD] Access Check References References: Message-ID: Gustav ...I understand the references from the standpoint of using them from Tools/References toolbar as I've normally used them before ...this is the first time I've used vba code to check them. ...as I noted in my reply to Stu, its the major and minor numbers that are confusing to me ...ie, Access 9.0 "should" be Access 11.0 ...or maybe not. ...any insight/links/suggestions would be appreciated ...I'm using the current slowdown to rebuild my template app from scratch, trying to correct a lot of accumulated garbage from the past ten years with some highly distilled "best practices" ...anything that would verify the references at startup would appear to fit that mold ...tks. William -------------------------------------------------- From: "Gustav Brock" Sent: Wednesday, May 27, 2009 3:30 AM To: Subject: Re: [AccessD] Access Check References > Hi William > > Go to Tools, References and note that the top two can't me unmarked - > native to ("built in") Access, can't be removed. > The OLE reference may often be deselected. > The remaining two, DAO, ADODB, you probably use in your code. If you don't > know, unmark each and compile and you will see. > > You may expand your code a bit: > > For Each chkref In Application.References > strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference ", "OK > ") & chkref.BuiltIn & " ref: " & chkref.Name _ > & " " & chkref.Major & "." & chkref.Minor & " " & > chkref.FullPath & vbNewLine > Next > > Note too, that this only lists the references, it doesn't actually verify > them. How to do this has been discussed several times - I can find links > should you wish that. > > /gustav > > >>>> wdhindman at dejpolsystems.com 27-05-2009 07:58 >>> > Group > > ...I'm running the following code within a private sub in my startup form: > > Dim chkref As Reference > > For Each chkref In Application.References > strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") > & " ref: " & chkref.Name _ > & " " & chkref.Major & "." & chkref.Minor & " " & > chkref.FullPath & vbNewLine > Next > > ...works like a charm ...except that the log reads as follows: > > OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > Shared\VBA\VBA6\VBE6.DLL > OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB > OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb > OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll > > ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? > > William > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed May 27 05:06:39 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 May 2009 12:06:39 +0200 Subject: [AccessD] Access Check References Message-ID: Hi William Here it is: http://databaseadvisors.com/pipermail/accessd/2003-July/011034.html /gustav >>> wdhindman at dejpolsystems.com 27-05-2009 11:41 >>> Gustav ...I understand the references from the standpoint of using them from Tools/References toolbar as I've normally used them before ...this is the first time I've used vba code to check them. ...as I noted in my reply to Stu, its the major and minor numbers that are confusing to me ...ie, Access 9.0 "should" be Access 11.0 ...or maybe not. ...any insight/links/suggestions would be appreciated ...I'm using the current slowdown to rebuild my template app from scratch, trying to correct a lot of accumulated garbage from the past ten years with some highly distilled "best practices" ...anything that would verify the references at startup would appear to fit that mold ...tks. William -------------------------------------------------- From: "Gustav Brock" Sent: Wednesday, May 27, 2009 3:30 AM To: Subject: Re: [AccessD] Access Check References > Hi William > > Go to Tools, References and note that the top two can't me unmarked - > native to ("built in") Access, can't be removed. > The OLE reference may often be deselected. > The remaining two, DAO, ADODB, you probably use in your code. If you don't > know, unmark each and compile and you will see. > > You may expand your code a bit: > > For Each chkref In Application.References > strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference ", "OK > ") & chkref.BuiltIn & " ref: " & chkref.Name _ > & " " & chkref.Major & "." & chkref.Minor & " " & > chkref.FullPath & vbNewLine > Next > > Note too, that this only lists the references, it doesn't actually verify > them. How to do this has been discussed several times - I can find links > should you wish that. > > /gustav > > >>>> wdhindman at dejpolsystems.com 27-05-2009 07:58 >>> > Group > > ...I'm running the following code within a private sub in my startup form: > > Dim chkref As Reference > > For Each chkref In Application.References > strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", "OK") > & " ref: " & chkref.Name _ > & " " & chkref.Major & "." & chkref.Minor & " " & > chkref.FullPath & vbNewLine > Next > > ...works like a charm ...except that the log reads as follows: > > OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > Shared\VBA\VBA6\VBE6.DLL > OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB > OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb > OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll > > ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? > > William From stuart at lexacorp.com.pg Wed May 27 05:49:17 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 May 2009 20:49:17 +1000 Subject: [AccessD] Access Check References In-Reply-To: <4D8573C2882C4E2CACD3F62C49DF7EDC@jislaptopdev> References: <4A1C595C.3050803@colbyconsulting.com>, <4D8573C2882C4E2CACD3F62C49DF7EDC@jislaptopdev> Message-ID: <4A1D1AAD.22950.10EC9F8@stuart.lexacorp.com.pg> Good question! I get the same strange version numbers and you are correct, they are not the right Versions according to everything I can find. I've no idea where they come from and I can't find anything on the web to explain it. WTF? MS DLL Hell strikes again? On 27 May 2009 at 5:30, William Hindman wrote: > ...duh ...good question ..."I" think its as follows: > > VBA 4.0 ...should be VBA 6.0 > Access 9.0 ...should be access 11.0 > DAO 5.0 ...should be DAO 3.6 > > ...but maybe NOT ...I've never actually looked at the references this way > before. > ...so tell me, what is correct and where can I find any "reference" to > those reference numbers, eh > ...I'm more than a bit confused, apparently a result of getting old ...or so > I'm told by the kids. > > William > > -------------------------------------------------- > From: "Stuart McLachlan" > Sent: Wednesday, May 27, 2009 3:29 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Access Check References > > > Looks to me like: > > > > Name Major Minor FullPath > > VBA 4 0 C:\Program Files\Common Files\Microsoft > > Shared\VBA\VBA6\VBE6.DLL > > Access 9 0 C:\Program Files\Microsoft > > Office\OFFICE11\MSACC.OLB > > DAO 5 0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > > etc. > > > > What's the problem? > > > > > > On 27 May 2009 at 1:58, William Hindman wrote: > > > >> Group > >> > >> ...I'm running the following code within a private sub in my startup > >> form: > >> > >> Dim chkref As Reference > >> > >> For Each chkref In Application.References > >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", > >> "OK") > >> & " ref: " & chkref.Name _ > >> & " " & chkref.Major & "." & chkref.Minor & " " & > >> chkref.FullPath & vbNewLine > >> Next > >> > >> ...works like a charm ...except that the log reads as follows: > >> > >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > >> Shared\VBA\VBA6\VBE6.DLL > >> OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB > >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb > >> OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll > >> > >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? > >> From wdhindman at dejpolsystems.com Wed May 27 06:24:37 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 07:24:37 -0400 Subject: [AccessD] Access Check References References: Message-ID: ...will any of this work in a runtime mde install? William -------------------------------------------------- From: "Gustav Brock" Sent: Wednesday, May 27, 2009 6:06 AM To: Subject: Re: [AccessD] Access Check References > Hi William > > Here it is: > > http://databaseadvisors.com/pipermail/accessd/2003-July/011034.html > > /gustav > > >>>> wdhindman at dejpolsystems.com 27-05-2009 11:41 >>> > Gustav > > ...I understand the references from the standpoint of using them from > Tools/References toolbar as I've normally used them before ...this is the > first time I've used vba code to check them. > > ...as I noted in my reply to Stu, its the major and minor numbers that are > confusing to me ...ie, Access 9.0 "should" be Access 11.0 ...or maybe not. > > ...any insight/links/suggestions would be appreciated ...I'm using the > current slowdown to rebuild my template app from scratch, trying to > correct > a lot of accumulated garbage from the past ten years with some highly > distilled "best practices" ...anything that would verify the references at > startup would appear to fit that mold ...tks. > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Wednesday, May 27, 2009 3:30 AM > To: > Subject: Re: [AccessD] Access Check References > >> Hi William >> >> Go to Tools, References and note that the top two can't me unmarked - >> native to ("built in") Access, can't be removed. >> The OLE reference may often be deselected. >> The remaining two, DAO, ADODB, you probably use in your code. If you >> don't >> know, unmark each and compile and you will see. >> >> You may expand your code a bit: >> >> For Each chkref In Application.References >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference ", "OK >> ") & chkref.BuiltIn & " ref: " & chkref.Name _ >> & " " & chkref.Major & "." & chkref.Minor & " " & >> chkref.FullPath & vbNewLine >> Next >> >> Note too, that this only lists the references, it doesn't actually verify >> them. How to do this has been discussed several times - I can find links >> should you wish that. >> >> /gustav >> >> >>>>> wdhindman at dejpolsystems.com 27-05-2009 07:58 >>> >> Group >> >> ...I'm running the following code within a private sub in my startup >> form: >> >> Dim chkref As Reference >> >> For Each chkref In Application.References >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", >> "OK") >> & " ref: " & chkref.Name _ >> & " " & chkref.Major & "." & chkref.Minor & " " & >> chkref.FullPath & vbNewLine >> Next >> >> ...works like a charm ...except that the log reads as follows: >> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >> Shared\VBA\VBA6\VBE6.DLL >> OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb >> OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll >> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >> >> William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed May 27 06:29:36 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 07:29:36 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com>, <4D8573C2882C4E2CACD3F62C49DF7EDC@jislaptopdev> <4A1D1AAD.22950.10EC9F8@stuart.lexacorp.com.pg> Message-ID: <26F48ED6167B4FF4A16351C9397550AF@jislaptopdev> ...I'm heading off to get some sleep but I 'thimk" that I have to somehow ask it for the max version, not the base which I think is what we're seeing ...but then again I need sleep badly ...when I was 25 I could work 72 hrs w/o a nap and still be effective ...at 62 my body rebels after less than 24 w/o some sleep ...and its just plain old shutting down as I type :( William -------------------------------------------------- From: "Stuart McLachlan" Sent: Wednesday, May 27, 2009 6:49 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Access Check References > Good question! > > I get the same strange version numbers and you are correct, they are not > the right Versions > according to everything I can find. I've no idea where they come from and > I can't find > anything on the web to explain it. > > WTF? MS DLL Hell strikes again? > > > On 27 May 2009 at 5:30, William Hindman wrote: > >> ...duh ...good question ..."I" think its as follows: >> >> VBA 4.0 ...should be VBA 6.0 >> Access 9.0 ...should be access 11.0 >> DAO 5.0 ...should be DAO 3.6 >> >> ...but maybe NOT ...I've never actually looked at the references this way >> before. >> ...so tell me, what is correct and where can I find any "reference" to >> those reference numbers, eh >> ...I'm more than a bit confused, apparently a result of getting old ...or >> so >> I'm told by the kids. >> >> William >> >> -------------------------------------------------- >> From: "Stuart McLachlan" >> Sent: Wednesday, May 27, 2009 3:29 AM >> To: "Access Developers discussion and problem solving" >> >> Subject: Re: [AccessD] Access Check References >> >> > Looks to me like: >> > >> > Name Major Minor FullPath >> > VBA 4 0 C:\Program Files\Common Files\Microsoft >> > Shared\VBA\VBA6\VBE6.DLL >> > Access 9 0 C:\Program Files\Microsoft >> > Office\OFFICE11\MSACC.OLB >> > DAO 5 0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> > etc. >> > >> > What's the problem? >> > >> > >> > On 27 May 2009 at 1:58, William Hindman wrote: >> > >> >> Group >> >> >> >> ...I'm running the following code within a private sub in my startup >> >> form: >> >> >> >> Dim chkref As Reference >> >> >> >> For Each chkref In Application.References >> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", >> >> "OK") >> >> & " ref: " & chkref.Name _ >> >> & " " & chkref.Major & "." & chkref.Minor & " " & >> >> chkref.FullPath & vbNewLine >> >> Next >> >> >> >> ...works like a charm ...except that the log reads as follows: >> >> >> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >> >> Shared\VBA\VBA6\VBE6.DLL >> >> OK ref: Access 9.0 C:\Program Files\Microsoft >> >> Office\OFFICE11\MSACC.OLB >> >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb >> >> OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll >> >> >> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed May 27 06:58:31 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 May 2009 13:58:31 +0200 Subject: [AccessD] Access Check References Message-ID: Hi William I guess not as is, but if you modify/simplify it to not remove and add back a reference - so a recompile is not needed - it should. /gustav >>> wdhindman at dejpolsystems.com 27-05-2009 13:24 >>> ...will any of this work in a runtime mde install? William -------------------------------------------------- From: "Gustav Brock" Sent: Wednesday, May 27, 2009 6:06 AM To: Subject: Re: [AccessD] Access Check References > Hi William > > Here it is: > > http://databaseadvisors.com/pipermail/accessd/2003-July/011034.html > > /gustav > > >>>> wdhindman at dejpolsystems.com 27-05-2009 11:41 >>> > Gustav > > ...I understand the references from the standpoint of using them from > Tools/References toolbar as I've normally used them before ...this is the > first time I've used vba code to check them. > > ...as I noted in my reply to Stu, its the major and minor numbers that are > confusing to me ...ie, Access 9.0 "should" be Access 11.0 ...or maybe not. > > ...any insight/links/suggestions would be appreciated ...I'm using the > current slowdown to rebuild my template app from scratch, trying to > correct > a lot of accumulated garbage from the past ten years with some highly > distilled "best practices" ...anything that would verify the references at > startup would appear to fit that mold ...tks. > > William > > -------------------------------------------------- > From: "Gustav Brock" > Sent: Wednesday, May 27, 2009 3:30 AM > To: > Subject: Re: [AccessD] Access Check References > >> Hi William >> >> Go to Tools, References and note that the top two can't me unmarked - >> native to ("built in") Access, can't be removed. >> The OLE reference may often be deselected. >> The remaining two, DAO, ADODB, you probably use in your code. If you >> don't >> know, unmark each and compile and you will see. >> >> You may expand your code a bit: >> >> For Each chkref In Application.References >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference ", "OK >> ") & chkref.BuiltIn & " ref: " & chkref.Name _ >> & " " & chkref.Major & "." & chkref.Minor & " " & >> chkref.FullPath & vbNewLine >> Next >> >> Note too, that this only lists the references, it doesn't actually verify >> them. How to do this has been discussed several times - I can find links >> should you wish that. >> >> /gustav >> >> >>>>> wdhindman at dejpolsystems.com 27-05-2009 07:58 >>> >> Group >> >> ...I'm running the following code within a private sub in my startup >> form: >> >> Dim chkref As Reference >> >> For Each chkref In Application.References >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", >> "OK") >> & " ref: " & chkref.Name _ >> & " " & chkref.Major & "." & chkref.Minor & " " & >> chkref.FullPath & vbNewLine >> Next >> >> ...works like a charm ...except that the log reads as follows: >> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >> Shared\VBA\VBA6\VBE6.DLL >> OK ref: Access 9.0 C:\Program Files\Microsoft Office\OFFICE11\MSACC.OLB >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb >> OK ref: ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll >> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >> >> William From wdhindman at dejpolsystems.com Wed May 27 07:09:48 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 08:09:48 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com>, <4D8573C2882C4E2CACD3F62C49DF7EDC@jislaptopdev><4A1D1AAD.22950.10EC9F8@stuart.lexacorp.com.pg> <26F48ED6167B4FF4A16351C9397550AF@jislaptopdev> Message-ID: ..ok ...it looks like those ARE the right major/minor numbers after all ...why, I've not a clue :( http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-reference-description.aspx ...if one of you gurus care to shed some light on this it would be much appreciated William -------------------------------------------------- From: "William Hindman" Sent: Wednesday, May 27, 2009 7:29 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Access Check References > ...I'm heading off to get some sleep but I 'thimk" that I have to somehow > ask it for the max version, not the base which I think is what we're > seeing > ...but then again I need sleep badly ...when I was 25 I could work 72 hrs > w/o a nap and still be effective ...at 62 my body rebels after less than > 24 > w/o some sleep ...and its just plain old shutting down as I type :( > > William > > -------------------------------------------------- > From: "Stuart McLachlan" > Sent: Wednesday, May 27, 2009 6:49 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Access Check References > >> Good question! >> >> I get the same strange version numbers and you are correct, they are not >> the right Versions >> according to everything I can find. I've no idea where they come from >> and >> I can't find >> anything on the web to explain it. >> >> WTF? MS DLL Hell strikes again? >> >> >> On 27 May 2009 at 5:30, William Hindman wrote: >> >>> ...duh ...good question ..."I" think its as follows: >>> >>> VBA 4.0 ...should be VBA 6.0 >>> Access 9.0 ...should be access 11.0 >>> DAO 5.0 ...should be DAO 3.6 >>> >>> ...but maybe NOT ...I've never actually looked at the references this >>> way >>> before. >>> ...so tell me, what is correct and where can I find any "reference" to >>> those reference numbers, eh >>> ...I'm more than a bit confused, apparently a result of getting old >>> ...or >>> so >>> I'm told by the kids. >>> >>> William >>> >>> -------------------------------------------------- >>> From: "Stuart McLachlan" >>> Sent: Wednesday, May 27, 2009 3:29 AM >>> To: "Access Developers discussion and problem solving" >>> >>> Subject: Re: [AccessD] Access Check References >>> >>> > Looks to me like: >>> > >>> > Name Major Minor FullPath >>> > VBA 4 0 C:\Program Files\Common Files\Microsoft >>> > Shared\VBA\VBA6\VBE6.DLL >>> > Access 9 0 C:\Program Files\Microsoft >>> > Office\OFFICE11\MSACC.OLB >>> > DAO 5 0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >>> > etc. >>> > >>> > What's the problem? >>> > >>> > >>> > On 27 May 2009 at 1:58, William Hindman wrote: >>> > >>> >> Group >>> >> >>> >> ...I'm running the following code within a private sub in my startup >>> >> form: >>> >> >>> >> Dim chkref As Reference >>> >> >>> >> For Each chkref In Application.References >>> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", >>> >> "OK") >>> >> & " ref: " & chkref.Name _ >>> >> & " " & chkref.Major & "." & chkref.Minor & " " & >>> >> chkref.FullPath & vbNewLine >>> >> Next >>> >> >>> >> ...works like a charm ...except that the log reads as follows: >>> >> >>> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >>> >> Shared\VBA\VBA6\VBE6.DLL >>> >> OK ref: Access 9.0 C:\Program Files\Microsoft >>> >> Office\OFFICE11\MSACC.OLB >>> >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >>> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb >>> >> OK ref: ADODB 2.8 C:\Program Files\Common >>> >> Files\System\ado\msado15.dll >>> >> >>> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 Wed May 27 07:36:37 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 27 May 2009 22:36:37 +1000 Subject: [AccessD] Access Check References In-Reply-To: References: <4A1C595C.3050803@colbyconsulting.com>, Message-ID: <4A1D33D5.20706.1710C95@stuart.lexacorp.com.pg> I found that page earlier when I was trying o find an answer. It does not say they are the right version Numbers, it just says that that is what is displayed. They are clearly NOT the right version numbers. If it is Microsoft Access 11.0 Object Library, why does it show Access 9.0? On 27 May 2009 at 8:09, William Hindman wrote: > ..ok ...it looks like those ARE the right major/minor numbers after all > ...why, I've not a clue :( > > http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-reference-description.aspx > > ...if one of you gurus care to shed some light on this it would be much > appreciated > > William > > -------------------------------------------------- > From: "William Hindman" > Sent: Wednesday, May 27, 2009 7:29 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Access Check References > > > ...I'm heading off to get some sleep but I 'thimk" that I have to somehow > > ask it for the max version, not the base which I think is what we're > > seeing > > ...but then again I need sleep badly ...when I was 25 I could work 72 hrs > > w/o a nap and still be effective ...at 62 my body rebels after less than > > 24 > > w/o some sleep ...and its just plain old shutting down as I type :( > > > > William > > > > -------------------------------------------------- > > From: "Stuart McLachlan" > > Sent: Wednesday, May 27, 2009 6:49 AM > > To: "Access Developers discussion and problem solving" > > > > Subject: Re: [AccessD] Access Check References > > > >> Good question! > >> > >> I get the same strange version numbers and you are correct, they are not > >> the right Versions > >> according to everything I can find. I've no idea where they come from > >> and > >> I can't find > >> anything on the web to explain it. > >> > >> WTF? MS DLL Hell strikes again? > >> > >> > >> On 27 May 2009 at 5:30, William Hindman wrote: > >> > >>> ...duh ...good question ..."I" think its as follows: > >>> > >>> VBA 4.0 ...should be VBA 6.0 > >>> Access 9.0 ...should be access 11.0 > >>> DAO 5.0 ...should be DAO 3.6 > >>> > >>> ...but maybe NOT ...I've never actually looked at the references this > >>> way > >>> before. > >>> ...so tell me, what is correct and where can I find any "reference" to > >>> those reference numbers, eh > >>> ...I'm more than a bit confused, apparently a result of getting old > >>> ...or > >>> so > >>> I'm told by the kids. > >>> > >>> William > >>> > >>> -------------------------------------------------- > >>> From: "Stuart McLachlan" > >>> Sent: Wednesday, May 27, 2009 3:29 AM > >>> To: "Access Developers discussion and problem solving" > >>> > >>> Subject: Re: [AccessD] Access Check References > >>> > >>> > Looks to me like: > >>> > > >>> > Name Major Minor FullPath > >>> > VBA 4 0 C:\Program Files\Common Files\Microsoft > >>> > Shared\VBA\VBA6\VBE6.DLL > >>> > Access 9 0 C:\Program Files\Microsoft > >>> > Office\OFFICE11\MSACC.OLB > >>> > DAO 5 0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > >>> > etc. > >>> > > >>> > What's the problem? > >>> > > >>> > > >>> > On 27 May 2009 at 1:58, William Hindman wrote: > >>> > > >>> >> Group > >>> >> > >>> >> ...I'm running the following code within a private sub in my startup > >>> >> form: > >>> >> > >>> >> Dim chkref As Reference > >>> >> > >>> >> For Each chkref In Application.References > >>> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken Reference", > >>> >> "OK") > >>> >> & " ref: " & chkref.Name _ > >>> >> & " " & chkref.Major & "." & chkref.Minor & " " & > >>> >> chkref.FullPath & vbNewLine > >>> >> Next > >>> >> > >>> >> ...works like a charm ...except that the log reads as follows: > >>> >> > >>> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > >>> >> Shared\VBA\VBA6\VBE6.DLL > >>> >> OK ref: Access 9.0 C:\Program Files\Microsoft > >>> >> Office\OFFICE11\MSACC.OLB > >>> >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > >>> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb > >>> >> OK ref: ADODB 2.8 C:\Program Files\Common > >>> >> Files\System\ado\msado15.dll > >>> >> > >>> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? > >>> >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 May 27 08:04:37 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 May 2009 15:04:37 +0200 Subject: [AccessD] Access Check References Message-ID: Hi William As A97 reports 8.0, could it be that your database (9.0) is Access 2000 compatible? /gustav >>> wdhindman at dejpolsystems.com 27-05-2009 14:09 >>> ..ok ...it looks like those ARE the right major/minor numbers after all ...why, I've not a clue :( http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-reference-description.aspx ...if one of you gurus care to shed some light on this it would be much appreciated William From jwcolby at colbyconsulting.com Wed May 27 08:17:28 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 27 May 2009 09:17:28 -0400 Subject: [AccessD] Access Check References In-Reply-To: <6B5866BCD62040B4A4FBF5C8D2F71EF5@jislaptopdev> References: <4A1C595C.3050803@colbyconsulting.com><4A1C5D97.6304.412E6463@stuart.lexacorp.com.pg> <4A1C6305.7080004@colbyconsulting.com><67541283B0A54DDC85C8E9D22B02ACBA@jislaptopdev> <4a1ce0bb.1c07d00a.2895.773f@mx.google.com> <6B5866BCD62040B4A4FBF5C8D2F71EF5@jislaptopdev> Message-ID: <4A1D3D68.7080709@colbyconsulting.com> > ...did not expect this result ...didn't need it either. Welcome to Access. ;) John W. Colby www.ColbyConsulting.com William Hindman wrote: > Max > > ...its the major and minor that are throwing me for a loop ...name and path > appear ok ...I even tried deleting the dao reference, compiling, closing, > opening, resetting it, and then compiling once more ...no change ...wtfo? > > ...first time I've tried to check references and log them when starting > ...did not expect this result ...didn't need it either. > > > William From andy at minstersystems.co.uk Wed May 27 11:16:27 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 27 May 2009 16:16:27 +0000 Subject: [AccessD] Cross-tab (I think) Message-ID: <200905271516.n4RFGTVq029456@databaseadvisors.com> Hi folks This should be simple but I can't see it. Have a query which gives a list of raw materials and suppliers, ie Mat1 SuppA Mat1 SuppB Mat1 SuppC Mat2 SuppA Mat2 SuppD and so on What I want is a query result for extract to Excel which transposes the suppliers into columns giving a single row per material. Thus: Mat1 SuppA SuppB SuppC Mat2 SuppA SuppD Mat3 SupZZ etc We must have had this a zillion times but I can't get it to go. Heeeeeeeeeeeellppppp! -- Andy ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at colbyconsulting.com Wed May 27 10:25:53 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 27 May 2009 11:25:53 -0400 Subject: [AccessD] Records Affected 0 Message-ID: <4A1D5B81.90309@colbyconsulting.com> I have an interesting situation. I am working on a database where numeric data is scanned into a table from paper. The original author had developed queries to replace all I with 1, all l with 1 etc (characters replaced with numbers). There is a whole series of these queries, replacing anything that looks like a zero but is actually alpha with a zero and anything that looks like a 1 but is actually alpha with a number one. If I try to perform a db.execute and set dbFailOnError a hand full of these queries fail. If I take off the dbFailOnError the queries execute but the Records Affected property reports a zero. Now I have intentionally seeded a specific column with alpha characters, and the queries do in fact fix the alpha (replaces with number) but the Records Affected still reports a zero. Shouldn't the RecordsAffected report the actual number of records updated? And what's up with the failure if I use dbFailOnError. The error reported is "data type mismatch in criteria". At first when I tried this I would get a failure of the query even when run manually. I narrowed it down to the last three columns which were empty (maybe literally). I modified the table to place a default empty string "" as data was appended into the table and now the query runs manually but will still fail when dbFailOnError is applied. The code: db.Execute "qryFix6_Correct_O", dbFailOnError Debug.Print "Correct 0 - Records Affected: " & db.RecordsAffected The query: UPDATE Import SET Import.Field1 = Replace([Field1],"O","0"), Import.Field3 = Replace([Field3],"O","0"), Import.Field4 = Replace([Field4],"O","0"), Import.Field5 = Replace([Field5],"O","0"), Import.Field6 = Replace([Field6],"O","0"), Import.Field7 = Replace([Field7],"O","0"), Import.Field8 = Replace([Field8],"O","0"), Import.Field9 = Replace([Field9],"O","0"), Import.Field10 = Replace([Field10],"O","0"), Import.Field11 = Replace([Field11],"O","0"), Import.Field12 = Replace([Field12],"O","0"); Again, the queries do run if I remove the dbFailOnError and they do "fix up" the data correctly, but they incorrectly report zero records affected after fixing up the data. I do so love Access. -- John W. Colby www.ColbyConsulting.com From fuller.artful at gmail.com Wed May 27 10:32:19 2009 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 27 May 2009 11:32:19 -0400 Subject: [AccessD] Cross-tab (I think) In-Reply-To: <200905271516.n4RFGTVq029456@databaseadvisors.com> References: <200905271516.n4RFGTVq029456@databaseadvisors.com> Message-ID: <29f585dd0905270832v641c6c54ob14cb3f554e06d70@mail.gmail.com> PIVOT should do this for you. A. On Wed, May 27, 2009 at 12:16 PM, Andy Lacey wrote: > Hi folks > This should be simple but I can't see it. > > Have a query which gives a list of raw materials and suppliers, ie > > Mat1 SuppA > Mat1 SuppB > Mat1 SuppC > Mat2 SuppA > Mat2 SuppD > > and so on > > What I want is a query result for extract to Excel which transposes the > suppliers into columns giving a single row per material. Thus: > > Mat1 SuppA SuppB SuppC > Mat2 SuppA SuppD > Mat3 SupZZ > etc > > We must have had this a zillion times but I can't get it to go. > Heeeeeeeeeeeellppppp! > -- > Andy > > ________________________________________________ > 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 dbdoug at gmail.com Wed May 27 10:33:13 2009 From: dbdoug at gmail.com (Doug Steele) Date: Wed, 27 May 2009 08:33:13 -0700 Subject: [AccessD] 'Find' popup location Message-ID: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> Hello all: My Edit/Find popup has got itself lodged partially off the top of my screen, and I can't get at the header to move it - how do I reset its location? Thanks, Doug Steele From andy at minstersystems.co.uk Wed May 27 11:50:18 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 27 May 2009 16:50:18 +0000 Subject: [AccessD] Cross-tab (I think) Message-ID: <200905271550.n4RFoJhW006517@databaseadvisors.com> I think it should too Arthur but I'm damned if I can see how. When I try to do a pivot I get all of the supplier names (hundreds) shown as column headings. Not what I want at all. Anyone know the trick? -- Andy --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Cross-tab (I think) Date: 27/05/09 15:35 PIVOT should do this for you. A. On Wed, May 27, 2009 at 12:16 PM, Andy Lacey wrote: > Hi folks > This should be simple but I can't see it. > > Have a query which gives a list of raw materials and suppliers, ie > > Mat1 SuppA > Mat1 SuppB > Mat1 SuppC > Mat2 SuppA > Mat2 SuppD > > and so on > > What I want is a query result for extract to Excel which transposes the > suppliers into columns giving a single row per material. Thus: > > Mat1 SuppA SuppB SuppC > Mat2 SuppA SuppD > Mat3 SupZZ > etc > > We must have had this a zillion times but I can't get it to go. > Heeeeeeeeeeeellppppp! > -- > Andy > > ________________________________________________ > 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 jimdettman at verizon.net Wed May 27 10:54:15 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 27 May 2009 11:54:15 -0400 Subject: [AccessD] Records Affected 0 In-Reply-To: <4A1D5B81.90309@colbyconsulting.com> References: <4A1D5B81.90309@colbyconsulting.com> Message-ID: <8CDDFE5141B94B09BCAB05F36E36D5C2@XPS> John, Make sure the all the queries UseTransaction property is set to yes and a lot of what your seeing should disappear (or at least make more sense). My guess is that your getting errors, but the query is being partially committed. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Wednesday, May 27, 2009 11:26 AM To: Access Developers discussion and problem solving Subject: [AccessD] Records Affected 0 I have an interesting situation. I am working on a database where numeric data is scanned into a table from paper. The original author had developed queries to replace all I with 1, all l with 1 etc (characters replaced with numbers). There is a whole series of these queries, replacing anything that looks like a zero but is actually alpha with a zero and anything that looks like a 1 but is actually alpha with a number one. If I try to perform a db.execute and set dbFailOnError a hand full of these queries fail. If I take off the dbFailOnError the queries execute but the Records Affected property reports a zero. Now I have intentionally seeded a specific column with alpha characters, and the queries do in fact fix the alpha (replaces with number) but the Records Affected still reports a zero. Shouldn't the RecordsAffected report the actual number of records updated? And what's up with the failure if I use dbFailOnError. The error reported is "data type mismatch in criteria". At first when I tried this I would get a failure of the query even when run manually. I narrowed it down to the last three columns which were empty (maybe literally). I modified the table to place a default empty string "" as data was appended into the table and now the query runs manually but will still fail when dbFailOnError is applied. The code: db.Execute "qryFix6_Correct_O", dbFailOnError Debug.Print "Correct 0 - Records Affected: " & db.RecordsAffected The query: UPDATE Import SET Import.Field1 = Replace([Field1],"O","0"), Import.Field3 = Replace([Field3],"O","0"), Import.Field4 = Replace([Field4],"O","0"), Import.Field5 = Replace([Field5],"O","0"), Import.Field6 = Replace([Field6],"O","0"), Import.Field7 = Replace([Field7],"O","0"), Import.Field8 = Replace([Field8],"O","0"), Import.Field9 = Replace([Field9],"O","0"), Import.Field10 = Replace([Field10],"O","0"), Import.Field11 = Replace([Field11],"O","0"), Import.Field12 = Replace([Field12],"O","0"); Again, the queries do run if I remove the dbFailOnError and they do "fix up" the data correctly, but they incorrectly report zero records affected after fixing up the data. I do so love Access. -- John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jerbach at gmail.com Wed May 27 11:25:05 2009 From: jerbach at gmail.com (Janet Erbach) Date: Wed, 27 May 2009 11:25:05 -0500 Subject: [AccessD] Access Lock File problem Message-ID: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> Dear Forum Folks: We have an access order management application here that has a front-end installed on 10 computers and a back-end that resides on the server. We compact/backup the back-end mdb every day - usually with no problem. But the compact/back-end, of course requires that only ONE computer can be accessing the back-end mdb, and every once in awhile the person running the compact forgets to close out the app on one of the computers. When that happens it seems like the lock file gets 'locked' for good; even after making sure EVERYONE is out of the app, access thinks the mdb is locked. The only solution I've found so far is to re-boot the server and then delete the lock file. This seems like an in-elegant and time-wasting solution to me; is there some setting I'm missing in Access that's causing this issue? Is there some other way I can release the ldb file without having to re-boot? Thanks! Janet Erbach IT Prognosticator Natural Healthy Concepts From Gustav at cactus.dk Wed May 27 10:41:45 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 27 May 2009 17:41:45 +0200 Subject: [AccessD] Cross-tab (I think) Message-ID: Hi Andy No, this is not a crosstab but a query that concatenates a value from several rows per some key. The general method is to use a subquery and some code to concatenate but that is very slow for a large recordset. Using a temp table is very good and will run _much_ faster than any other method. The reason is that the source table is read once only, and the target table is opened once only and DAO is way fast at adding records. In this example the key is Company + Location + Department. At you it could be Order + Materials. Of course, adjust the other field and table names too. Note the comment on Text/Memo field. The trick is this: ' Select an ordered list of Company, Location, Department. First, create a table (tblEmployeesList) with identical field structure as the master (here called tblEmployees). If the list of employees can be very long, change the field type for Employees from Text to Memo. Then run the code below, and the requested list will be filled into tblEmplyeesList. Finally use tblEmployeesList as your source for a report or whatever. Public Sub EmployeesConcatenate() Dim dbs As DAO.Database Dim rstRead As DAO.Recordset Dim rstList As DAO.Recordset Dim strKey As String Dim strKeyLast As String Set dbs = CurrentDb ' Clean tblEmployeesList. dbs.Execute "Delete * From tblEmployeesList" ' Select an ordered list of Company, Location, Department. Set rstRead = dbs.OpenRecordset("Select * From tblEmployees Order By Company, Location, Department") Set rstList = dbs.OpenRecordset("Select * From tblEmployeesList") With rstRead ' Loop through the records. While .EOF = False strKey = !Company.Value & !Location.Value & !Department.Value If strKey <> strKeyLast Then ' New Company/Location/Department. ' Create new record. rstList.AddNew rstList!Company.Value = !Company.Value rstList!Location.Value = !Location.Value rstList!Department.Value = !Department.Value rstList!Employees.Value = !Employees.Value Else ' Same Company/Location/Department as previous record. ' Append separator and expand list of employees. rstList.MoveLast rstList.Edit rstList!Employees.Value = rstList!Employees.Value & ", " & !Employees.Value End If ' Save the record. rstList.Update ' Store the key to compare for the next record. strKeyLast = strKey .MoveNext Wend .Close End With rstList.Close Set rstList = Nothing Set rstRead = Nothing Set dbs = Nothing End Sub /gustav >>> andy at minstersystems.co.uk 27-05-2009 18:16 >>> Hi folks This should be simple but I can't see it. Have a query which gives a list of raw materials and suppliers, ie Mat1 SuppA Mat1 SuppB Mat1 SuppC Mat2 SuppA Mat2 SuppD and so on What I want is a query result for extract to Excel which transposes the suppliers into columns giving a single row per material. Thus: Mat1 SuppA SuppB SuppC Mat2 SuppA SuppD Mat3 SupZZ etc We must have had this a zillion times but I can't get it to go. Heeeeeeeeeeeellppppp! -- Andy ________________________________________________ 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 DWUTKA at Marlow.com Wed May 27 11:54:36 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 27 May 2009 11:54:36 -0500 Subject: [AccessD] Access Lock File problem In-Reply-To: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> References: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> Message-ID: Right click on My Computer on the server. Select 'Manage'. Under 'Shared Folders' you'll find 'Open Files'. This will show all the 'locked/open' files on the server, and you can right click on the entries and force them closed. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, May 27, 2009 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access Lock File problem Dear Forum Folks: We have an access order management application here that has a front-end installed on 10 computers and a back-end that resides on the server. We compact/backup the back-end mdb every day - usually with no problem. But the compact/back-end, of course requires that only ONE computer can be accessing the back-end mdb, and every once in awhile the person running the compact forgets to close out the app on one of the computers. When that happens it seems like the lock file gets 'locked' for good; even after making sure EVERYONE is out of the app, access thinks the mdb is locked. The only solution I've found so far is to re-boot the server and then delete the lock file. This seems like an in-elegant and time-wasting solution to me; is there some setting I'm missing in Access that's causing this issue? Is there some other way I can release the ldb file without having to re-boot? Thanks! Janet Erbach IT Prognosticator Natural Healthy Concepts -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Wed May 27 12:01:31 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 27 May 2009 12:01:31 -0500 Subject: [AccessD] 'Find' popup location In-Reply-To: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> Message-ID: http://www.marlow.com/downloads/MoveWindows.exe Run that, and find the window for that pop-up. (Run it when the popup is open). You can move and resize the window with the left right top bottom settings. Kind of a crude program, but I created it for the exact problem you describe. (Your Popup may be a child window under the Access window). Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, May 27, 2009 10:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] 'Find' popup location Hello all: My Edit/Find popup has got itself lodged partially off the top of my screen, and I can't get at the header to move it - how do I reset its location? Thanks, Doug Steele -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Kwilliamson at RTKL.com Wed May 27 12:10:23 2009 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 27 May 2009 13:10:23 -0400 Subject: [AccessD] Basic Question References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com><6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> <4a088335.0a1ad00a.543d.7577@mx.google.com> Message-ID: <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> Hey gurus, I have a basic question for you. Quite a few times, in the past, I've used Union Join queries to join different queries into common data. For instance: select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] from [qryReportingBacklogFeeBegin] UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as [EndFee] from [qryReportingBacklogFeeEnd]; Recently I was testing one.....and discovered that my data result was not correct. I was thinking that with the union join, if one dataset did not have matching data, to the other...I would only get one line of data. Otherwise, I should get two lines....which I then summarized in another query of this union join. However, I found that I only got data from the datasets, where the select occurred in BOTH sets...([WBS1], in the above scenario.) Is that right?? Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com -------------------------------------------------------------------------- The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. From dwaters at usinternet.com Wed May 27 12:19:22 2009 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 27 May 2009 12:19:22 -0500 Subject: [AccessD] Access Lock File problem In-Reply-To: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> References: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> Message-ID: Janet, I'd suggest automatically compacting the BE. The code below will open your BE file, and then close it. If the BE file has Compact on Close checked, it will be compacted when it closed. 1) In your BE mdb file, check 'Compact on Close'. 2) Create a new Access database called AutoCompactBE.mdb. Put it in an appropriate place on your server. 3) Create a standard module in that database. 4) Paste in the code below. Enter in the path to your BE. 5) From the code window, check the reference for 'Microsoft Scripting Runtime'. 6) Create an AutoExec macro that runs the CompactBE function. 7) Create a Windows scheduled task to open the AutoCompactBE.mdb file at a time each night when no one else is logged in. 8) Test! Code for standard module: '---------------------------------------------- Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long) Public Function CompactBE() On Error GoTo EH Dim stgPathBEFile As String Dim stgPathBELDB As String Dim appAccess As Access.Application Dim fso As FileSystemObject Dim stg As String Dim rst As DAO.Recordset ' Stop ' stg = "SELECT BEFullPath FROM tblBEFullPath" ' Set rst = DBEngine(0)(0).OpenRecordset(stg, dbOpenSnapshot) ' stgPathBEFile = rst("BEFullPath") ' rst.Close ' Set rst = Nothing stgPathBEFile = "C:\Folder\Folder\YourBackendFile.mdb" Set fso = CreateObject("Scripting.FileSystemObject") '-- If the BE file is in use then the BE can't be compacted stgPathBELDB = Replace(stgPathBEFile, "mdb", "ldb") If fso.FileExists(stgPathBELDB) Then Access.Application.Quit acQuitSaveNone Exit Function End If Set appAccess = New Access.Application appAccess.OpenCurrentDatabase stgPathBEFile, False Sleep 5000 '-- When the BE closes it will auto-compact. appAccess.CloseCurrentDatabase Sleep 5000 appAccess.Quit acQuitSaveNone Set appAccess = Nothing DoEvents Access.Application.Quit acQuitSaveNone Exit Function EH: Access.Application.Quit acQuitSaveNone End Function '------------------------------------------------ Good Luck! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, May 27, 2009 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access Lock File problem Dear Forum Folks: We have an access order management application here that has a front-end installed on 10 computers and a back-end that resides on the server. We compact/backup the back-end mdb every day - usually with no problem. But the compact/back-end, of course requires that only ONE computer can be accessing the back-end mdb, and every once in awhile the person running the compact forgets to close out the app on one of the computers. When that happens it seems like the lock file gets 'locked' for good; even after making sure EVERYONE is out of the app, access thinks the mdb is locked. The only solution I've found so far is to re-boot the server and then delete the lock file. This seems like an in-elegant and time-wasting solution to me; is there some setting I'm missing in Access that's causing this issue? Is there some other way I can release the ldb file without having to re-boot? Thanks! Janet Erbach IT Prognosticator Natural Healthy Concepts -- 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 May 27 12:59:28 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 27 May 2009 18:59:28 +0100 Subject: [AccessD] Cross-tab (I think) In-Reply-To: Message-ID: <3534B115326145759C9283365280FCA2@MINSTER> I get it Gustav, many thanks. No wonder I couldn't see how to do it with a crosstab. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 27 May 2009 16:42 To: accessd at databaseadvisors.com Subject: Re: [AccessD] Cross-tab (I think) Hi Andy No, this is not a crosstab but a query that concatenates a value from several rows per some key. The general method is to use a subquery and some code to concatenate but that is very slow for a large recordset. Using a temp table is very good and will run _much_ faster than any other method. The reason is that the source table is read once only, and the target table is opened once only and DAO is way fast at adding records. In this example the key is Company + Location + Department. At you it could be Order + Materials. Of course, adjust the other field and table names too. Note the comment on Text/Memo field. The trick is this: ' Select an ordered list of Company, Location, Department. First, create a table (tblEmployeesList) with identical field structure as the master (here called tblEmployees). If the list of employees can be very long, change the field type for Employees from Text to Memo. Then run the code below, and the requested list will be filled into tblEmplyeesList. Finally use tblEmployeesList as your source for a report or whatever. Public Sub EmployeesConcatenate() Dim dbs As DAO.Database Dim rstRead As DAO.Recordset Dim rstList As DAO.Recordset Dim strKey As String Dim strKeyLast As String Set dbs = CurrentDb ' Clean tblEmployeesList. dbs.Execute "Delete * From tblEmployeesList" ' Select an ordered list of Company, Location, Department. Set rstRead = dbs.OpenRecordset("Select * From tblEmployees Order By Company, Location, Department") Set rstList = dbs.OpenRecordset("Select * From tblEmployeesList") With rstRead ' Loop through the records. While .EOF = False strKey = !Company.Value & !Location.Value & !Department.Value If strKey <> strKeyLast Then ' New Company/Location/Department. ' Create new record. rstList.AddNew rstList!Company.Value = !Company.Value rstList!Location.Value = !Location.Value rstList!Department.Value = !Department.Value rstList!Employees.Value = !Employees.Value Else ' Same Company/Location/Department as previous record. ' Append separator and expand list of employees. rstList.MoveLast rstList.Edit rstList!Employees.Value = rstList!Employees.Value & ", " & !Employees.Value End If ' Save the record. rstList.Update ' Store the key to compare for the next record. strKeyLast = strKey .MoveNext Wend .Close End With rstList.Close Set rstList = Nothing Set rstRead = Nothing Set dbs = Nothing End Sub /gustav >>> andy at minstersystems.co.uk 27-05-2009 18:16 >>> Hi folks This should be simple but I can't see it. Have a query which gives a list of raw materials and suppliers, ie Mat1 SuppA Mat1 SuppB Mat1 SuppC Mat2 SuppA Mat2 SuppD and so on What I want is a query result for extract to Excel which transposes the suppliers into columns giving a single row per material. Thus: Mat1 SuppA SuppB SuppC Mat2 SuppA SuppD Mat3 SupZZ etc We must have had this a zillion times but I can't get it to go. Heeeeeeeeeeeellppppp! -- Andy ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed May 27 13:01:45 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 14:01:45 -0400 Subject: [AccessD] Access Check References References: Message-ID: <8FA30259C4A84FC6B0CC070C92625565@jislaptopdev> ...one of the first things I looked at ...2002/2003 format. William -------------------------------------------------- From: "Gustav Brock" Sent: Wednesday, May 27, 2009 9:04 AM To: Subject: Re: [AccessD] Access Check References > Hi William > > As A97 reports 8.0, could it be that your database (9.0) is Access 2000 > compatible? > > /gustav > > >>>> wdhindman at dejpolsystems.com 27-05-2009 14:09 >>> > ..ok ...it looks like those ARE the right major/minor numbers after all > ...why, I've not a clue :( > > http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-reference-description.aspx > > ...if one of you gurus care to shed some light on this it would be much > appreciated > > William > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at verizon.net Wed May 27 13:04:10 2009 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 27 May 2009 14:04:10 -0400 Subject: [AccessD] Access Lock File problem In-Reply-To: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> References: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> Message-ID: Janet, <> What you need to get to the bottom to is why the .LDB is left behind. Under normal circumstances, the .LDB file should be getting deleted once the last person has left the DB. Either the user in question doesn't have delete privs for the directory where the DB resides, the compact/repair is not completing successfully, or they are terminating the process in some way abnormally. <> Drew posted the one method that covers things about 90% of the time, but it will not show the open file if a local process is accessing the file. To check the local server, you need to use something like process explorer, which will let you check all the open file handles. http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, May 27, 2009 12:25 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access Lock File problem Dear Forum Folks: We have an access order management application here that has a front-end installed on 10 computers and a back-end that resides on the server. We compact/backup the back-end mdb every day - usually with no problem. But the compact/back-end, of course requires that only ONE computer can be accessing the back-end mdb, and every once in awhile the person running the compact forgets to close out the app on one of the computers. When that happens it seems like the lock file gets 'locked' for good; even after making sure EVERYONE is out of the app, access thinks the mdb is locked. The only solution I've found so far is to re-boot the server and then delete the lock file. This seems like an in-elegant and time-wasting solution to me; is there some setting I'm missing in Access that's causing this issue? Is there some other way I can release the ldb file without having to re-boot? Thanks! Janet Erbach IT Prognosticator Natural Healthy Concepts -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed May 27 13:07:20 2009 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 27 May 2009 14:07:20 -0400 Subject: [AccessD] Basic Question References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com><6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com><4a088335.0a1ad00a.543d.7577@mx.google.com> <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> Message-ID: <7E21C30EE2164FC6AB16CC74DB9661FB@SusanOne> UNION isn't a join, it's an operator. You should get a record for each record in the dataset. You're not matching data, you're just dumping data from multiple tables into the same dataset. Now, I do believe there's something in there about duplicates????? I'd have to look it up and I'm just not sure, because there's UNION and UNION ALL. Susan H. > > I have a basic question for you. Quite a few times, in the past, I've > used Union Join queries to join different queries into common data. For > instance: > > select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] > from [qryReportingBacklogFeeBegin] > > UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as > [EndFee] from [qryReportingBacklogFeeEnd]; > > Recently I was testing one.....and discovered that my data result was > not correct. I was thinking that with the union join, if one dataset > did not have matching data, to the other...I would only get one line of > data. Otherwise, I should get two lines....which I then summarized in > another query of this union join. However, I found that I only got data > from the datasets, where the select occurred in BOTH sets...([WBS1], in > the above scenario.) Is that right?? > > Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 > > 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com > > > -------------------------------------------------------------------------- > The information contained in this communication is confidential, may be > privileged and is intended for the exclusive use of the above named > addressee(s). If you are not the intended recipient(s), you are expressly > prohibited from copying, distributing, disseminating, or in any other way > using any of the information contained within this communication. If you > have received this communication in error, please contact the sender by > telephone at (410) 537-6000 or by response via e-mail and permanently > delete the original email and any copies. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed May 27 13:20:11 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 14:20:11 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com>, <4A1D33D5.20706.1710C95@stuart.lexacorp.com.pg> Message-ID: ...well ok ...say the Access version is 11 but the Access Object Library version is 9.0 ...implying that MS did not always change the object library with each new version of Access ...I'm just guessing of course but I could live with that. ...but the DAO bit really bugs me ...DAO 5.0????? ...where the heck did THAT come from? ...someone, somewhere knows the answer ...maybe one day I will as well ...but probably not today ...like jc said ...its "Access" :( William -------------------------------------------------- From: "Stuart McLachlan" Sent: Wednesday, May 27, 2009 8:36 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Access Check References > I found that page earlier when I was trying o find an answer. > > It does not say they are the right version Numbers, it just says that that > is what is displayed. > They are clearly NOT the right version numbers. > > If it is Microsoft Access 11.0 Object Library, why does it show Access > 9.0? > > > > On 27 May 2009 at 8:09, William Hindman wrote: > >> ..ok ...it looks like those ARE the right major/minor numbers after all >> ...why, I've not a clue :( >> >> http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-reference-description.aspx >> >> ...if one of you gurus care to shed some light on this it would be much >> appreciated >> >> William >> >> -------------------------------------------------- >> From: "William Hindman" >> Sent: Wednesday, May 27, 2009 7:29 AM >> To: "Access Developers discussion and problem solving" >> >> Subject: Re: [AccessD] Access Check References >> >> > ...I'm heading off to get some sleep but I 'thimk" that I have to >> > somehow >> > ask it for the max version, not the base which I think is what we're >> > seeing >> > ...but then again I need sleep badly ...when I was 25 I could work 72 >> > hrs >> > w/o a nap and still be effective ...at 62 my body rebels after less >> > than >> > 24 >> > w/o some sleep ...and its just plain old shutting down as I type :( >> > >> > William >> > >> > -------------------------------------------------- >> > From: "Stuart McLachlan" >> > Sent: Wednesday, May 27, 2009 6:49 AM >> > To: "Access Developers discussion and problem solving" >> > >> > Subject: Re: [AccessD] Access Check References >> > >> >> Good question! >> >> >> >> I get the same strange version numbers and you are correct, they are >> >> not >> >> the right Versions >> >> according to everything I can find. I've no idea where they come from >> >> and >> >> I can't find >> >> anything on the web to explain it. >> >> >> >> WTF? MS DLL Hell strikes again? >> >> >> >> >> >> On 27 May 2009 at 5:30, William Hindman wrote: >> >> >> >>> ...duh ...good question ..."I" think its as follows: >> >>> >> >>> VBA 4.0 ...should be VBA 6.0 >> >>> Access 9.0 ...should be access 11.0 >> >>> DAO 5.0 ...should be DAO 3.6 >> >>> >> >>> ...but maybe NOT ...I've never actually looked at the references this >> >>> way >> >>> before. >> >>> ...so tell me, what is correct and where can I find any "reference" >> >>> to >> >>> those reference numbers, eh >> >>> ...I'm more than a bit confused, apparently a result of getting old >> >>> ...or >> >>> so >> >>> I'm told by the kids. >> >>> >> >>> William >> >>> >> >>> -------------------------------------------------- >> >>> From: "Stuart McLachlan" >> >>> Sent: Wednesday, May 27, 2009 3:29 AM >> >>> To: "Access Developers discussion and problem solving" >> >>> >> >>> Subject: Re: [AccessD] Access Check References >> >>> >> >>> > Looks to me like: >> >>> > >> >>> > Name Major Minor FullPath >> >>> > VBA 4 0 C:\Program Files\Common Files\Microsoft >> >>> > Shared\VBA\VBA6\VBE6.DLL >> >>> > Access 9 0 C:\Program Files\Microsoft >> >>> > Office\OFFICE11\MSACC.OLB >> >>> > DAO 5 0 >> >>> > C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> >>> > etc. >> >>> > >> >>> > What's the problem? >> >>> > >> >>> > >> >>> > On 27 May 2009 at 1:58, William Hindman wrote: >> >>> > >> >>> >> Group >> >>> >> >> >>> >> ...I'm running the following code within a private sub in my >> >>> >> startup >> >>> >> form: >> >>> >> >> >>> >> Dim chkref As Reference >> >>> >> >> >>> >> For Each chkref In Application.References >> >>> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken >> >>> >> Reference", >> >>> >> "OK") >> >>> >> & " ref: " & chkref.Name _ >> >>> >> & " " & chkref.Major & "." & chkref.Minor & " " & >> >>> >> chkref.FullPath & vbNewLine >> >>> >> Next >> >>> >> >> >>> >> ...works like a charm ...except that the log reads as follows: >> >>> >> >> >>> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >> >>> >> Shared\VBA\VBA6\VBE6.DLL >> >>> >> OK ref: Access 9.0 C:\Program Files\Microsoft >> >>> >> Office\OFFICE11\MSACC.OLB >> >>> >> OK ref: DAO 5.0 C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> >>> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb >> >>> >> OK ref: ADODB 2.8 C:\Program Files\Common >> >>> >> Files\System\ado\msado15.dll >> >>> >> >> >>> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >> >>> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 May 27 13:26:29 2009 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 27 May 2009 11:26:29 -0700 Subject: [AccessD] Access Check References In-Reply-To: References: <4A1C595C.3050803@colbyconsulting.com>, <4A1D33D5.20706.1710C95@stuart.lexacorp.com.pg> Message-ID: DAO 5.0 would be the latest and greatest I would think. It was stuck on an earlier version for several releases of Access before they decided to bump it up in 2007, right? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, May 27, 2009 11:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Check References ...well ok ...say the Access version is 11 but the Access Object Library version is 9.0 ...implying that MS did not always change the object library with each new version of Access ...I'm just guessing of course but I could live with that. ...but the DAO bit really bugs me ...DAO 5.0????? ...where the heck did THAT come from? ...someone, somewhere knows the answer ...maybe one day I will as well ...but probably not today ...like jc said ...its "Access" :( William -------------------------------------------------- From: "Stuart McLachlan" Sent: Wednesday, May 27, 2009 8:36 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Access Check References > I found that page earlier when I was trying o find an answer. > > It does not say they are the right version Numbers, it just says that > that is what is displayed. > They are clearly NOT the right version numbers. > > If it is Microsoft Access 11.0 Object Library, why does it show Access > 9.0? > > > > On 27 May 2009 at 8:09, William Hindman wrote: > >> ..ok ...it looks like those ARE the right major/minor numbers after >> all ...why, I've not a clue :( >> >> http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-refere >> nce-description.aspx >> >> ...if one of you gurus care to shed some light on this it would be >> much appreciated >> >> William >> >> -------------------------------------------------- >> From: "William Hindman" >> Sent: Wednesday, May 27, 2009 7:29 AM >> To: "Access Developers discussion and problem solving" >> >> Subject: Re: [AccessD] Access Check References >> >> > ...I'm heading off to get some sleep but I 'thimk" that I have to >> > somehow ask it for the max version, not the base which I think is >> > what we're seeing ...but then again I need sleep badly ...when I >> > was 25 I could work 72 hrs w/o a nap and still be effective ...at >> > 62 my body rebels after less than >> > 24 >> > w/o some sleep ...and its just plain old shutting down as I type :( >> > >> > William >> > >> > -------------------------------------------------- >> > From: "Stuart McLachlan" >> > Sent: Wednesday, May 27, 2009 6:49 AM >> > To: "Access Developers discussion and problem solving" >> > >> > Subject: Re: [AccessD] Access Check References >> > >> >> Good question! >> >> >> >> I get the same strange version numbers and you are correct, they >> >> are not the right Versions according to everything I can find. >> >> I've no idea where they come from and I can't find anything on the >> >> web to explain it. >> >> >> >> WTF? MS DLL Hell strikes again? >> >> >> >> >> >> On 27 May 2009 at 5:30, William Hindman wrote: >> >> >> >>> ...duh ...good question ..."I" think its as follows: >> >>> >> >>> VBA 4.0 ...should be VBA 6.0 >> >>> Access 9.0 ...should be access 11.0 DAO 5.0 ...should be DAO 3.6 >> >>> >> >>> ...but maybe NOT ...I've never actually looked at the references >> >>> this way before. >> >>> ...so tell me, what is correct and where can I find any "reference" >> >>> to >> >>> those reference numbers, eh >> >>> ...I'm more than a bit confused, apparently a result of getting >> >>> old ...or so I'm told by the kids. >> >>> >> >>> William >> >>> >> >>> -------------------------------------------------- >> >>> From: "Stuart McLachlan" >> >>> Sent: Wednesday, May 27, 2009 3:29 AM >> >>> To: "Access Developers discussion and problem solving" >> >>> >> >>> Subject: Re: [AccessD] Access Check References >> >>> >> >>> > Looks to me like: >> >>> > >> >>> > Name Major Minor FullPath >> >>> > VBA 4 0 C:\Program Files\Common Files\Microsoft >> >>> > Shared\VBA\VBA6\VBE6.DLL >> >>> > Access 9 0 C:\Program Files\Microsoft >> >>> > Office\OFFICE11\MSACC.OLB >> >>> > DAO 5 0 >> >>> > C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> >>> > etc. >> >>> > >> >>> > What's the problem? >> >>> > >> >>> > >> >>> > On 27 May 2009 at 1:58, William Hindman wrote: >> >>> > >> >>> >> Group >> >>> >> >> >>> >> ...I'm running the following code within a private sub in my >> >>> >> startup >> >>> >> form: >> >>> >> >> >>> >> Dim chkref As Reference >> >>> >> >> >>> >> For Each chkref In Application.References >> >>> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken >> >>> >> Reference", >> >>> >> "OK") >> >>> >> & " ref: " & chkref.Name _ >> >>> >> & " " & chkref.Major & "." & chkref.Minor & " " >> >>> >> & chkref.FullPath & vbNewLine >> >>> >> Next >> >>> >> >> >>> >> ...works like a charm ...except that the log reads as follows: >> >>> >> >> >>> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >> >>> >> Shared\VBA\VBA6\VBE6.DLL OK ref: Access 9.0 C:\Program >> >>> >> Files\Microsoft Office\OFFICE11\MSACC.OLB OK ref: DAO 5.0 >> >>> >> C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >> >>> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb OK ref: >> >>> >> ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll >> >>> >> >> >>> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come from? >> >>> >> >> >> >> >> -- >> >> AccessD mailing list >> >> AccessD at databaseadvisors.com >> >> http://databaseadvisors.com/mailman/listinfo/accessd >> >> Website: http://www.databaseadvisors.com >> >> >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Wed May 27 13:55:34 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Thu, 28 May 2009 00:25:34 +0530 Subject: [AccessD] Cross-tab (I think) References: <200905271516.n4RFGTVq029456@databaseadvisors.com> Message-ID: <019601c9defc$eb1d2350$715fa27a@personald6374f> Andy, Crosstab query named Q_2 as given below, should get the results sought by you. It makes use of simple select query Q_1, also given below. T_Products is the table having text type fields named Product and Supplier respectively. Creation of sequential numbers (Rank) in Q_1 for each product, covering associated suppliers ensures that there are no redundant columns in the output provided by crosstab query Q_2. Note: In query Q_1, DCount() function has been used in lieu of a subquery as the latter does not suit subsequent use in crosstab query. Best wishes, A.D. Tejpal ------------ Q_2 (Final query - Crosstab) ====================================== TRANSFORM First(Q_1.Supplier) AS FirstOfSupplier SELECT Q_1.Product FROM Q_1 GROUP BY Q_1.Product PIVOT Q_1.Rank; ====================================== Q_1 (First stage query - Simple Select) ====================================== SELECT T_Products.*, DCount("*","T_Products","Product = '" & [Product] & "' AND Supplier <= '" & [Supplier] & "'") AS Rank FROM T_Products; ====================================== ----- Original Message ----- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, May 27, 2009 21:46 Subject: [AccessD] Cross-tab (I think) Hi folks This should be simple but I can't see it. Have a query which gives a list of raw materials and suppliers, ie Mat1 SuppA Mat1 SuppB Mat1 SuppC Mat2 SuppA Mat2 SuppD and so on What I want is a query result for extract to Excel which transposes the suppliers into columns giving a single row per material. Thus: Mat1 SuppA SuppB SuppC Mat2 SuppA SuppD Mat3 SupZZ etc We must have had this a zillion times but I can't get it to go. Heeeeeeeeeeeellppppp! -- Andy From DWUTKA at Marlow.com Wed May 27 14:02:59 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 27 May 2009 14:02:59 -0500 Subject: [AccessD] Basic Question In-Reply-To: <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com><6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com><4a088335.0a1ad00a.543d.7577@mx.google.com> <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> Message-ID: Hmmm, actually Union queries are distinct row by default, so if there is matching data between any of the 'parts' of a union query, it should only show up once. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, May 27, 2009 12:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Basic Question Hey gurus, I have a basic question for you. Quite a few times, in the past, I've used Union Join queries to join different queries into common data. For instance: select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] from [qryReportingBacklogFeeBegin] UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as [EndFee] from [qryReportingBacklogFeeEnd]; Recently I was testing one.....and discovered that my data result was not correct. I was thinking that with the union join, if one dataset did not have matching data, to the other...I would only get one line of data. Otherwise, I should get two lines....which I then summarized in another query of this union join. However, I found that I only got data from the datasets, where the select occurred in BOTH sets...([WBS1], in the above scenario.) Is that right?? Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com ------------------------------------------------------------------------ -- The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Wed May 27 14:03:51 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 27 May 2009 14:03:51 -0500 Subject: [AccessD] Basic Question In-Reply-To: <7E21C30EE2164FC6AB16CC74DB9661FB@SusanOne> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com><6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com><4a088335.0a1ad00a.543d.7577@mx.google.com><3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> <7E21C30EE2164FC6AB16CC74DB9661FB@SusanOne> Message-ID: Yes, UNION ALL will ignore the Union's default 'distinct row' behavior. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, May 27, 2009 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Basic Question UNION isn't a join, it's an operator. You should get a record for each record in the dataset. You're not matching data, you're just dumping data from multiple tables into the same dataset. Now, I do believe there's something in there about duplicates????? I'd have to look it up and I'm just not sure, because there's UNION and UNION ALL. Susan H. > > I have a basic question for you. Quite a few times, in the past, I've > used Union Join queries to join different queries into common data. For > instance: > > select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] > from [qryReportingBacklogFeeBegin] > > UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as > [EndFee] from [qryReportingBacklogFeeEnd]; > > Recently I was testing one.....and discovered that my data result was > not correct. I was thinking that with the union join, if one dataset > did not have matching data, to the other...I would only get one line of > data. Otherwise, I should get two lines....which I then summarized in > another query of this union join. However, I found that I only got data > from the datasets, where the select occurred in BOTH sets...([WBS1], in > the above scenario.) Is that right?? > > Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 > > 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com > > > ------------------------------------------------------------------------ -- > The information contained in this communication is confidential, may be > privileged and is intended for the exclusive use of the above named > addressee(s). If you are not the intended recipient(s), you are expressly > prohibited from copying, distributing, disseminating, or in any other way > using any of the information contained within this communication. If you > have received this communication in error, please contact the sender by > telephone at (410) 537-6000 or by response via e-mail and permanently > delete the original email and any copies. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From dwaters at usinternet.com Tue May 26 10:49:09 2009 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 26 May 2009 10:49:09 -0500 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> Message-ID: <5F53D604BF6A476C841981832D05D16A@danwaters> In your select string, perhaps API14 should be syntaxed something like: dbo_DSS_CompletionMaster.PID = '" & API14 & "') Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 10:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Too few parameters expected 1 Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Chester_Kaup at kindermorgan.com Wed May 27 14:48:04 2009 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 27 May 2009 14:48:04 -0500 Subject: [AccessD] Too few parameters expected 1 In-Reply-To: <5F53D604BF6A476C841981832D05D16A@danwaters> References: <0B2BF8524B73A248A2F1B81BA751ED3C066E741261@houex1.kindermorgan.com> <5F53D604BF6A476C841981832D05D16A@danwaters> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C066E74152A@houex1.kindermorgan.com> Yes that was the solution. Thanks. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, May 26, 2009 10:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Too few parameters expected 1 In your select string, perhaps API14 should be syntaxed something like: dbo_DSS_CompletionMaster.PID = '" & API14 & "') Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, May 26, 2009 10:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] Too few parameters expected 1 Here is the code the generates the error. The SQL statement does not seem to be reading the variable API14. It is dimmed as text. Set RS1 = MyDb.OpenRecordset("dbo_DSS_StatusChanges") Set RS2 = MyDb.OpenRecordset("dbo_DSS_CompletionMaster") RS2.MoveFirst API14 = RS2.Fields(0) strSql = "SELECT dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number, DateSerial(Year(Date()),Month(Date())-1,1) AS RecordDate, Max(dbo_DSS_StatusChanges.StatusDate) AS MaxOfStatusDate FROM dbo_DSS_StatusChanges INNER JOIN dbo_DSS_CompletionMaster ON dbo_DSS_StatusChanges.PID = dbo_DSS_CompletionMaster.PID WHERE (((dbo_DSS_StatusChanges.StatusDate) <= DateSerial(Year(Date()), Month(Date()) - 1, 1))and dbo_DSS_CompletionMaster.PID = API14) GROUP BY dbo_DSS_StatusChanges.PID, dbo_DSS_CompletionMaster.Well_Number ORDER BY dbo_DSS_CompletionMaster.Well_Number;" Set RS3 = MyDb.OpenRecordset(strSql) Chester Kaup Engineering Technician Kinder Morgan CO2 Company, LLP Office (432) 688-3797 FAX (432) 688-3799 ? No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed May 27 16:03:51 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 27 May 2009 14:03:51 -0700 Subject: [AccessD] Basic Question In-Reply-To: <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com> <6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> <4a088335.0a1ad00a.543d.7577@mx.google.com> <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> Message-ID: <37AF6A864116487E86863E1047E3BDFD@creativesystemdesigns.com> Not sure if this is right with Access as my BE is generally anything but an MDB but the UNION join has two options: UNION (only unique) UNION ALL (all) Would this be the case? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, May 27, 2009 10:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] Basic Question Hey gurus, I have a basic question for you. Quite a few times, in the past, I've used Union Join queries to join different queries into common data. For instance: select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] from [qryReportingBacklogFeeBegin] UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as [EndFee] from [qryReportingBacklogFeeEnd]; Recently I was testing one.....and discovered that my data result was not correct. I was thinking that with the union join, if one dataset did not have matching data, to the other...I would only get one line of data. Otherwise, I should get two lines....which I then summarized in another query of this union join. However, I found that I only got data from the datasets, where the select occurred in BOTH sets...([WBS1], in the above scenario.) Is that right?? Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com -------------------------------------------------------------------------- The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Kwilliamson at RTKL.com Wed May 27 16:04:38 2009 From: Kwilliamson at RTKL.com (Keith Williamson) Date: Wed, 27 May 2009 17:04:38 -0400 Subject: [AccessD] Basic Question References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com><6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com><4a088335.0a1ad00a.543d.7577@mx.google.com><3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> Message-ID: <3E0C208232FA104198335BC3FEA3CCE90AF29C@snidely.rtkl.rtkl.net> That's what I thought, originally. I had one query that was only providing results if BOTH selects existed. This threw me for a loop. I wound up going another way...but was a bit shaken, as I've used this method a number of times. I went back and checked a couple other of my union joins.....and they were yielding results for EITHER select. So...I don't know what was going wrong with that other one. The big issue is that because of the missing data...I was over-stating our Intake of projects, by about $1.5 million. I'm not looking forward to telling the BOD that we actually had $1.5 million less intake of projects, then I was reporting.....every dollar counts, these days. :) Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, May 27, 2009 3:03 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Basic Question Hmmm, actually Union queries are distinct row by default, so if there is matching data between any of the 'parts' of a union query, it should only show up once. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Keith Williamson Sent: Wednesday, May 27, 2009 12:10 PM To: Access Developers discussion and problem solving Subject: [AccessD] Basic Question Hey gurus, I have a basic question for you. Quite a few times, in the past, I've used Union Join queries to join different queries into common data. For instance: select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] from [qryReportingBacklogFeeBegin] UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as [EndFee] from [qryReportingBacklogFeeEnd]; Recently I was testing one.....and discovered that my data result was not correct. I was thinking that with the union join, if one dataset did not have matching data, to the other...I would only get one line of data. Otherwise, I should get two lines....which I then summarized in another query of this union join. However, I found that I only got data from the datasets, where the select occurred in BOTH sets...([WBS1], in the above scenario.) Is that right?? Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com ------------------------------------------------------------------------ -- The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed May 27 16:10:57 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 27 May 2009 22:10:57 +0100 Subject: [AccessD] Cross-tab (I think) In-Reply-To: <019601c9defc$eb1d2350$715fa27a@personald6374f> Message-ID: <3B36A154CBD74336ADA12B785E99DCDF@MINSTER> Wow AD Can't wait to try this tomorrow. Will get back to you. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: 27 May 2009 19:56 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cross-tab (I think) Andy, Crosstab query named Q_2 as given below, should get the results sought by you. It makes use of simple select query Q_1, also given below. T_Products is the table having text type fields named Product and Supplier respectively. Creation of sequential numbers (Rank) in Q_1 for each product, covering associated suppliers ensures that there are no redundant columns in the output provided by crosstab query Q_2. Note: In query Q_1, DCount() function has been used in lieu of a subquery as the latter does not suit subsequent use in crosstab query. Best wishes, A.D. Tejpal ------------ Q_2 (Final query - Crosstab) ====================================== TRANSFORM First(Q_1.Supplier) AS FirstOfSupplier SELECT Q_1.Product FROM Q_1 GROUP BY Q_1.Product PIVOT Q_1.Rank; ====================================== Q_1 (First stage query - Simple Select) ====================================== SELECT T_Products.*, DCount("*","T_Products","Product = '" & [Product] & "' AND Supplier <= '" & [Supplier] & "'") AS Rank FROM T_Products; ====================================== ----- Original Message ----- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, May 27, 2009 21:46 Subject: [AccessD] Cross-tab (I think) Hi folks This should be simple but I can't see it. Have a query which gives a list of raw materials and suppliers, ie Mat1 SuppA Mat1 SuppB Mat1 SuppC Mat2 SuppA Mat2 SuppD and so on What I want is a query result for extract to Excel which transposes the suppliers into columns giving a single row per material. Thus: Mat1 SuppA SuppB SuppC Mat2 SuppA SuppD Mat3 SupZZ etc We must have had this a zillion times but I can't get it to go. Heeeeeeeeeeeellppppp! -- Andy -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed May 27 16:11:50 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 27 May 2009 14:11:50 -0700 Subject: [AccessD] Access Lock File problem In-Reply-To: References: <6ef6ac2c0905270925i3269c65ft42632c9f733dba4f@mail.gmail.com> Message-ID: <049B29306D15485AB128BD4155BE118E@creativesystemdesigns.com> One cautionary note on this method: I have ran into this situation a few times and if the Access FE is bound to the Access BE cutting the connection can result data corruption. I have had a couple of rather serious results when working with MDBs for government agencies. My recommendation is the either build an application without bound connections or use a more robust DB like MS SQL/Oracle/MySQL etc. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Wednesday, May 27, 2009 9:55 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Lock File problem Right click on My Computer on the server. Select 'Manage'. Under 'Shared Folders' you'll find 'Open Files'. This will show all the 'locked/open' files on the server, and you can right click on the entries and force them closed. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Janet Erbach Sent: Wednesday, May 27, 2009 11:25 AM To: Access Developers discussion and problem solving Subject: [AccessD] Access Lock File problem Dear Forum Folks: We have an access order management application here that has a front-end installed on 10 computers and a back-end that resides on the server. We compact/backup the back-end mdb every day - usually with no problem. But the compact/back-end, of course requires that only ONE computer can be accessing the back-end mdb, and every once in awhile the person running the compact forgets to close out the app on one of the computers. When that happens it seems like the lock file gets 'locked' for good; even after making sure EVERYONE is out of the app, access thinks the mdb is locked. The only solution I've found so far is to re-boot the server and then delete the lock file. This seems like an in-elegant and time-wasting solution to me; is there some setting I'm missing in Access that's causing this issue? Is there some other way I can release the ldb file without having to re-boot? Thanks! Janet Erbach IT Prognosticator Natural Healthy Concepts -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From JHewson at nciinc.com Wed May 27 16:21:50 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Wed, 27 May 2009 16:21:50 -0500 Subject: [AccessD] Access 2007 Compacting on Opening and Closing Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDD3F@sanex101.nciinc.com> I have a rather complex Access 2007 database that imports multiple files, manipulates the data, then exports several files in different formats. Starting with a file that is about 2MB and then after importing, manipulating the data, and exporting the file size jumps to over 240MB. That's expected. When it closes it compacts... that also is expected and planned. The database is used as an intermediate step manage data that is exported from a legacy system (sometimes the export is 20 or more files) to importing into a new system... with one file. A file with no data is maintained so that when the need arises it can be copied and the new exports can be imported into the new system. There is one file that after it grew to 257MB, it started to compact when opening and closing. I've scanned several Access sites and Microsoft but can't find anything. Any ideas why this would occur? Thanks, Jim Jim Hewson ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From jwcolby at colbyconsulting.com Wed May 27 17:20:22 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Wed, 27 May 2009 18:20:22 -0400 Subject: [AccessD] Basic Question In-Reply-To: <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> References: <6ef6ac2c0905111140v512441a5tb3f7a3e55d708fd7@mail.gmail.com> <4a087d60.0707d00a.0da6.ffffe05e@mx.google.com><6ef6ac2c0905111249wba4894dt6fd6754fc755bc82@mail.gmail.com> <4a088335.0a1ad00a.543d.7577@mx.google.com> <3E0C208232FA104198335BC3FEA3CCE90AF16E@snidely.rtkl.rtkl.net> Message-ID: <4A1DBCA6.8050701@colbyconsulting.com> Nope, something else going on there. John W. Colby www.ColbyConsulting.com Keith Williamson wrote: > Hey gurus, > > I have a basic question for you. Quite a few times, in the past, I've > used Union Join queries to join different queries into common data. For > instance: > > select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] > from [qryReportingBacklogFeeBegin] > > UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as > [EndFee] from [qryReportingBacklogFeeEnd]; > > Recently I was testing one.....and discovered that my data result was > not correct. I was thinking that with the union join, if one dataset > did not have matching data, to the other...I would only get one line of > data. Otherwise, I should get two lines....which I then summarized in > another query of this union join. However, I found that I only got data > from the datasets, where the select occurred in BOTH sets...([WBS1], in > the above scenario.) Is that right?? > > Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com > > RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 > > 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com > > > -------------------------------------------------------------------------- > The information contained in this communication is confidential, may be privileged and is intended for the exclusive use of the above named addressee(s). If you are not the intended recipient(s), you are expressly prohibited from copying, distributing, disseminating, or in any other way using any of the information contained within this communication. If you have received this communication in error, please contact the sender by telephone at (410) 537-6000 or by response via e-mail and permanently delete the original email and any copies. > From darren at activebilling.com.au Wed May 27 18:38:08 2009 From: darren at activebilling.com.au (Darren D) Date: Thu, 28 May 2009 09:38:08 +1000 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: <003801c9df24$323c5040$131b910a@denzilnote> Welcome back Charlotte The voice of reason has returned :-) See y'all Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, 27 May 2009 4:32 AM To: AccessD at databaseadvisors.com Subject: [AccessD] I'm Back Did you miss me? Aside from the Bermuda stalker, that is! I fractured me left humerus and the greater tuberosity 5 weeks ago and this is the first day back at work. Couldn't figure out how to connect from my Vista laptop, so I suffered list withdrawal for 5 weeks! Charlotte -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed May 27 21:20:55 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 22:20:55 -0400 Subject: [AccessD] Access Check References References: <4A1C595C.3050803@colbyconsulting.com>, <4A1D33D5.20706.1710C95@stuart.lexacorp.com.pg> Message-ID: ...uh, nice punt but I don't think so :) ...this is dao3.61 in Ak23 ...the dao for A2k7 is named something like daoadc iirc William -------------------------------------------------- From: "Charlotte Foust" Sent: Wednesday, May 27, 2009 2:26 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Access Check References > DAO 5.0 would be the latest and greatest I would think. It was stuck on > an earlier version for several releases of Access before they decided to > bump it up in 2007, right? > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, May 27, 2009 11:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Check References > > ...well ok ...say the Access version is 11 but the Access Object Library > version is 9.0 ...implying that MS did not always change the object > library with each new version of Access ...I'm just guessing of course > but I could live with that. > > ...but the DAO bit really bugs me ...DAO 5.0????? ...where the heck did > THAT come from? > > ...someone, somewhere knows the answer ...maybe one day I will as well > ...but probably not today ...like jc said ...its "Access" :( > > William > > -------------------------------------------------- > From: "Stuart McLachlan" > Sent: Wednesday, May 27, 2009 8:36 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Access Check References > >> I found that page earlier when I was trying o find an answer. >> >> It does not say they are the right version Numbers, it just says that >> that is what is displayed. >> They are clearly NOT the right version numbers. >> >> If it is Microsoft Access 11.0 Object Library, why does it show Access > >> 9.0? >> >> >> >> On 27 May 2009 at 8:09, William Hindman wrote: >> >>> ..ok ...it looks like those ARE the right major/minor numbers after >>> all ...why, I've not a clue :( >>> >>> http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-refere >>> nce-description.aspx >>> >>> ...if one of you gurus care to shed some light on this it would be >>> much appreciated >>> >>> William >>> >>> -------------------------------------------------- >>> From: "William Hindman" >>> Sent: Wednesday, May 27, 2009 7:29 AM >>> To: "Access Developers discussion and problem solving" >>> >>> Subject: Re: [AccessD] Access Check References >>> >>> > ...I'm heading off to get some sleep but I 'thimk" that I have to >>> > somehow ask it for the max version, not the base which I think is >>> > what we're seeing ...but then again I need sleep badly ...when I >>> > was 25 I could work 72 hrs w/o a nap and still be effective ...at >>> > 62 my body rebels after less than >>> > 24 >>> > w/o some sleep ...and its just plain old shutting down as I type :( >>> > >>> > William >>> > >>> > -------------------------------------------------- >>> > From: "Stuart McLachlan" >>> > Sent: Wednesday, May 27, 2009 6:49 AM >>> > To: "Access Developers discussion and problem solving" >>> > >>> > Subject: Re: [AccessD] Access Check References >>> > >>> >> Good question! >>> >> >>> >> I get the same strange version numbers and you are correct, they >>> >> are not the right Versions according to everything I can find. >>> >> I've no idea where they come from and I can't find anything on the > >>> >> web to explain it. >>> >> >>> >> WTF? MS DLL Hell strikes again? >>> >> >>> >> >>> >> On 27 May 2009 at 5:30, William Hindman wrote: >>> >> >>> >>> ...duh ...good question ..."I" think its as follows: >>> >>> >>> >>> VBA 4.0 ...should be VBA 6.0 >>> >>> Access 9.0 ...should be access 11.0 DAO 5.0 ...should be DAO 3.6 >>> >>> >>> >>> ...but maybe NOT ...I've never actually looked at the references >>> >>> this way before. >>> >>> ...so tell me, what is correct and where can I find any > "reference" >>> >>> to >>> >>> those reference numbers, eh >>> >>> ...I'm more than a bit confused, apparently a result of getting >>> >>> old ...or so I'm told by the kids. >>> >>> >>> >>> William >>> >>> >>> >>> -------------------------------------------------- >>> >>> From: "Stuart McLachlan" >>> >>> Sent: Wednesday, May 27, 2009 3:29 AM >>> >>> To: "Access Developers discussion and problem solving" >>> >>> >>> >>> Subject: Re: [AccessD] Access Check References >>> >>> >>> >>> > Looks to me like: >>> >>> > >>> >>> > Name Major Minor FullPath >>> >>> > VBA 4 0 C:\Program Files\Common > Files\Microsoft >>> >>> > Shared\VBA\VBA6\VBE6.DLL >>> >>> > Access 9 0 C:\Program Files\Microsoft >>> >>> > Office\OFFICE11\MSACC.OLB >>> >>> > DAO 5 0 >>> >>> > C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >>> >>> > etc. >>> >>> > >>> >>> > What's the problem? >>> >>> > >>> >>> > >>> >>> > On 27 May 2009 at 1:58, William Hindman wrote: >>> >>> > >>> >>> >> Group >>> >>> >> >>> >>> >> ...I'm running the following code within a private sub in my >>> >>> >> startup >>> >>> >> form: >>> >>> >> >>> >>> >> Dim chkref As Reference >>> >>> >> >>> >>> >> For Each chkref In Application.References >>> >>> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken >>> >>> >> Reference", >>> >>> >> "OK") >>> >>> >> & " ref: " & chkref.Name _ >>> >>> >> & " " & chkref.Major & "." & chkref.Minor & " " > >>> >>> >> & chkref.FullPath & vbNewLine >>> >>> >> Next >>> >>> >> >>> >>> >> ...works like a charm ...except that the log reads as follows: >>> >>> >> >>> >>> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft >>> >>> >> Shared\VBA\VBA6\VBE6.DLL OK ref: Access 9.0 C:\Program >>> >>> >> Files\Microsoft Office\OFFICE11\MSACC.OLB OK ref: DAO 5.0 >>> >>> >> C:\Progra~1\Common~1\Micros~1\dao\dao360.dll >>> >>> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb OK ref: >>> >>> >> ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll >>> >>> >> >>> >>> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come > from? >>> >>> >> >>> >> >>> >> -- >>> >> AccessD mailing list >>> >> AccessD at databaseadvisors.com >>> >> http://databaseadvisors.com/mailman/listinfo/accessd >>> >> Website: http://www.databaseadvisors.com >>> >> >>> > >>> > >>> > -- >>> > AccessD mailing list >>> > AccessD at databaseadvisors.com >>> > http://databaseadvisors.com/mailman/listinfo/accessd >>> > Website: http://www.databaseadvisors.com >>> > >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Wed May 27 21:21:51 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 22:21:51 -0400 Subject: [AccessD] I'm Back References: <003801c9df24$323c5040$131b910a@denzilnote> Message-ID: ...Drew came back too? :) William -------------------------------------------------- From: "Darren D" Sent: Wednesday, May 27, 2009 7:38 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] I'm Back > Welcome back Charlotte > > The voice of reason has returned :-) > > See y'all > > Darren > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, 27 May 2009 4:32 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] I'm Back > > Did you miss me? Aside from the Bermuda stalker, that is! I fractured > me left humerus and the greater tuberosity 5 weeks ago and this is the > first day back at work. Couldn't figure out how to connect from my > Vista laptop, so I suffered list withdrawal for 5 weeks! > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 May 27 22:06:21 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Wed, 27 May 2009 22:06:21 -0500 Subject: [AccessD] I'm Back In-Reply-To: References: <003801c9df24$323c5040$131b910a@denzilnote> Message-ID: Never left....just don't interject my 'reason' all the time! ;) You need to pop in on OT once in a while, it's getting boring over there sometimes! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, May 27, 2009 9:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I'm Back ...Drew came back too? :) William -------------------------------------------------- From: "Darren D" Sent: Wednesday, May 27, 2009 7:38 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] I'm Back > Welcome back Charlotte > > The voice of reason has returned :-) > > See y'all > > Darren > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Wednesday, 27 May 2009 4:32 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] I'm Back > > Did you miss me? Aside from the Bermuda stalker, that is! I fractured > me left humerus and the greater tuberosity 5 weeks ago and this is the > first day back at work. Couldn't figure out how to connect from my > Vista laptop, so I suffered list withdrawal for 5 weeks! > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From wdhindman at dejpolsystems.com Wed May 27 22:38:40 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 27 May 2009 23:38:40 -0400 Subject: [AccessD] I'm Back References: <003801c9df24$323c5040$131b910a@denzilnote> Message-ID: ...no more OT ...its the only thing I ever got "hooked" on in my life (besides the wife) ...I'm clean and staying that way :) William -------------------------------------------------- From: "Drew Wutka" Sent: Wednesday, May 27, 2009 11:06 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] I'm Back > Never left....just don't interject my 'reason' all the time! ;) > > You need to pop in on OT once in a while, it's getting boring over there > sometimes! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, May 27, 2009 9:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I'm Back > > ...Drew came back too? :) > > William > > -------------------------------------------------- > From: "Darren D" > Sent: Wednesday, May 27, 2009 7:38 PM > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] I'm Back > >> Welcome back Charlotte >> >> The voice of reason has returned :-) >> >> See y'all >> >> Darren >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust >> Sent: Wednesday, 27 May 2009 4:32 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] I'm Back >> >> Did you miss me? Aside from the Bermuda stalker, that is! I > fractured >> me left humerus and the greater tuberosity 5 weeks ago and this is the >> first day back at work. Couldn't figure out how to connect from my >> Vista laptop, so I suffered list withdrawal for 5 weeks! >> >> Charlotte >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI > Business > Sensitive material. If you are not the intended recipient, please contact > the sender > immediately and destroy the material in its entirety, whether electronic > or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, > or other use of, or taking of any action in reliance upon this information > by persons > or entities other than the intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Thu May 28 00:27:49 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 May 2009 15:27:49 +1000 Subject: [AccessD] Access Check References In-Reply-To: References: <4A1C595C.3050803@colbyconsulting.com>, Message-ID: <4A1E20D5.25374.50ED543@stuart.lexacorp.com.pg> And in 2007 it shows as DAO 12.0 :-( On 27 May 2009 at 22:20, William Hindman wrote: > ...uh, nice punt but I don't think so :) > > ...this is dao3.61 in Ak23 ...the dao for A2k7 is named something like > daoadc iirc > > William > > -------------------------------------------------- > From: "Charlotte Foust" > Sent: Wednesday, May 27, 2009 2:26 PM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Access Check References > > > DAO 5.0 would be the latest and greatest I would think. It was stuck on > > an earlier version for several releases of Access before they decided to > > bump it up in 2007, right? > > > > Charlotte Foust > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > > Hindman > > Sent: Wednesday, May 27, 2009 11:20 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Access Check References > > > > ...well ok ...say the Access version is 11 but the Access Object Library > > version is 9.0 ...implying that MS did not always change the object > > library with each new version of Access ...I'm just guessing of course > > but I could live with that. > > > > ...but the DAO bit really bugs me ...DAO 5.0????? ...where the heck did > > THAT come from? > > > > ...someone, somewhere knows the answer ...maybe one day I will as well > > ...but probably not today ...like jc said ...its "Access" :( > > > > William > > > > -------------------------------------------------- > > From: "Stuart McLachlan" > > Sent: Wednesday, May 27, 2009 8:36 AM > > To: "Access Developers discussion and problem solving" > > > > Subject: Re: [AccessD] Access Check References > > > >> I found that page earlier when I was trying o find an answer. > >> > >> It does not say they are the right version Numbers, it just says that > >> that is what is displayed. > >> They are clearly NOT the right version numbers. > >> > >> If it is Microsoft Access 11.0 Object Library, why does it show Access > > > >> 9.0? > >> > >> > >> > >> On 27 May 2009 at 8:09, William Hindman wrote: > >> > >>> ..ok ...it looks like those ARE the right major/minor numbers after > >>> all ...why, I've not a clue :( > >>> > >>> http://msmvps.com/blogs/access/archive/2008/02/24/fetching-the-refere > >>> nce-description.aspx > >>> > >>> ...if one of you gurus care to shed some light on this it would be > >>> much appreciated > >>> > >>> William > >>> > >>> -------------------------------------------------- > >>> From: "William Hindman" > >>> Sent: Wednesday, May 27, 2009 7:29 AM > >>> To: "Access Developers discussion and problem solving" > >>> > >>> Subject: Re: [AccessD] Access Check References > >>> > >>> > ...I'm heading off to get some sleep but I 'thimk" that I have to > >>> > somehow ask it for the max version, not the base which I think is > >>> > what we're seeing ...but then again I need sleep badly ...when I > >>> > was 25 I could work 72 hrs w/o a nap and still be effective ...at > >>> > 62 my body rebels after less than > >>> > 24 > >>> > w/o some sleep ...and its just plain old shutting down as I type :( > >>> > > >>> > William > >>> > > >>> > -------------------------------------------------- > >>> > From: "Stuart McLachlan" > >>> > Sent: Wednesday, May 27, 2009 6:49 AM > >>> > To: "Access Developers discussion and problem solving" > >>> > > >>> > Subject: Re: [AccessD] Access Check References > >>> > > >>> >> Good question! > >>> >> > >>> >> I get the same strange version numbers and you are correct, they > >>> >> are not the right Versions according to everything I can find. > >>> >> I've no idea where they come from and I can't find anything on the > > > >>> >> web to explain it. > >>> >> > >>> >> WTF? MS DLL Hell strikes again? > >>> >> > >>> >> > >>> >> On 27 May 2009 at 5:30, William Hindman wrote: > >>> >> > >>> >>> ...duh ...good question ..."I" think its as follows: > >>> >>> > >>> >>> VBA 4.0 ...should be VBA 6.0 > >>> >>> Access 9.0 ...should be access 11.0 DAO 5.0 ...should be DAO 3.6 > >>> >>> > >>> >>> ...but maybe NOT ...I've never actually looked at the references > >>> >>> this way before. > >>> >>> ...so tell me, what is correct and where can I find any > > "reference" > >>> >>> to > >>> >>> those reference numbers, eh > >>> >>> ...I'm more than a bit confused, apparently a result of getting > >>> >>> old ...or so I'm told by the kids. > >>> >>> > >>> >>> William > >>> >>> > >>> >>> -------------------------------------------------- > >>> >>> From: "Stuart McLachlan" > >>> >>> Sent: Wednesday, May 27, 2009 3:29 AM > >>> >>> To: "Access Developers discussion and problem solving" > >>> >>> > >>> >>> Subject: Re: [AccessD] Access Check References > >>> >>> > >>> >>> > Looks to me like: > >>> >>> > > >>> >>> > Name Major Minor FullPath > >>> >>> > VBA 4 0 C:\Program Files\Common > > Files\Microsoft > >>> >>> > Shared\VBA\VBA6\VBE6.DLL > >>> >>> > Access 9 0 C:\Program Files\Microsoft > >>> >>> > Office\OFFICE11\MSACC.OLB > >>> >>> > DAO 5 0 > >>> >>> > C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > >>> >>> > etc. > >>> >>> > > >>> >>> > What's the problem? > >>> >>> > > >>> >>> > > >>> >>> > On 27 May 2009 at 1:58, William Hindman wrote: > >>> >>> > > >>> >>> >> Group > >>> >>> >> > >>> >>> >> ...I'm running the following code within a private sub in my > >>> >>> >> startup > >>> >>> >> form: > >>> >>> >> > >>> >>> >> Dim chkref As Reference > >>> >>> >> > >>> >>> >> For Each chkref In Application.References > >>> >>> >> strLog = strLog & IIf(chkref.IsBroken, "## Broken > >>> >>> >> Reference", > >>> >>> >> "OK") > >>> >>> >> & " ref: " & chkref.Name _ > >>> >>> >> & " " & chkref.Major & "." & chkref.Minor & " " > > > >>> >>> >> & chkref.FullPath & vbNewLine > >>> >>> >> Next > >>> >>> >> > >>> >>> >> ...works like a charm ...except that the log reads as follows: > >>> >>> >> > >>> >>> >> OK ref: VBA 4.0 C:\Program Files\Common Files\Microsoft > >>> >>> >> Shared\VBA\VBA6\VBE6.DLL OK ref: Access 9.0 C:\Program > >>> >>> >> Files\Microsoft Office\OFFICE11\MSACC.OLB OK ref: DAO 5.0 > >>> >>> >> C:\Progra~1\Common~1\Micros~1\dao\dao360.dll > >>> >>> >> OK ref: stdole 2.0 C:\WINDOWS\system32\stdole2.tlb OK ref: > >>> >>> >> ADODB 2.8 C:\Program Files\Common Files\System\ado\msado15.dll > >>> >>> >> > >>> >>> >> ...where the heck did the VBA 4.0/Access 9.0/DAO 5.0 come > > from? > >>> >>> >> > >>> >> > >>> >> -- > >>> >> AccessD mailing list > >>> >> AccessD at databaseadvisors.com > >>> >> http://databaseadvisors.com/mailman/listinfo/accessd > >>> >> Website: http://www.databaseadvisors.com > >>> >> > >>> > > >>> > > >>> > -- > >>> > AccessD mailing list > >>> > AccessD at databaseadvisors.com > >>> > http://databaseadvisors.com/mailman/listinfo/accessd > >>> > Website: http://www.databaseadvisors.com > >>> > > >>> > >>> > >>> -- > >>> AccessD mailing list > >>> AccessD at databaseadvisors.com > >>> http://databaseadvisors.com/mailman/listinfo/accessd > >>> Website: http://www.databaseadvisors.com > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > 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 May 28 05:39:09 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 28 May 2009 10:39:09 +0000 Subject: [AccessD] FW: Cross-tab (I think) Message-ID: <200905280939.n4S9dEog029228@databaseadvisors.com> AD, this is just brilliant. Genius. I've just recreated this for my own tables and it gives exactly what I wanted. I am soooooooo impressed. To everyone else, store this in your kit bag. You may not need this now. You may not have picked up on what I was asking for. But the technique is a gem and so applicable to many situations. Thanks again AD :-)) Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: 27 May 2009 19:56 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cross-tab (I think) Andy, Crosstab query named Q_2 as given below, should get the results sought by you. It makes use of simple select query Q_1, also given below. T_Products is the table having text type fields named Product and Supplier respectively. Creation of sequential numbers (Rank) in Q_1 for each product, covering associated suppliers ensures that there are no redundant columns in the output provided by crosstab query Q_2. Note: In query Q_1, DCount() function has been used in lieu of a subquery as the latter does not suit subsequent use in crosstab query. Best wishes, A.D. Tejpal ------------ Q_2 (Final query - Crosstab) ====================================== TRANSFORM First(Q_1.Supplier) AS FirstOfSupplier SELECT Q_1.Product FROM Q_1 GROUP BY Q_1.Product PIVOT Q_1.Rank; ====================================== Q_1 (First stage query - Simple Select) ====================================== SELECT T_Products.*, DCount("*","T_Products","Product = '" & [Product] & "' AND Supplier <= '" & [Supplier] & "'") AS Rank FROM T_Products; ====================================== ----- Original Message ----- From: Andy Lacey To: Access Developers discussion and problem solving Sent: Wednesday, May 27, 2009 21:46 Subject: [AccessD] Cross-tab (I think) Hi folks This should be simple but I can't see it. Have a query which gives a list of raw materials and suppliers, ie Mat1 SuppA Mat1 SuppB Mat1 SuppC Mat2 SuppA Mat2 SuppD and so on What I want is a query result for extract to Excel which transposes the suppliers into columns giving a single row per material. Thus: Mat1 SuppA SuppB SuppC Mat2 SuppA SuppD Mat3 SupZZ etc We must have had this a zillion times but I can't get it to go. Heeeeeeeeeeeellppppp! -- Andy ________________________________________________ Message sent using UebiMiau 2.7.2 From kost36 at otenet.gr Thu May 28 06:42:29 2009 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 28 May 2009 14:42:29 +0300 Subject: [AccessD] integer in hh:mm format References: <4A1C595C.3050803@colbyconsulting.com>, <4A1E20D5.25374.50ED543@stuart.lexacorp.com.pg> Message-ID: <84EE8DCCC6F94C3D8FE8AE8188522D32@kost36pc> hi group I have a number e.g. 6910 how could it converted in hours:minutes format like 115:10 many thanks /kostas From Gustav at cactus.dk Thu May 28 06:55:43 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 May 2009 13:55:43 +0200 Subject: [AccessD] integer in hh:mm format Message-ID: Hi Kostas You can do it like this: strHourMinute = FormatHourMinute(TimeSerial(0, 6910, 0)) and the function: Public Function FormatHourMinute( _ ByVal datTime As Date, _ Optional ByVal strSeparator As String = ":") _ As String ' Returns count of days, hours and minutes of datTime ' converted to hours and minutes as a formatted string ' with an optional choice of time separator. ' ' Example: ' datTime: #10:03# + #20:01# ' returns: 30:04 ' ' 2005-02-05. Cactus Data ApS, CPH. Dim strHour As String Dim strMinute As String Dim strHourMinute As String strHour = CStr(Fix(datTime) * 24 + Hour(datTime)) ' Add leading zero to minute count when needed. strMinute = Right("0" & CStr(Minute(datTime)), 2) strHourMinute = strHour & strSeparator & strMinute FormatHourMinute = strHourMinute End Function /gustav >>> kost36 at otenet.gr 28-05-2009 13:42 >>> hi group I have a number e.g. 6910 how could it converted in hours:minutes format like 115:10 many thanks /kostas From stuart at lexacorp.com.pg Thu May 28 06:57:49 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 May 2009 21:57:49 +1000 Subject: [AccessD] integer in hh:mm formatI res In-Reply-To: <84EE8DCCC6F94C3D8FE8AE8188522D32@kost36pc> References: <4A1C595C.3050803@colbyconsulting.com>, <84EE8DCCC6F94C3D8FE8AE8188522D32@kost36pc> Message-ID: <4A1E7C3D.4714.673E6D7@stuart.lexacorp.com.pg> x = 6910 strHoursMinutes = INT(x/60) & ":" & x MOD 60 -- Stuart On 28 May 2009 at 14:42, Kostas Konstantinidis wrote: > hi group > I have a number e.g. 6910 > how could it converted in hours:minutes format > like 115:10 > > many thanks > > /kostas > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kost36 at otenet.gr Thu May 28 07:01:38 2009 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 28 May 2009 15:01:38 +0300 Subject: [AccessD] integer in hh:mm format References: <4A1C595C.3050803@colbyconsulting.com>, <4A1E20D5.25374.50ED543@stuart.lexacorp.com.pg> <84EE8DCCC6F94C3D8FE8AE8188522D32@kost36pc> Message-ID: <0D52DEBEB00B465EAA5F3DA552130CF3@kost36pc> I just use Total_Time: Int([DURATION]/60) & " hrs. " & ([SumOfDURATION] Mod 60) & " minutes." cause I don't know how to syntax the hhh:mm format thank's again From Gustav at cactus.dk Thu May 28 07:07:44 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 28 May 2009 14:07:44 +0200 Subject: [AccessD] integer in hh:mm format Message-ID: Hi Kostas Yes, but you will miss the leading zero for minutes less than 10. See my previous post for a simple method to add that. /gustav >>> kost36 at otenet.gr 28-05-2009 14:01 >>> I just use Total_Time: Int([DURATION]/60) & " hrs. " & ([SumOfDURATION] Mod 60) & " minutes." cause I don't know how to syntax the hhh:mm format thank's again From stuart at lexacorp.com.pg Thu May 28 07:13:37 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 28 May 2009 22:13:37 +1000 Subject: [AccessD] integer in hh:mm format In-Reply-To: References: Message-ID: <4A1E7FF1.28635.6825BA8@stuart.lexacorp.com.pg> In which case, Int(Duration/60) & ":" & format(duration mod 60,"00) On 28 May 2009 at 14:07, Gustav Brock wrote: > Hi Kostas > > Yes, but you will miss the leading zero for minutes less than 10. > See my previous post for a simple method to add that. > > /gustav > > >>> kost36 at otenet.gr 28-05-2009 14:01 >>> > I just use > Total_Time: Int([DURATION]/60) & " hrs. " & ([SumOfDURATION] Mod 60) & " > minutes." > cause I don't know how to syntax the hhh:mm format > > thank's again > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From kost36 at otenet.gr Thu May 28 07:29:22 2009 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Thu, 28 May 2009 15:29:22 +0300 Subject: [AccessD] integer in hh:mm format References: <4A1E7FF1.28635.6825BA8@stuart.lexacorp.com.pg> Message-ID: Gustav and Stuart, it works fine with one or the other way many thank's both of you ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Thursday, May 28, 2009 3:13 PM Subject: Re: [AccessD] integer in hh:mm format > In which case, > Int(Duration/60) & ":" & format(duration mod 60,"00) > > > On 28 May 2009 at 14:07, Gustav Brock wrote: > >> Hi Kostas >> >> Yes, but you will miss the leading zero for minutes less than 10. >> See my previous post for a simple method to add that. >> >> /gustav >> >> >>> kost36 at otenet.gr 28-05-2009 14:01 >>> >> I just use >> Total_Time: Int([DURATION]/60) & " hrs. " & ([SumOfDURATION] Mod 60) & " >> minutes." >> cause I don't know how to syntax the hhh:mm format >> >> thank's again >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From adtp at airtelmail.in Thu May 28 09:22:34 2009 From: adtp at airtelmail.in (A.D.Tejpal) Date: Thu, 28 May 2009 19:52:34 +0530 Subject: [AccessD] FW: Cross-tab (I think) References: <200905280939.n4S9dEog029228@databaseadvisors.com> Message-ID: <00cd01c9df9f$d3f9d710$485fa27a@personald6374f> Thanks for such generous compliments Andy! So nice of you. Your gracious post makes me feel on top of the world. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Andy Lacey To: Dba Sent: Thursday, May 28, 2009 16:09 Subject: [AccessD] FW: Cross-tab (I think) AD, this is just brilliant. Genius. I've just recreated this for my own tables and it gives exactly what I wanted. I am soooooooo impressed. To everyone else, store this in your kit bag. You may not need this now. You may not have picked up on what I was asking for. But the technique is a gem and so applicable to many situations. Thanks again AD :-)) Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: 27 May 2009 19:56 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cross-tab (I think) Andy, Crosstab query named Q_2 as given below, should get the results sought by you. It makes use of simple select query Q_1, also given below. T_Products is the table having text type fields named Product and Supplier respectively. Creation of sequential numbers (Rank) in Q_1 for each product, covering associated suppliers ensures that there are no redundant columns in the output provided by crosstab query Q_2. Note: In query Q_1, DCount() function has been used in lieu of a subquery as the latter does not suit subsequent use in crosstab query. Best wishes, A.D. Tejpal ------------ Q_2 (Final query - Crosstab) ====================================== TRANSFORM First(Q_1.Supplier) AS FirstOfSupplier SELECT Q_1.Product FROM Q_1 GROUP BY Q_1.Product PIVOT Q_1.Rank; ====================================== Q_1 (First stage query - Simple Select) ====================================== SELECT T_Products.*, DCount("*","T_Products","Product = '" & [Product] & "' AND Supplier <= '" & [Supplier] & "'") AS Rank FROM T_Products; ====================================== From jwcolby at colbyconsulting.com Thu May 28 10:20:42 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Thu, 28 May 2009 11:20:42 -0400 Subject: [AccessD] I'm Back In-Reply-To: References: <003801c9df24$323c5040$131b910a@denzilnote> Message-ID: <4A1EABCA.7030007@colbyconsulting.com> > ...Drew came back too? :) I could swear he said THE VOICE OF REASON! ;) John W. Colby www.ColbyConsulting.com William Hindman wrote: > ...Drew came back too? :) > > William > > -------------------------------------------------- > From: "Darren D" > Sent: Wednesday, May 27, 2009 7:38 PM > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] I'm Back > >> Welcome back Charlotte >> >> The voice of reason has returned :-) >> >> See y'all >> >> Darren >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >> Sent: Wednesday, 27 May 2009 4:32 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] I'm Back >> >> Did you miss me? Aside from the Bermuda stalker, that is! I fractured >> me left humerus and the greater tuberosity 5 weeks ago and this is the >> first day back at work. Couldn't figure out how to connect from my >> Vista laptop, so I suffered list withdrawal for 5 weeks! >> >> Charlotte >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> 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 nciinc.com Thu May 28 10:33:31 2009 From: JHewson at nciinc.com (Hewson, Jim ) Date: Thu, 28 May 2009 10:33:31 -0500 Subject: [AccessD] Access 2007 Compacting on Opening and Closing - SOLVED In-Reply-To: <7E02B06E41E5404589EDDDA2BAA1C5A86BDD3F@sanex101.nciinc.com> References: <7E02B06E41E5404589EDDDA2BAA1C5A86BDD3F@sanex101.nciinc.com> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A86BDD55@sanex101.nciinc.com> The one database was on a user's machine in another state. He never noticed the compacting until a file grew over 200MB. BUT, he have been working with this database solution for months and recently upgraded his Office install to 2007. The database file was also converted to Access 2007. The default Macro Settings is to "Disable all macros with notification" so when he clicked the options button to allow the code, he would get the compacting message in the status bar. When I told him to change the Macro Settings to "Enable all macros..." the compacting message on opening did not occur. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hewson, Jim Sent: Wednesday, May 27, 2009 4:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Access 2007 Compacting on Opening and Closing I have a rather complex Access 2007 database that imports multiple files, manipulates the data, then exports several files in different formats. Starting with a file that is about 2MB and then after importing, manipulating the data, and exporting the file size jumps to over 240MB. That's expected. When it closes it compacts... that also is expected and planned. The database is used as an intermediate step manage data that is exported from a legacy system (sometimes the export is 20 or more files) to importing into a new system... with one file. A file with no data is maintained so that when the need arises it can be copied and the new exports can be imported into the new system. There is one file that after it grew to 257MB, it started to compact when opening and closing. I've scanned several Access sites and Microsoft but can't find anything. Any ideas why this would occur? Thanks, Jim Jim Hewson ################################################################################ If you have received this message in error, please contact the sender immediately and be aware that the use, copying, or dissemination of this information is prohibited. This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. ################################################################################ From edzedz at comcast.net Thu May 28 11:02:06 2009 From: edzedz at comcast.net (Edward Zuris) Date: Thu, 28 May 2009 10:02:06 -0600 Subject: [AccessD] FW: Cross-tab (I think) In-Reply-To: <00cd01c9df9f$d3f9d710$485fa27a@personald6374f> Message-ID: <000801c9dfad$a6eb1410$5bdea8c0@edz1> I always reading A.D. Tejpal posts. You should feel on top of the World. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Thursday, May 28, 2009 8:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: Cross-tab (I think) Thanks for such generous compliments Andy! So nice of you. Your gracious post makes me feel on top of the world. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Andy Lacey To: Dba Sent: Thursday, May 28, 2009 16:09 Subject: [AccessD] FW: Cross-tab (I think) AD, this is just brilliant. Genius. I've just recreated this for my own tables and it gives exactly what I wanted. I am soooooooo impressed. To everyone else, store this in your kit bag. You may not need this now. You may not have picked up on what I was asking for. But the technique is a gem and so applicable to many situations. Thanks again AD :-)) Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: 27 May 2009 19:56 To: Access Developers discussion and problem solving Subject: Re: [AccessD] Cross-tab (I think) Andy, Crosstab query named Q_2 as given below, should get the results sought by you. It makes use of simple select query Q_1, also given below. T_Products is the table having text type fields named Product and Supplier respectively. Creation of sequential numbers (Rank) in Q_1 for each product, covering associated suppliers ensures that there are no redundant columns in the output provided by crosstab query Q_2. Note: In query Q_1, DCount() function has been used in lieu of a subquery as the latter does not suit subsequent use in crosstab query. Best wishes, A.D. Tejpal ------------ Q_2 (Final query - Crosstab) ====================================== TRANSFORM First(Q_1.Supplier) AS FirstOfSupplier SELECT Q_1.Product FROM Q_1 GROUP BY Q_1.Product PIVOT Q_1.Rank; ====================================== Q_1 (First stage query - Simple Select) ====================================== SELECT T_Products.*, DCount("*","T_Products","Product = '" & [Product] & "' AND Supplier <= '" & [Supplier] & "'") AS Rank FROM T_Products; ====================================== -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Thu May 28 11:11:59 2009 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 28 May 2009 09:11:59 -0700 Subject: [AccessD] 'Find' popup location In-Reply-To: References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> Message-ID: <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> Thanks, Drew. That's an interesting program. It does work, but after I move the Find window, close Access and come back in, the Find window still jumps to the same place, almost out of sight at the top of the monitor. I've been experimenting, and I think I found out the cause of this behaviour. I'm working with dual monitors and the vertical resolution of the two monitors is different. I suspect that Access can't handle this, and is trying to put the Find window in what would be the clear space at the top of the vertically shorter monitor. If I change the alignment of the monitors in Display Properties/Settings so that the tops of the displays are aligned instead of the bottoms, the Find window then disappears at the bottom of the shorter monitor. The Find window works OK if I use the larger monitor for my code window. Guess I'm just going to have to treat myself to a second big monitor! Doug On Wed, May 27, 2009 at 10:01 AM, Drew Wutka wrote: > http://www.marlow.com/downloads/MoveWindows.exe > > Run that, and find the window for that pop-up. (Run it when the popup > is open). You can move and resize the window with the left right top > bottom settings. > > Kind of a crude program, but I created it for the exact problem you > describe. (Your Popup may be a child window under the Access window). > > Drew > > From DWUTKA at Marlow.com Thu May 28 12:04:59 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 28 May 2009 12:04:59 -0500 Subject: [AccessD] I'm Back In-Reply-To: References: <003801c9df24$323c5040$131b910a@denzilnote> Message-ID: LOL, man, you make us sound like a bunch of junkies! Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Wednesday, May 27, 2009 10:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] I'm Back ...no more OT ...its the only thing I ever got "hooked" on in my life (besides the wife) ...I'm clean and staying that way :) William -------------------------------------------------- From: "Drew Wutka" Sent: Wednesday, May 27, 2009 11:06 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] I'm Back > Never left....just don't interject my 'reason' all the time! ;) > > You need to pop in on OT once in a while, it's getting boring over there > sometimes! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, May 27, 2009 9:22 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I'm Back > > ...Drew came back too? :) > > William > > -------------------------------------------------- > From: "Darren D" > Sent: Wednesday, May 27, 2009 7:38 PM > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] I'm Back > >> Welcome back Charlotte >> >> The voice of reason has returned :-) >> >> See y'all >> >> Darren >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust >> Sent: Wednesday, 27 May 2009 4:32 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] I'm Back >> >> Did you miss me? Aside from the Bermuda stalker, that is! I > fractured >> me left humerus and the greater tuberosity 5 weeks ago and this is the >> first day back at work. Couldn't figure out how to connect from my >> Vista laptop, so I suffered list withdrawal for 5 weeks! >> >> Charlotte >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI > Business > Sensitive material. If you are not the intended recipient, please contact > the sender > immediately and destroy the material in its entirety, whether electronic > or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, > or other use of, or taking of any action in reliance upon this information > by persons > or entities other than the intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From DWUTKA at Marlow.com Thu May 28 12:08:38 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Thu, 28 May 2009 12:08:38 -0500 Subject: [AccessD] 'Find' popup location In-Reply-To: <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> Message-ID: I kinda figured you had multiple monitors. That's the reason I created that program, because multiple monitors can wreak havoc with some programs when it comes to their opening positions. In my case, I had Microsoft Photo Editor, would 'open' off screen. You could Maximize it, and it would be there, but in 'normal' mode, it was off screen. I actually wrote that 'MoveWindows' program for my brother, cause he was having a similar problem with a different program, that wouldn't maximize either. What's neat about that program is that most people don't realize how many 'windows' are actually running on their computer. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, May 28, 2009 11:12 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 'Find' popup location Thanks, Drew. That's an interesting program. It does work, but after I move the Find window, close Access and come back in, the Find window still jumps to the same place, almost out of sight at the top of the monitor. I've been experimenting, and I think I found out the cause of this behaviour. I'm working with dual monitors and the vertical resolution of the two monitors is different. I suspect that Access can't handle this, and is trying to put the Find window in what would be the clear space at the top of the vertically shorter monitor. If I change the alignment of the monitors in Display Properties/Settings so that the tops of the displays are aligned instead of the bottoms, the Find window then disappears at the bottom of the shorter monitor. The Find window works OK if I use the larger monitor for my code window. Guess I'm just going to have to treat myself to a second big monitor! Doug On Wed, May 27, 2009 at 10:01 AM, Drew Wutka wrote: > http://www.marlow.com/downloads/MoveWindows.exe > > Run that, and find the window for that pop-up. (Run it when the popup > is open). You can move and resize the window with the left right top > bottom settings. > > Kind of a crude program, but I created it for the exact problem you > describe. (Your Popup may be a child window under the Access window). > > Drew > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From Lambert.Heenan at aiuholdings.com Thu May 28 12:55:56 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 28 May 2009 13:55:56 -0400 Subject: [AccessD] 'Find' popup location In-Reply-To: <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> Message-ID: When you call up the Find dialog and it is off screen (or almost) then just hit Alt-Space and then the M key. That selects 'Move' from the dialog's system menu and you can then move the offending window by using the arrow keys. No need to run another program first. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, May 28, 2009 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] 'Find' popup location Thanks, Drew. That's an interesting program. It does work, but after I move the Find window, close Access and come back in, the Find window still jumps to the same place, almost out of sight at the top of the monitor. I've been experimenting, and I think I found out the cause of this behaviour. I'm working with dual monitors and the vertical resolution of the two monitors is different. I suspect that Access can't handle this, and is trying to put the Find window in what would be the clear space at the top of the vertically shorter monitor. If I change the alignment of the monitors in Display Properties/Settings so that the tops of the displays are aligned instead of the bottoms, the Find window then disappears at the bottom of the shorter monitor. The Find window works OK if I use the larger monitor for my code window. Guess I'm just going to have to treat myself to a second big monitor! Doug On Wed, May 27, 2009 at 10:01 AM, Drew Wutka wrote: > http://www.marlow.com/downloads/MoveWindows.exe > > Run that, and find the window for that pop-up. (Run it when the popup > is open). You can move and resize the window with the left right top > bottom settings. > > Kind of a crude program, but I created it for the exact problem you > describe. (Your Popup may be a child window under the Access window). > > Drew > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu May 28 13:31:24 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 28 May 2009 11:31:24 -0700 (PDT) Subject: [AccessD] Can you use an API in vba to shutdown a monitor? In-Reply-To: References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> Message-ID: <553975.96546.qm@web110201.mail.gq1.yahoo.com> I am sure it is possible but I cannot find any code to shutdown my monitor with code. Does anyone have any direction? Thanks. From Lambert.Heenan at aiuholdings.com Thu May 28 13:53:34 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 28 May 2009 14:53:34 -0400 Subject: [AccessD] Can you use an API in vba to shutdown a monitor? In-Reply-To: <553975.96546.qm@web110201.mail.gq1.yahoo.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> <553975.96546.qm@web110201.mail.gq1.yahoo.com> Message-ID: http://forums.devshed.com/visual-basic-programming-52/turn-off-monitor-72283.html Looks like the answer. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, May 28, 2009 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can you use an API in vba to shutdown a monitor? I am sure it is possible but I cannot find any code to shutdown my monitor with code. Does anyone have any direction? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Thu May 28 13:55:24 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 May 2009 14:55:24 -0400 Subject: [AccessD] I'm Back References: <003801c9df24$323c5040$131b910a@denzilnote> <4A1EABCA.7030007@colbyconsulting.com> Message-ID: <25EA3CE1094843808527DA8644F197FA@jislaptopdev> ...I KNEW you'd not be able to resist that lure! ...what a fish you are :) William -------------------------------------------------- From: "jwcolby" Sent: Thursday, May 28, 2009 11:20 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] I'm Back > > ...Drew came back too? :) > > I could swear he said THE VOICE OF REASON! > > ;) > > John W. Colby > www.ColbyConsulting.com > > > William Hindman wrote: >> ...Drew came back too? :) >> >> William >> >> -------------------------------------------------- >> From: "Darren D" >> Sent: Wednesday, May 27, 2009 7:38 PM >> To: "'Access Developers discussion and problem solving'" >> >> Subject: Re: [AccessD] I'm Back >> >>> Welcome back Charlotte >>> >>> The voice of reason has returned :-) >>> >>> See y'all >>> >>> Darren >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >>> Foust >>> Sent: Wednesday, 27 May 2009 4:32 AM >>> To: AccessD at databaseadvisors.com >>> Subject: [AccessD] I'm Back >>> >>> Did you miss me? Aside from the Bermuda stalker, that is! I fractured >>> me left humerus and the greater tuberosity 5 weeks ago and this is the >>> first day back at work. Couldn't figure out how to connect from my >>> Vista laptop, so I suffered list withdrawal for 5 weeks! >>> >>> Charlotte >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Thu May 28 13:56:50 2009 From: wdhindman at dejpolsystems.com (William Hindman) Date: Thu, 28 May 2009 14:56:50 -0400 Subject: [AccessD] I'm Back References: <003801c9df24$323c5040$131b910a@denzilnote> Message-ID: ...if the shoe fits :) William -------------------------------------------------- From: "Drew Wutka" Sent: Thursday, May 28, 2009 1:04 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] I'm Back > LOL, man, you make us sound like a bunch of junkies! > > Drew > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William > Hindman > Sent: Wednesday, May 27, 2009 10:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] I'm Back > > ...no more OT ...its the only thing I ever got "hooked" on in my life > (besides the wife) ...I'm clean and staying that way :) > > William > > -------------------------------------------------- > From: "Drew Wutka" > Sent: Wednesday, May 27, 2009 11:06 PM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] I'm Back > >> Never left....just don't interject my 'reason' all the time! ;) >> >> You need to pop in on OT once in a while, it's getting boring over > there >> sometimes! >> >> Drew >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Wednesday, May 27, 2009 9:22 PM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] I'm Back >> >> ...Drew came back too? :) >> >> William >> >> -------------------------------------------------- >> From: "Darren D" >> Sent: Wednesday, May 27, 2009 7:38 PM >> To: "'Access Developers discussion and problem solving'" >> >> Subject: Re: [AccessD] I'm Back >> >>> Welcome back Charlotte >>> >>> The voice of reason has returned :-) >>> >>> See y'all >>> >>> Darren >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >>> Sent: Wednesday, 27 May 2009 4:32 AM >>> To: AccessD at databaseadvisors.com >>> Subject: [AccessD] I'm Back >>> >>> Did you miss me? Aside from the Bermuda stalker, that is! I >> fractured >>> me left humerus and the greater tuberosity 5 weeks ago and this is > the >>> first day back at work. Couldn't figure out how to connect from my >>> Vista laptop, so I suffered list withdrawal for 5 weeks! >>> >>> Charlotte >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> The information contained in this transmission is intended only for > the >> person or entity >> to which it is addressed and may contain II-VI Proprietary and/or > II-VI >> Business >> Sensitive material. If you are not the intended recipient, please > contact >> the sender >> immediately and destroy the material in its entirety, whether > electronic >> or hard copy. >> You are notified that any review, retransmission, copying, disclosure, > >> dissemination, >> or other use of, or taking of any action in reliance upon this > information >> by persons >> or entities other than the intended recipient is prohibited. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > The information contained in this transmission is intended only for the > person or entity > to which it is addressed and may contain II-VI Proprietary and/or II-VI > Business > Sensitive material. If you are not the intended recipient, please contact > the sender > immediately and destroy the material in its entirety, whether electronic > or hard copy. > You are notified that any review, retransmission, copying, disclosure, > dissemination, > or other use of, or taking of any action in reliance upon this information > by persons > or entities other than the intended recipient is prohibited. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From prodevmg at yahoo.com Thu May 28 14:11:52 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 28 May 2009 12:11:52 -0700 (PDT) Subject: [AccessD] Can you use an API in vba to shutdown a monitor? In-Reply-To: References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> <553975.96546.qm@web110201.mail.gq1.yahoo.com> Message-ID: <109357.81644.qm@web110202.mail.gq1.yahoo.com> Thanks. That seemed to work initially. It comes back on after about 2 seconds. ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us ? ________________________________ From: "Heenan, Lambert" To: Access Developers discussion and problem solving Sent: Thursday, May 28, 2009 1:53:34 PM Subject: Re: [AccessD] Can you use an API in vba to shutdown a monitor? http://forums.devshed.com/visual-basic-programming-52/turn-off-monitor-72283.html Looks like the answer. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, May 28, 2009 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can you use an API in vba to shutdown a monitor? I am sure it is possible but I cannot find any code to shutdown my monitor with code. Does anyone have any direction? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at aiuholdings.com Thu May 28 16:03:04 2009 From: Lambert.Heenan at aiuholdings.com (Heenan, Lambert) Date: Thu, 28 May 2009 17:03:04 -0400 Subject: [AccessD] Can you use an API in vba to shutdown a monitor? In-Reply-To: <109357.81644.qm@web110202.mail.gq1.yahoo.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> <553975.96546.qm@web110201.mail.gq1.yahoo.com> <109357.81644.qm@web110202.mail.gq1.yahoo.com> Message-ID: That's because one line of code turns off the screen, and the other turns it back on again. Drop this code into a form to see it in action... Option Compare Database Option Explicit Private Declare Function SendMessage Lib _ "user32" Alias "SendMessageA" (ByVal hwnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Any) As Long Private Declare Sub sapiSleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long) Const SC_MONITORPOWER = &HF170& Const MONITOR_ON = -1& Const MONITOR_OFF = 2& Const WM_SYSCOMMAND = &H112 Private Sub Command0_Click() ' 'Turn Monitor off: SendMessage Me.hwnd, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_OFF sapiSleep 5000 ' wait 5 seconds 'Turn Monitor on: SendMessage Me.hwnd, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_ON End Sub Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, May 28, 2009 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can you use an API in vba to shutdown a monitor? Thanks. That seemed to work initially. It comes back on after about 2 seconds. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ________________________________ From: "Heenan, Lambert" To: Access Developers discussion and problem solving Sent: Thursday, May 28, 2009 1:53:34 PM Subject: Re: [AccessD] Can you use an API in vba to shutdown a monitor? http://forums.devshed.com/visual-basic-programming-52/turn-off-monitor-72283.html Looks like the answer. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, May 28, 2009 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can you use an API in vba to shutdown a monitor? I am sure it is possible but I cannot find any code to shutdown my monitor with code. Does anyone have any direction? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu May 28 17:23:22 2009 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 28 May 2009 15:23:22 -0700 (PDT) Subject: [AccessD] Can you use an API in vba to shutdown a monitor? In-Reply-To: References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> <553975.96546.qm@web110201.mail.gq1.yahoo.com> <109357.81644.qm@web110202.mail.gq1.yahoo.com> Message-ID: <916163.6877.qm@web110205.mail.gq1.yahoo.com> I only put this line in?the click event of a?button... SendMessage Me.hwnd, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_OFF Thanks. ? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development?of MS Access Databases Visit me at ==> http://www.prodev.us ? ________________________________ From: "Heenan, Lambert" To: Access Developers discussion and problem solving Sent: Thursday, May 28, 2009 4:03:04 PM Subject: Re: [AccessD] Can you use an API in vba to shutdown a monitor? That's because one line of code turns off the screen, and the other turns it back on again. Drop this code into a form to see it in action... Option Compare Database Option Explicit Private Declare Function SendMessage Lib _ "user32" Alias "SendMessageA" (ByVal hwnd As Long, _ ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Any) As Long Private Declare Sub sapiSleep Lib "kernel32" Alias "Sleep" (ByVal dwMilliseconds As Long) Const SC_MONITORPOWER = &HF170& Const MONITOR_ON = -1& Const MONITOR_OFF = 2& Const WM_SYSCOMMAND = &H112 Private Sub Command0_Click() ' 'Turn Monitor off: SendMessage Me.hwnd, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_OFF sapiSleep 5000 ' wait 5 seconds 'Turn Monitor on: SendMessage Me.hwnd, WM_SYSCOMMAND, SC_MONITORPOWER, MONITOR_ON End Sub Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, May 28, 2009 3:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Can you use an API in vba to shutdown a monitor? Thanks. That seemed to work initially. It comes back on after about 2 seconds. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us ________________________________ From: "Heenan, Lambert" To: Access Developers discussion and problem solving Sent: Thursday, May 28, 2009 1:53:34 PM Subject: Re: [AccessD] Can you use an API in vba to shutdown a monitor? http://forums.devshed.com/visual-basic-programming-52/turn-off-monitor-72283.html Looks like the answer. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, May 28, 2009 2:31 PM To: Access Developers discussion and problem solving Subject: [AccessD] Can you use an API in vba to shutdown a monitor? I am sure it is possible but I cannot find any code to shutdown my monitor with code. Does anyone have any direction? Thanks. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From kismert at gmail.com Fri May 29 09:48:31 2009 From: kismert at gmail.com (Kenneth Ismert) Date: Fri, 29 May 2009 09:48:31 -0500 Subject: [AccessD] Basic Question Message-ID: <7c7841600905290748pd3a7741ja324c6b6ee2bded6@mail.gmail.com> This provoked a distant cob-webbed memory ... I recall running into this problem -- it seems the first row in a union query is treated as a 'header' row, so if the first query returns no results, the union query gets foobared. I fixed this by making a local table, tblUnionQueryHeader, with one column HeaderColumn (integer). This table must contain one row -- give it a value of 1. Modify your union query to read: select [HeaderColumn], "" As [WBS1], 0 as [BeginFee], 0 as [EndFee] from [tblUnionQueryHeader] UNION select 0 as [HeaderColumn], [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] from [qryReportingBacklogFeeBegin] UNION select 0 as [HeaderColumn], [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as [EndFee] from [qryReportingBacklogFeeEnd]; This way you always get one good header row, with values for each column that the union query will return. Use default values appropriate for each column's datatype (I'm guessing WBS1 is a string). In the parent query, you can simply add HeaderColumn=0 to your where clause to exclude the header tow. -Ken > > Keith Williamson wrote: > >> Hey gurus, >> >> I have a basic question for you. Quite a few times, in the past, I've >> used Union Join queries to join different queries into common data. For >> instance: >> >> select [WBS1], [SumOfFeeBillingCurrency] as [BeginFee], 0 as [EndFee] >> from [qryReportingBacklogFeeBegin] >> >> UNION select [WBS1], 0 as [BeginFee], [SumOfFeeBillingCurrency] as >> [EndFee] from [qryReportingBacklogFeeEnd]; >> >> Recently I was testing one.....and discovered that my data result was >> not correct. I was thinking that with the union join, if one dataset >> did not have matching data, to the other...I would only get one line of >> data. Otherwise, I should get two lines....which I then summarized in >> another query of this union join. However, I found that I only got data >> from the datasets, where the select occurred in BOTH sets...([WBS1], in >> the above scenario.) Is that right?? >> Keith Williamson | Associate, Asst. Controller | kwilliamson at rtkl.com >> RTKL Associates Inc. | 901 South Bond St. | Baltimore, MD 21231 >> >> 410.537.6098 Direct | 410.276.4232 Fax | www.rtkl.com >> > From max.wanadoo at gmail.com Fri May 29 11:15:37 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 29 May 2009 17:15:37 +0100 Subject: [AccessD] OT: The Future In-Reply-To: <916163.6877.qm@web110205.mail.gq1.yahoo.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> <553975.96546.qm@web110201.mail.gq1.yahoo.com> <109357.81644.qm@web110202.mail.gq1.yahoo.com> <916163.6877.qm@web110205.mail.gq1.yahoo.com> Message-ID: <4a200a3a.0a1ad00a.7b8c.22c5@mx.google.com> Here is a glimpse of the future. http://www.techcrunch.com/2009/05/28/google-wave-drips-with-ambition-can-it- fulfill-googles-grand-web-vision/ Max From Gustav at cactus.dk Fri May 29 12:01:57 2009 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 29 May 2009 19:01:57 +0200 Subject: [AccessD] OT: Google Wave API (was: The Future) Message-ID: Hi Max Still wondering what this really is about, I located these links of more interest to programmers: http://www.waveprotocol.org http://code.google.com/intl/da/apis/wave/guide.html You could (?) look at this as an "SMTP protocol version 2009" (!) ... /gustav >>> max.wanadoo at gmail.com 29-05-2009 18:15 >>> Here is a glimpse of the future. http://www.techcrunch.com/2009/05/28/google-wave-drips-with-ambition-can-it-fulfill-googles-grand-web-vision/ Max From max.wanadoo at gmail.com Fri May 29 12:56:10 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 29 May 2009 18:56:10 +0100 Subject: [AccessD] OT:VirtualBox In-Reply-To: References: Message-ID: <4a2021be.0437560a.5f77.41a5@mx.google.com> https://dct.sun.com/dct/forms/reg_us_0604_101_0.jsp?email=max.wanadoo%40gmai l.com&mid=1159505792&cid=e8375g Max From max.wanadoo at gmail.com Fri May 29 12:57:14 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Fri, 29 May 2009 18:57:14 +0100 Subject: [AccessD] OT: Google Wave API (was: The Future) In-Reply-To: References: Message-ID: <4a202200.1358560a.538e.fffff0f7@mx.google.com> That's it! Spot on Gustav. Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: 29 May 2009 18:02 To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Google Wave API (was: The Future) Hi Max Still wondering what this really is about, I located these links of more interest to programmers: http://www.waveprotocol.org http://code.google.com/intl/da/apis/wave/guide.html You could (?) look at this as an "SMTP protocol version 2009" (!) ... /gustav >>> max.wanadoo at gmail.com 29-05-2009 18:15 >>> Here is a glimpse of the future. http://www.techcrunch.com/2009/05/28/google-wave-drips-with-ambition-can-it- fulfill-googles-grand-web-vision/ Max -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 29 15:19:18 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 29 May 2009 13:19:18 -0700 Subject: [AccessD] Password on the Backend Message-ID: Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From accessd at shaw.ca Fri May 29 15:30:06 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 29 May 2009 13:30:06 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: References: Message-ID: <2E6E6F57B12648A6BC0BC3741378DD8B@creativesystemdesigns.com> What is your BE are you using? How are you connecting to it? In ODBC the username and password can be either be built in or it will make a login request with each new connection. ADO-OLE once connected, stays connected until you exit the application. When using ODBC, I just save the username and password in variables and apply them as parameters with each request to the BE. This is off the top... so sorry about the lack of specifics. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 1:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From rockysmolin at bchacc.com Fri May 29 16:22:49 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 29 May 2009 14:22:49 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: <2E6E6F57B12648A6BC0BC3741378DD8B@creativesystemdesigns.com> References: <2E6E6F57B12648A6BC0BC3741378DD8B@creativesystemdesigns.com> Message-ID: The BE is access. The tables are linked. So I'm not opening any tables in the backend when I open the form. But it is bound to a linked table. Rocky' -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 1:30 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend What is your BE are you using? How are you connecting to it? In ODBC the username and password can be either be built in or it will make a login request with each new connection. ADO-OLE once connected, stays connected until you exit the application. When using ODBC, I just save the username and password in variables and apply them as parameters with each request to the BE. This is off the top... so sorry about the lack of specifics. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 1:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.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 May 29 16:40:16 2009 From: DWUTKA at Marlow.com (Drew Wutka) Date: Fri, 29 May 2009 16:40:16 -0500 Subject: [AccessD] Password on the Backend In-Reply-To: References: Message-ID: Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. From miscellany at mvps.org Fri May 29 16:43:49 2009 From: miscellany at mvps.org (Steve Schapel) Date: Sat, 30 May 2009 09:43:49 +1200 Subject: [AccessD] OT: The Future In-Reply-To: <4a200a3a.0a1ad00a.7b8c.22c5@mx.google.com> References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> <553975.96546.qm@web110201.mail.gq1.yahoo.com> <109357.81644.qm@web110202.mail.gq1.yahoo.com> <916163.6877.qm@web110205.mail.gq1.yahoo.com> <4a200a3a.0a1ad00a.7b8c.22c5@mx.google.com> Message-ID: I'd be happy if they could get these guys to sort out the Google Groups search! Regards Steve -------------------------------------------------- From: "Max Wanadoo" Sent: Saturday, May 30, 2009 4:15 AM To: "'Access Developers discussion and problem solving'" Subject: [AccessD] OT: The Future > Here is a glimpse of the future. > > http://www.techcrunch.com/2009/05/28/google-wave-drips-with-ambition-can-it-fulfill-googles-grand-web-vision/ __________ Information from ESET Smart Security, version of virus signature database 4116 (20090529) __________ The message was checked by ESET Smart Security. http://www.eset.com From rockysmolin at bchacc.com Fri May 29 16:58:37 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 29 May 2009 14:58:37 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: References: Message-ID: <0C2B02414BFB40C0898E45189ABFE9B9@HAL9005> I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri May 29 17:58:13 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 29 May 2009 15:58:13 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: References: Message-ID: <0572A50A15B74FD981FA17AA24775682@creativesystemdesigns.com> If you are using a MDB BE then I think Drew's validation method is most appropriate... the package as far as I know (have not been working with the latest versions) has limited security features. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri May 29 18:00:24 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 29 May 2009 16:00:24 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: <0C2B02414BFB40C0898E45189ABFE9B9@HAL9005> References: <0C2B02414BFB40C0898E45189ABFE9B9@HAL9005> Message-ID: <3D4A6D8194B14EADAD0E8D9328582707@creativesystemdesigns.com> Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Fri May 29 18:22:07 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Fri, 29 May 2009 16:22:07 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: <3D4A6D8194B14EADAD0E8D9328582707@creativesystemdesigns.com> References: <0C2B02414BFB40C0898E45189ABFE9B9@HAL9005> <3D4A6D8194B14EADAD0E8D9328582707@creativesystemdesigns.com> Message-ID: Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Sat May 30 07:22:26 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 30 May 2009 13:22:26 +0100 Subject: [AccessD] Password on the Backend In-Reply-To: Message-ID: <7574024C329B425B8E7A98B6EB835931@MINSTER> I did this a year ago Rocky. It works well. As you've found out you have to provide the pw when linking or relinking tables but not thereafter. Of course when you, as developer, open the BE direct you also have to give it. Also, if you use OpenDatabase to open the BE directly in code (say to do an indexed Seek) then you'll need to provide the pw there too but the trick there is to get the pw from the connection string of a linked table and then supply that in the OpenDatabase statement. That way the pw doesn't need to be in your code anywhere. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 30 May 2009 00:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Sat May 30 08:37:08 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 30 May 2009 09:37:08 -0400 Subject: [AccessD] I'm Back In-Reply-To: References: Message-ID: <4A213684.80806@torchlake.com> Oh dear, Charlotte! That's not any fun at all. I hope you are recovering well. Don't forget to do the necessary physical or occupational therapy after the bone heals, to keep your shoulder functional. My dad didn't keep up with his and his shoulder is seriously limited in range of motion. T Charlotte Foust wrote: > The lower end is where your funny bone lives. I broke the shoulder > part. > > Total clumsiness on my part. Light went out over my desk and I got up > in the dark to turn another on. I stepped on a small heater I couldn't > see and had forgotten about and took a header into the wall and onto the > floor. Had 4 stitches above my left eye and a fractured shoulder as a > momento. I'm going to keep a flashlight next to my desk from now on!! > > Charlotte > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > Sent: Tuesday, May 26, 2009 12:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] I'm Back > > Humerus - so named because that's your funny bone? > > Dang - sounds painful. How'd you do it - or is that too embarrassing? > > Rocky > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Tuesday, May 26, 2009 11:32 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] I'm Back > > Did you miss me? Aside from the Bermuda stalker, that is! I fractured > me left humerus and the greater tuberosity 5 weeks ago and this is the > first day back at work. Couldn't figure out how to connect from my > Vista laptop, so I suffered list withdrawal for 5 weeks! > > Charlotte > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From tinanfields at torchlake.com Sat May 30 08:43:58 2009 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 30 May 2009 09:43:58 -0400 Subject: [AccessD] 'Find' popup location In-Reply-To: References: <4dd71a0c0905270833r515e1c01yfea0f662cff213b2@mail.gmail.com> <4dd71a0c0905280911m4cfae8a0n701062daf505f2f@mail.gmail.com> Message-ID: <4A21381E.7010006@torchlake.com> If you use ALT+SPACEBAR, the menu for the window opens and one choice is Move. Then, you can move the window using the arrow keys on the keyboard. I think the Find window will remember where you physically moved it and reopen in that place. T Heenan, Lambert wrote: > When you call up the Find dialog and it is off screen (or almost) then just hit Alt-Space and then the M key. That selects 'Move' from the dialog's system menu and you can then move the offending window by using the arrow keys. No need to run another program first. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele > Sent: Thursday, May 28, 2009 12:12 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] 'Find' popup location > > Thanks, Drew. That's an interesting program. It does work, but after I move the Find window, close Access and come back in, the Find window still jumps to the same place, almost out of sight at the top of the monitor. > > I've been experimenting, and I think I found out the cause of this behaviour. I'm working with dual monitors and the vertical resolution of the two monitors is different. I suspect that Access can't handle this, and is trying to put the Find window in what would be the clear space at the top of the vertically shorter monitor. If I change the alignment of the monitors in Display Properties/Settings so that the tops of the displays are aligned instead of the bottoms, the Find window then disappears at the bottom of the shorter monitor. The Find window works OK if I use the larger monitor for my code window. > > Guess I'm just going to have to treat myself to a second big monitor! > > Doug > > On Wed, May 27, 2009 at 10:01 AM, Drew Wutka wrote: > > >> http://www.marlow.com/downloads/MoveWindows.exe >> >> Run that, and find the window for that pop-up. (Run it when the popup >> is open). You can move and resize the window with the left right top >> bottom settings. >> >> Kind of a crude program, but I created it for the exact problem you >> describe. (Your Popup may be a child window under the Access window). >> >> Drew >> >> >> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From rockysmolin at bchacc.com Sat May 30 09:00:34 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sat, 30 May 2009 07:00:34 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: <7574024C329B425B8E7A98B6EB835931@MINSTER> References: <7574024C329B425B8E7A98B6EB835931@MINSTER> Message-ID: <9D5B2F55500C4B159FF920180163E7FE@HAL9005> I actually prompt the user for the password on sign in and store it in a global variable. It's a database full of patient/medical info so the doc needs it to be a bit more secure. Interesting db, BTW. He's a pediatric endocrinologist at Rady Children's Hospital in San Diego. Treats kids - mostly diabetics. If he can get the data, he can do lots of slicing and dicing - epidemiological studies - find out what works, what doesn't. And hopefully get some grant money to keep paying his programmer. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Saturday, May 30, 2009 5:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I did this a year ago Rocky. It works well. As you've found out you have to provide the pw when linking or relinking tables but not thereafter. Of course when you, as developer, open the BE direct you also have to give it. Also, if you use OpenDatabase to open the BE directly in code (say to do an indexed Seek) then you'll need to provide the pw there too but the trick there is to get the pw from the connection string of a linked table and then supply that in the OpenDatabase statement. That way the pw doesn't need to be in your code anywhere. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 30 May 2009 00:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat May 30 09:07:43 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 30 May 2009 15:07:43 +0100 Subject: [AccessD] Password on the Backend In-Reply-To: <7574024C329B425B8E7A98B6EB835931@MINSTER> References: <7574024C329B425B8E7A98B6EB835931@MINSTER> Message-ID: <4a213db2.0508d00a.196a.310b@mx.google.com> Andy, how would I get the pwd from the linked table? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 30 May 2009 13:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I did this a year ago Rocky. It works well. As you've found out you have to provide the pw when linking or relinking tables but not thereafter. Of course when you, as developer, open the BE direct you also have to give it. Also, if you use OpenDatabase to open the BE directly in code (say to do an indexed Seek) then you'll need to provide the pw there too but the trick there is to get the pw from the connection string of a linked table and then supply that in the OpenDatabase statement. That way the pw doesn't need to be in your code anywhere. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 30 May 2009 00:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat May 30 11:02:02 2009 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 30 May 2009 09:02:02 -0700 Subject: [AccessD] Password on the Backend In-Reply-To: <9D5B2F55500C4B159FF920180163E7FE@HAL9005> References: <7574024C329B425B8E7A98B6EB835931@MINSTER> <9D5B2F55500C4B159FF920180163E7FE@HAL9005> Message-ID: May he secure many grants... :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Saturday, May 30, 2009 7:01 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I actually prompt the user for the password on sign in and store it in a global variable. It's a database full of patient/medical info so the doc needs it to be a bit more secure. Interesting db, BTW. He's a pediatric endocrinologist at Rady Children's Hospital in San Diego. Treats kids - mostly diabetics. If he can get the data, he can do lots of slicing and dicing - epidemiological studies - find out what works, what doesn't. And hopefully get some grant money to keep paying his programmer. :o) Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Saturday, May 30, 2009 5:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I did this a year ago Rocky. It works well. As you've found out you have to provide the pw when linking or relinking tables but not thereafter. Of course when you, as developer, open the BE direct you also have to give it. Also, if you use OpenDatabase to open the BE directly in code (say to do an indexed Seek) then you'll need to provide the pw there too but the trick there is to get the pw from the connection string of a linked table and then supply that in the OpenDatabase statement. That way the pw doesn't need to be in your code anywhere. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 30 May 2009 00:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat May 30 12:49:59 2009 From: andy at minstersystems.co.uk (Andy Lacey) Date: Sat, 30 May 2009 18:49:59 +0100 Subject: [AccessD] Password on the Backend In-Reply-To: <4a213db2.0508d00a.196a.310b@mx.google.com> Message-ID: It's in the connection string, Max. Here's a code fragment which requires a TableDef then looks for "Pwd=" in the connect string. That finds the start of the password. Then it finds the end of the password as either the end of the connect string or the next ; strConnect = Nz(tdf.Connect, "") If Len(strConnect) > 0 Then intPos = InStr(1, strConnect, "Pwd=") If intPos = 0 Then strResult = "" Else intPos = intPos + 4 strResult = Mid(strConnect, intPos) intPos = InStr(1, strResult, ";") If intPos <> 0 Then strResult = Left(strResult, intPos - 1) End If End If End If Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: 30 May 2009 15:08 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Andy, how would I get the pwd from the linked table? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 30 May 2009 13:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I did this a year ago Rocky. It works well. As you've found out you have to provide the pw when linking or relinking tables but not thereafter. Of course when you, as developer, open the BE direct you also have to give it. Also, if you use OpenDatabase to open the BE directly in code (say to do an indexed Seek) then you'll need to provide the pw there too but the trick there is to get the pw from the connection string of a linked table and then supply that in the OpenDatabase statement. That way the pw doesn't need to be in your code anywhere. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 30 May 2009 00:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From max.wanadoo at gmail.com Sat May 30 13:01:58 2009 From: max.wanadoo at gmail.com (Max Wanadoo) Date: Sat, 30 May 2009 19:01:58 +0100 Subject: [AccessD] Password on the Backend In-Reply-To: References: <4a213db2.0508d00a.196a.310b@mx.google.com> Message-ID: <4a2174a4.1c07d00a.4097.6948@mx.google.com> Thanks Andy, that looks straight forward, I will give it a try on Monday. Ta mucho Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 30 May 2009 18:50 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend It's in the connection string, Max. Here's a code fragment which requires a TableDef then looks for "Pwd=" in the connect string. That finds the start of the password. Then it finds the end of the password as either the end of the connect string or the next ; strConnect = Nz(tdf.Connect, "") If Len(strConnect) > 0 Then intPos = InStr(1, strConnect, "Pwd=") If intPos = 0 Then strResult = "" Else intPos = intPos + 4 strResult = Mid(strConnect, intPos) intPos = InStr(1, strResult, ";") If intPos <> 0 Then strResult = Left(strResult, intPos - 1) End If End If End If Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Wanadoo Sent: 30 May 2009 15:08 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Andy, how would I get the pwd from the linked table? Max -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: 30 May 2009 13:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I did this a year ago Rocky. It works well. As you've found out you have to provide the pw when linking or relinking tables but not thereafter. Of course when you, as developer, open the BE direct you also have to give it. Also, if you use OpenDatabase to open the BE directly in code (say to do an indexed Seek) then you'll need to provide the pw there too but the trick there is to get the pw from the connection string of a linked table and then supply that in the OpenDatabase statement. That way the pw doesn't need to be in your code anywhere. Andy -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: 30 May 2009 00:22 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Me neither. That's why I avoid using it. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, May 29, 2009 4:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend Well there you are... Your smarter than me... I am not a Access security guru. ;-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 2:59 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Password on the Backend I found the answer on-line. Relink the tables, then Access 'knows' the password. Too simple. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Friday, May 29, 2009 2:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Password on the Backend Rocky, instead of putting a password on the backend, why not use Access User level security? If you use the same .mdw for the front and back end, when a use logs into the FrontEnd with a valid Username and Password, Access will automatically use those credentials on the backend. Just a thought.... Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Friday, May 29, 2009 3:19 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Password on the Backend Dear List: I put a password on the back end and prompt for it in a pop-up in the opening form. However, now when I click a command button to open another form I get an 'invalid password' error. It doesn't look like the _Open event of the called form is executing. But the form is bound to tables linked to the back end. Does the OpenForm need a password parameter? Or what am I missing here? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sun May 31 15:48:36 2009 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Sun, 31 May 2009 13:48:36 -0700 Subject: [AccessD] Bar Codes Message-ID: <7AF0460C454D472AB7D6E6AC37A4AB5F@HAL9005> Dear List: I have a client who wants to print bar coded labels. A bit of Googling reveals a lot of different bar code schemes. Is there a preferred bar code symbology? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From stuart at lexacorp.com.pg Sun May 31 18:07:32 2009 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 01 Jun 2009 09:07:32 +1000 Subject: [AccessD] Bar Codes In-Reply-To: <7AF0460C454D472AB7D6E6AC37A4AB5F@HAL9005> References: <7AF0460C454D472AB7D6E6AC37A4AB5F@HAL9005> Message-ID: <4A230DB4.24185.2FCA043@stuart.lexacorp.com.pg> Depends on what you want them for. If it is for in-house use (stock control etc) then Code3of9 is by far the simplest to use - just surround your number or text with asterisks and print them using a Code3of9 font - there are a stack of freeware Code3of9 fonts available. See http://www.idautomation.com/code39faq.html for details of this schema. If you have to use something more complex like UPC/EAN/POSTNET etc for a specific purpose, you have to do a lot of work to convert text/numbers to bar codes. On 31 May 2009 at 13:48, Rocky Smolin wrote: > Dear List: > > I have a client who wants to print bar coded labels. A bit of Googling > reveals a lot of different bar code schemes. Is there a preferred bar code > symbology? > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > From tony.yeatman at hsbcib.com Sun May 31 18:18:01 2009 From: tony.yeatman at hsbcib.com (tony.yeatman at hsbcib.com) Date: Mon, 1 Jun 2009 00:18:01 +0100 Subject: [AccessD] Tony YEATMAN is out of the office. Message-ID: I will be out of the office starting 01/06/2009 and will not return until 08/06/2009. I will respond to your message when I return. ----------------------------------------- SAVE PAPER - THINK BEFORE YOU PRINT! This transmission has been issued by a member of the HSBC Group "HSBC" for the information of the addressee only and should not be reproduced and/or distributed to any other person. Each page attached hereto must be read in conjunction with any disclaimer which forms part of it. Unless otherwise stated, this transmission is neither an offer nor the solicitation of an offer to sell or purchase any investment. Its contents are based on information obtained from sources believed to be reliable but HSBC makes no representation and accepts no responsibility or liability as to its completeness or accuracy. From jwcolby at colbyconsulting.com Sun May 31 21:39:19 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 31 May 2009 22:39:19 -0400 Subject: [AccessD] Bar Codes In-Reply-To: <7AF0460C454D472AB7D6E6AC37A4AB5F@HAL9005> References: <7AF0460C454D472AB7D6E6AC37A4AB5F@HAL9005> Message-ID: <4A233F57.8020900@colbyconsulting.com> They all exist for a reason. You have to know what he wants to do and from there which to pick. John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > Dear List: > > I have a client who wants to print bar coded labels. A bit of Googling > reveals a lot of different bar code schemes. Is there a preferred bar code > symbology? > > MTIA > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > From jwcolby at colbyconsulting.com Sun May 31 22:07:12 2009 From: jwcolby at colbyconsulting.com (jwcolby) Date: Sun, 31 May 2009 23:07:12 -0400 Subject: [AccessD] What a mess (otherwise knbown as "who owns things") Message-ID: <4A2345E0.2000308@colbyconsulting.com> I rebuilt a server from C:\ format on up. New Windows Server 2003 X64, New SQL Server 2005 etc. Now the current administrator (apparently) does not own the files on the raid arrays which of course survive quite nicely. When I tried to attach a database it gave me an "insufficient rights" kind of error which I Googled and that tells me that I do not own the files. I took ownership which worked (I can now attach), but then I tried to attach and it said it couldn't because the files were read only. Only it DID the attach, and now I have a database in read only mode, which I cannot detach because... it is read only. Sigh. So... this invites MANY questions... 1) How do I take ownership of a disk drive on down and all the files on that disk drive? 2) Why are the files read only? 3) Now that I have one of the databases mounted (read only) how do I detach it so that I can make it read / write and reattach it? Or how do I make it non-readonly? 4)Why did all of this happen? 5) Is there an easy way to prevent all this in the future? I have a second server which I will be rebuilding when new parts get here mid week. New motherboard / processor and 5 new terabyte drives for the server I rebuilt this weekend and 5 new drives for the one to be rebuilt next. Obviously if there is something I can do in advance to prevent this mess I am all for that. In fact the new motherboard is the same motherboard as I have in the current rebuild, and my plan is to clone the boot drive and just use that clone in the new system. I have gone to much trouble to get all the multitude of software installed etc so when I am done I HOPE to end up with two literally identical machines, other than the second machine having some additional storage (and a next generation processor). Any words of wisdom out there? -- John W. Colby www.ColbyConsulting.com